/* GridShield 服务页（设计基准 1920 宽，甲方原型 Gridshield.png）。
   沿用全站 Manrope / 主绿 / section-heading / btn，页头与 EMS 同一深色底；只为本页版式新增 gs- 前缀样式。
   下载登录框复用 ems.css 的 .ems-login-prompt，这里给它补上 --ems-* 变量。 */

.gs {
    --gs-dark: #0D1612;
    --gs-title: #1A1C17;
    --gs-text: #4F5550;
    --gs-muted: #7A817B;
    --gs-line: #E5E8E2;
    --gs-tint: #F6F8F4;
    --gs-grey: #F7F7F5;
    --gs-green-soft: #EEF4E9;
    --gs-slate: #8A99AE;
    --ems-title: var(--gs-title);
    --ems-text: var(--gs-text);
}

.gs .site-container { max-width: 1600px; }
.gs .gs-narrow { max-width: 1440px; }

/* ---------------------------------------------------------- 通用 */
.gs-section { padding: 112px 0; background: #fff; }
.gs-section--tint { background: var(--gs-tint); }
.gs-section--grey { background: var(--gs-grey); }

.gs-heading h2 { font-size: 42px; font-weight: 700; letter-spacing: -.01em; }
.gs-heading p { max-width: 1040px; font-size: 16px; }
.gs-heading p + p { margin-top: 2px; }
.gs-heading--wide p { max-width: 1400px; }
.gs-heading--split h2 { max-width: 11em; margin-left: auto; margin-right: auto; }
.gs-heading--plain { text-align: center; }
.gs-heading--plain h2 { margin: 0 0 16px; line-height: 1.2; color: var(--gs-title); }
.gs-heading--plain p { margin: 0 auto; line-height: 1.7; color: var(--gs-muted); }

/* ---------------------------------------------------------- Hero */
.gs-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(42% 62% at 52% 84%, rgba(92, 148, 52, .14), transparent 72%),
        var(--gs-dark);
}

.gs-hero__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    max-width: 1920px;
    min-height: clamp(600px, 43.75vw, 840px);
    margin: 0 auto;
    padding: 72px 6.3vw 72px;
}

.gs-hero__text { position: relative; z-index: 1; max-width: 720px; }

.gs-hero__eyebrow {
    margin: 0 0 28px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #6FA34A;
}

.gs-hero__title {
    margin: 0 0 32px;
    font-size: clamp(48px, 3.75vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.015em;
    color: #fff;
}

.gs-hero__slogan {
    margin: 0 0 40px;
    font-size: clamp(22px, 1.46vw, 28px);
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

.gs-hero__lead {
    margin: 0 0 40px;
    font-size: 16px;
    line-height: 1.6;
    color: #C9CEC9;
}

.gs-hero__cta { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.gs-hero__cta .btn { border-radius: 2px; }

.gs-hero__note {
    margin: 64px 0 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8A918B;
}

.gs-hero__art {
    flex: none;
    width: min(26vw, 480px);
    margin-right: 6vw;
}
.gs-hero__art img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
}

/* ---------------------------------------------------------- 价值 */
.gs-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.gs-value {
    padding: 28px 28px 32px;
    background: #FAFAFA;
    border: 1px solid #ECEEEA;
    border-radius: 6px;
}
.gs-value__no { display: block; margin-bottom: 14px; font-size: 24px; font-weight: 700; color: var(--bess-green); }
.gs-value h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; color: var(--gs-title); }
.gs-value p { margin: 0; max-width: 360px; font-size: 14px; line-height: 1.55; color: var(--gs-muted); }

/* ---------------------------------------------------------- 适用场景 */
.gs-sites {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: center;
}

.gs-sites__intro::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-bottom: 64px;
    background: var(--bess-green);
}
.gs-sites__intro h2 {
    margin: 0 0 48px;
    max-width: 9em;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--gs-title);
}
.gs-sites__intro p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gs-text); }

.gs-sites__list { list-style: none; margin: 0; padding: 0; }
.gs-sites__list li {
    display: flex;
    gap: 44px;
    align-items: baseline;
    padding: 22px 0;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gs-title);
    border-bottom: 1px solid var(--gs-line);
}
.gs-sites__list li:last-child { border-bottom: 0; }
.gs-sites__list span { flex: none; width: 24px; font-size: 18px; font-weight: 700; color: var(--bess-green); }

