:root {
  --blue: #1e5aa8;
  --bright-blue: #4da0e6;
  --orange: #f39c12;
  --deep: #17345e;
  --gray: #666666;
  --soft: #f2f4f7;
  --line: #dbe5f1;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(30, 90, 168, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--deep);
  background: #fbfcff;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 26px;
  width: 100%;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(30, 90, 168, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: clamp(172px, 22vw, 300px);
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-left: auto;
  color: var(--gray);
  font-size: 15px;
  white-space: nowrap;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.call-button,
.primary-action,
.secondary-action,
.mobile-contact-bar a,
.mobile-contact-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.call-button,
.primary-action {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(243, 156, 18, 0.25);
}

.call-button {
  gap: 8px;
  padding: 0 18px;
}

.icon-phone {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 5px 5px 8px 8px;
  transform: rotate(-18deg);
}

.section,
.section-band {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-band {
  width: 100%;
  padding-right: max(18px, calc((100vw - 1160px) / 2));
  padding-left: max(18px, calc((100vw - 1160px) / 2));
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 76px);
  max-height: 820px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 16px;
  color: #365477;
  font-size: clamp(17px, 2vw, 22px);
}

.slogan {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 800;
}

.slogan::before,
.slogan::after {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.primary-action,
.secondary-action {
  padding: 0 24px;
}

.secondary-action {
  border: 1px solid rgba(30, 90, 168, 0.22);
  color: var(--blue);
  background: var(--white);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 12px;
  max-width: 660px;
}

.trust-row span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 520px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: -14%;
  bottom: 7%;
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(77, 160, 230, 0.14);
}

.hero-visual::after {
  content: "";
  position: absolute;
  right: 2%;
  top: 22%;
  width: 54px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(77, 160, 230, 0.16);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(30, 90, 168, 0.16));
}

.vertical-note {
  position: absolute;
  right: 0;
  top: 60px;
  z-index: 3;
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.55;
  writing-mode: vertical-rl;
}

.roundel {
  position: absolute;
  right: 2px;
  top: 312px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid #d32222;
  border-radius: 50%;
  color: #d32222;
  background: var(--white);
  font-weight: 900;
  line-height: 1.1;
  transform: rotate(-4deg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.section-heading p:last-child,
.about-copy p {
  color: var(--gray);
  font-size: 17px;
}

.service-grid,
.scene-grid,
.monitor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

.service-card,
.scene-grid article,
.monitor-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(30, 90, 168, 0.06);
}

.service-card h3,
.scene-grid h3,
.monitor-card h3 {
  margin-bottom: 10px;
  color: var(--deep);
  font-size: 21px;
}

.service-card p,
.scene-grid p,
.monitor-card p {
  color: var(--gray);
}

.service-icon {
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--blue);
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.icon-appliance {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 5h24a4 4 0 0 1 4 4v30a4 4 0 0 1-4 4H12a4 4 0 0 1-4-4V9a4 4 0 0 1 4-4Zm3 8v14h18V13H15Zm1 23h16v-4H16v4Zm22-18h-3v4h3v-4Z'/%3E%3C/svg%3E");
}

.icon-camera {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 16a4 4 0 0 1 4-4h21a4 4 0 0 1 4 4v3l8-4v18l-8-4v3a4 4 0 0 1-4 4H9a4 4 0 0 1-4-4V16Zm9 4a5 5 0 1 0 0 10 5 5 0 0 0 0-10Z'/%3E%3C/svg%3E");
}

.icon-tools {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m35 5 8 8-8 8-4-4-9 9 4 4-14 14-8-8 14-14 4 4 9-9-4-4 8-8ZM10 6l10 10-4 4L6 10V6h4Zm28 26 5 5v5h-5L28 32l4-4 6 4Z'/%3E%3C/svg%3E");
}

.icon-home {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 23 24 7l19 16-4 5-3-3v16H12V25l-3 3-4-5Zm15 14h8V25h-8v12Z'/%3E%3C/svg%3E");
}

.monitor-types {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.monitor-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
}

.monitor-card.featured {
  border-color: rgba(30, 90, 168, 0.28);
  box-shadow: 0 18px 40px rgba(30, 90, 168, 0.1);
}

.monitor-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.monitor-card h3 {
  margin-bottom: 0;
}

.monitor-card p {
  margin-bottom: 0;
}

.fit-scenes {
  padding: 12px 14px;
  border-radius: 8px;
  color: #355879;
  background: rgba(77, 160, 230, 0.12);
  font-weight: 700;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid rgba(30, 90, 168, 0.18);
  border-radius: 999px;
  color: var(--blue);
  background: #f8fbff;
  font-size: 13px;
  font-weight: 800;
  white-space: normal;
}

.monitor-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(30, 90, 168, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #eaf4ff 0%, #ffffff 100%);
  box-shadow: 0 12px 30px rgba(30, 90, 168, 0.06);
}

.monitor-flow span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 10px 18px;
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.monitor-flow span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--orange);
  border-right: 3px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
}