.gs-partners { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--gs-line); max-width: 1200px; }
.gs-partners__row { display: flex; flex-wrap: wrap; gap: 8px 80px; align-items: baseline; }
.gs-partners__label {
    flex: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--gs-text);
}
.gs-partners__row strong { font-size: 16px; font-weight: 600; color: var(--gs-title); }
.gs-partners__note { margin: 20px 0 0; font-size: 14px; color: var(--gs-muted); }

/* ---------------------------------------------------------- 工作原理 */
.gs-diagram { margin: 56px auto 0; max-width: 1150px; }
.gs-diagram > img { display: block; width: 100%; height: auto; }
.gs-diagram__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gs-diagram svg { display: block; width: 100%; min-width: 720px; height: auto; font-family: var(--bess-font); }
.gs-diagram__zone { fill: var(--gs-tint); }
.gs-diagram__zone-label { font-size: 18px; fill: var(--gs-text); }
.gs-diagram__flow line,
.gs-diagram__flow polyline { fill: none; stroke: #3A7F86; stroke-width: 3; }
.gs-diagram__flow--dashed line,
.gs-diagram__flow--dashed polyline { stroke-width: 2.2; stroke-dasharray: 8 6; }
.gs-diagram__node rect { fill: #fff; stroke: #D3DCD7; stroke-width: 2; }
.gs-diagram__node text {
    font-size: 21px;
    font-weight: 700;
    fill: #1F2E30;
    text-anchor: middle;
    dominant-baseline: central;
}
.gs-diagram__node--ars rect { fill: #DCE5C6; stroke: #C6D1BC; }
.gs-diagram__node--ars text { font-size: 25px; font-weight: 500; }
.gs-diagram__note { font-size: 18px; fill: var(--gs-text); dominant-baseline: central; }
.gs-diagram figcaption { margin-top: 56px; text-align: center; font-size: 16px; color: var(--gs-title); }

/* ---------------------------------------------------------- 参考硬件 */
.gs-hardware {
    display: grid;
    grid-template-columns: minmax(0, 575px) minmax(0, 1fr);
    gap: 9%;
    align-items: center;
}

.gs-hardware__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fff;
    border: 1px solid var(--gs-line);
    border-radius: 16px;
}
.gs-hardware__media img { display: block; width: auto; max-width: 100%; max-height: 500px; }

.gs-hardware__body::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-bottom: 36px;
    background: var(--bess-green);
}
.gs-hardware__title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 36px; }
.gs-hardware__title h2 { margin: 0; font-size: 44px; font-weight: 700; letter-spacing: -.01em; color: var(--gs-title); }

.gs-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #4C7C2C;
    background: var(--gs-green-soft);
    border: 1px solid #CFE0C0;
    border-radius: 4px;
}

.gs-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gs-feature {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--gs-line);
    border-radius: 8px;
}
.gs-feature strong { display: block; margin-bottom: 8px; font-size: 18px; font-weight: 600; color: var(--gs-title); }
.gs-feature span { font-size: 16px; color: var(--gs-muted); }

.gs-hardware__note { margin: 28px 0 32px; font-size: 16px; line-height: 1.6; color: #9AA09B; }
.gs-hardware .btn { border-radius: 6px; }

/* ---------------------------------------------------------- 交付流程 */
.gs-steps { list-style: none; margin: 72px 0 0; padding: 0; }
.gs-step {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    padding: 44px 0;
    border-bottom: 1px solid #EEF0F3;
}
.gs-step:first-child { padding-top: 0; }
.gs-step:last-child { border-bottom: 0; }
.gs-step__no {
    align-self: start;
    width: 116px;
    font-size: 56px;
    font-weight: 300;
    line-height: 1;
    color: var(--gs-slate);
    border-right: 1px solid var(--gs-line);
}
.gs-step h3 { margin: 6px 0 12px; font-size: 23px; font-weight: 700; color: var(--gs-title); }
.gs-step p { margin: 0; font-size: 17px; line-height: 1.8; color: #5F6B7A; }

/* ---------------------------------------------------------- 工程适配 */
.gs-project p { max-width: 1500px; font-size: 18px; line-height: 1.75; }
.gs-project p.gs-project__note { margin-top: 64px; font-size: 15px; color: var(--gs-muted); }

/* ---------------------------------------------------------- 案例 */
.gs-case h2 { margin-bottom: 12px; }
.gs-case__tag {
    display: block;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--bess-green);
}
.gs-case p { max-width: 1260px; font-size: 16px; color: var(--gs-muted); }

.gs-table {
    width: 100%;
    margin-top: 64px;
    border-collapse: collapse;
    font-size: 19px;
    text-align: left;
}
.gs-table th,
.gs-table td { width: 50%; padding: 22px 0; border-bottom: 1px solid var(--gs-line); vertical-align: top; }
.gs-table thead th { padding-top: 0; font-size: 20px; font-weight: 600; color: var(--gs-title); }
.gs-table tbody th { font-weight: 500; color: #2B2F2A; }
.gs-table tbody td { color: var(--gs-text); }
.gs-table tbody tr:last-child th,
.gs-table tbody tr:last-child td { border-bottom: 0; }

.gs-result {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    align-items: center;
    margin-top: 80px;
    padding: 56px 72px;
    border: 1px solid var(--gs-line);
    border-radius: 24px;
}
.gs-result__value { font-size: 80px; font-weight: 800; line-height: 1; color: var(--bess-green); }
.gs-result__text { padding-left: 40px; border-left: 1px solid var(--gs-line); }
.gs-result__text h3 { margin: 0 0 10px; font-size: 26px; font-weight: 700; color: var(--gs-title); }
.gs-result__text p { margin: 0; font-size: 19px; line-height: 1.7; color: var(--gs-text); }

/* ---------------------------------------------------------- 电表读数 */
.gs-register {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    max-width: 1270px;
    margin: 64px auto 0;
}
.gs-register__item { margin: 0; }
.gs-register__date {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #3D4440;
}
.gs-register__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gs-register__value { display: block; margin-top: 16px; font-size: 40px; font-weight: 800; color: var(--gs-title); }
.gs-register__arrow { display: inline-flex; color: var(--bess-green); }

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
    .gs-section { padding: 88px 0; }
    .gs-hero__art { margin-right: 0; }
    .gs-sites { grid-template-columns: 1fr; gap: 32px; }
    .gs-sites__intro::before { margin-bottom: 32px; }
    .gs-sites__intro h2 { margin-bottom: 20px; max-width: none; }
    .gs-hardware { grid-template-columns: 1fr; gap: 48px; }
    .gs-hardware__media { max-width: 575px; }
    .gs-step { grid-template-columns: 150px minmax(0, 1fr); }
    .gs-step__no { width: 96px; font-size: 46px; }
    .gs-result { grid-template-columns: 1fr; gap: 24px; padding: 40px; }
    .gs-result__text { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--gs-line); }
}

@media (max-width: 900px) {
    .gs-hero__inner { flex-direction: column; align-items: flex-start; padding: 56px 24px 64px; }
    .gs-hero__art { width: min(60vw, 320px); align-self: center; }
    .gs-values { grid-template-columns: 1fr; }
    .gs-value p { max-width: none; }
}

@media (max-width: 640px) {
    .gs-section { padding: 64px 0; }
    .gs-heading h2,
    .gs-sites__intro h2,
    .gs-hardware__title h2 { font-size: 28px; }
    .gs-hero__note { margin-top: 40px; }
    .gs-hero__cta { gap: 16px; }
    .gs-hero__cta .btn { width: 100%; }
    .gs-sites__list li { gap: 20px; font-size: 17px; }
    .gs-partners__row { gap: 8px; }
    .gs-features { grid-template-columns: 1fr; }
    .gs-hardware__media { padding: 24px; }
    .gs-steps { margin-top: 40px; }
    .gs-step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
    .gs-step__no { width: auto; font-size: 36px; border-right: 0; }
    .gs-project p { font-size: 16px; }
    .gs-project p.gs-project__note { margin-top: 32px; }
    .gs-table { font-size: 15px; margin-top: 40px; }
    .gs-table thead th { font-size: 16px; }
    .gs-table th,
    .gs-table td { padding: 16px 12px 16px 0; }
    .gs-result { margin-top: 48px; padding: 32px 24px; }
    .gs-result__value { font-size: 56px; }
    .gs-result__text h3 { font-size: 20px; }
    .gs-result__text p { font-size: 16px; }
    .gs-register { grid-template-columns: 1fr; gap: 32px; }
    .gs-register__arrow { justify-self: center; transform: rotate(90deg); }
    .gs-register__value { font-size: 30px; }
}