.monitor-flow span::before {
  content: counter(flow);
  counter-increment: flow;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-size: 13px;
  line-height: 1;
}

.monitor-flow {
  counter-reset: flow;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.why-list div {
  min-height: 170px;
  padding: 26px;
  background: var(--white);
}

.why-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 22px;
}

.why-list span {
  color: var(--gray);
}

.scene-grid article {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 24px;
}

.scene-grid article::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: rgba(77, 160, 230, 0.14);
}

.scene-grid span {
  display: inline-flex;
  align-self: flex-start;
  margin: 12px 24px 8px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.scene-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.scene-grid h3,
.scene-grid p {
  margin-right: 24px;
  margin-left: 24px;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-copy p {
  max-width: 720px;
  margin-bottom: 16px;
}

.about-card {
  display: grid;
  gap: 14px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-card strong {
  color: var(--blue);
  font-size: 30px;
}

.about-card span {
  color: var(--gray);
  font-size: 18px;
}

.about-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
}

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

.contact-item {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--gray);
  font-size: 15px;
}

.contact-item a,
.copy-wechat strong {
  color: var(--blue);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.15;
}

.contact-item p {
  margin: 0;
  color: var(--deep);
  font-size: 20px;
  font-weight: 800;
}

.copy-wechat {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.copy-wechat small {
  color: var(--orange);
  font-weight: 800;
}

.wechat-box {
  display: grid;
  align-content: start;
  justify-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 12px 30px rgba(30, 90, 168, 0.06);
}

.wechat-box img {
  width: min(100%, 260px);
  height: auto;
  margin-bottom: 16px;
  border-radius: 8px;
}

.wechat-box strong {
  color: var(--blue);
  font-size: 22px;
}

.wechat-box span,
.wechat-box p {
  color: var(--gray);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.88);
  background: var(--blue);
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

.mobile-contact-bar {
  display: none;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .site-header {
    gap: 12px;
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand img {
    width: min(48vw, 210px);
  }

  .call-button {
    margin-left: auto;
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero,
  .about,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    max-height: none;
    padding-top: 34px;
    padding-bottom: 50px;
  }

  .hero-visual {
    min-height: 430px;
    order: 2;
  }

  .hero-visual img {
    width: min(92%, 360px);
  }

  .vertical-note {
    right: 8px;
    top: 24px;
    font-size: 20px;
  }

  .roundel {
    right: 8px;
    top: 230px;
    width: 58px;
    height: 58px;
    font-size: 14px;
  }

  .service-grid,
  .why-list,
  .monitor-grid,
  .scene-grid,
  .contact-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
  }

  .section,
  .section-band {
    width: min(100% - 28px, 1160px);
    padding: 48px 0;
  }

  .section-band {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .slogan {
    display: flex;
    font-size: 18px;
  }

  .slogan::before,
  .slogan::after {
    width: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .trust-row,
  .why-list,
  .monitor-grid,
  .monitor-flow,
  .scene-grid,
  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .trust-row span,
  .scene-grid article,
  .why-list div,
  .contact-item {
    min-height: auto;
  }

  .service-card {
    min-height: 176px;
    padding: 16px 14px;
  }

  .service-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .service-card p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .monitor-card {
    padding: 22px;
  }

  .monitor-card h3 {
    font-size: 20px;
  }

  .monitor-card p {
    font-size: 15px;
  }

  .tag-list {
    gap: 7px;
  }

  .monitor-flow {
    grid-template-columns: repeat(5, minmax(108px, 1fr));
    gap: 0;
    overflow-x: auto;
    padding: 16px 14px;
    scrollbar-width: none;
  }

  .monitor-flow::-webkit-scrollbar {
    display: none;
  }

  .monitor-flow span {
    min-height: 80px;
    padding: 8px 16px;
    font-size: 14px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-visual img {
    width: min(98%, 330px);
  }

  .vertical-note {
    display: none;
  }

  .roundel {
    top: 18px;
  }

  .contact-item a,
  .copy-wechat strong {
    font-size: 28px;
  }

  .wechat-box {
    padding: 22px;
  }

  .site-footer {
    display: block;
    padding-bottom: 30px;
    text-align: center;
  }

  .site-footer a {
    display: block;
    margin-top: 8px;
  }

  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(30, 90, 168, 0.14);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 28px rgba(30, 90, 168, 0.12);
  }

  .mobile-contact-bar a,
  .mobile-contact-bar button {
    min-width: 0;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 8px;
    color: var(--white);
    background: var(--blue);
    font-size: 14px;
  }

  .mobile-contact-bar a:first-child {
    background: var(--orange);
  }
}
