:root {
    color-scheme: light dark;
    --bg: #f3f6f8;
    --surface: #ffffff;
    --surface-alt: #e8eef2;
    --text: #18242d;
    --muted: #5f707a;
    --line: #d8e1e6;
    --accent: #146c75;
    --accent-strong: #0b4f57;
    --accent-soft: #dceff0;
    --radius: 12px;
    --shadow: 0 20px 60px rgba(24, 36, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding-bottom: 62px;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
}

body[data-site="t1"] {
    --accent: #2c7352;
    --accent-strong: #1e553d;
    --accent-soft: #e1eee5;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 30; padding: 8px 12px; background: var(--surface); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid color-mix(in srgb, var(--line), transparent 20%);
    background: color-mix(in srgb, var(--bg), transparent 8%);
    backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 800; }
.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { max-width: 390px; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.brand-copy small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: var(--accent-strong); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.menu-toggle, .cart-button, .btn, .icon-button { border: 1px solid transparent; border-radius: 999px; cursor: pointer; }
.menu-toggle { display: none; padding: 8px 11px; background: transparent; border-color: var(--line); color: var(--text); }
.cart-button { padding: 10px 15px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 750; }
.cart-button span { display: inline-grid; min-width: 20px; height: 20px; margin-left: 5px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.2); font-size: 11px; }
.btn { min-height: 44px; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-secondary { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-strong); }

.hero { min-height: 0; padding: clamp(66px, 9vh, 100px) 0 84px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); align-items: start; gap: clamp(42px, 7vw, 100px); }
.eyebrow { margin: 0 0 15px; color: var(--accent-strong); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(40px, 4.8vw, 62px); line-height: 1.08; letter-spacing: -.02em; }
.hero-lead { max-width: 580px; margin: 22px 0 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }
.hero-list { margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 28px; list-style: none; color: var(--muted); font-size: 13px; }
.hero-list li { padding-top: 10px; border-top: 1px solid var(--line); }
.hero-list strong { display: block; margin-bottom: 2px; color: var(--text); font-size: 14px; }
.hero-media { margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; display: block; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.hero-media figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; }

.trust-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { min-height: 104px; padding: 23px 28px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: 0; }
.trust-item span { display: block; color: var(--muted); font-size: 12px; }
.trust-item strong { display: block; margin-top: 4px; font-size: 16px; }

.section { padding: clamp(74px, 10vw, 130px) 0; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(31px, 4vw, 52px); line-height: 1.1; }
.section-heading p { max-width: 64ch; margin: 15px 0 0; color: var(--muted); }
.split-copy { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(40px, 8vw, 120px); }
.split-copy h2 { margin: 0; font-size: clamp(31px, 4vw, 52px); line-height: 1.1; }
.split-copy > div > p { margin: 18px 0 0; color: var(--muted); }
.capability-list { margin: 0; padding: 0; list-style: none; }
.capability-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.capability-list li:last-child { border-bottom: 1px solid var(--line); }
.capability-list b { color: var(--accent-strong); font-size: 13px; }
.capability-list h3 { margin: 0; font-size: 19px; }
.capability-list p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.market { background: var(--surface-alt); }
.market-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.product { min-height: 260px; padding: 27px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.product:nth-child(2) { background: var(--accent-soft); }
.product:nth-child(3), .product:nth-child(4) { min-height: 220px; }
.product-type { color: var(--accent-strong); font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.product h3 { margin: 13px 0 0; font-size: 25px; line-height: 1.2; }
.product p { max-width: 45ch; margin: 11px 0 20px; color: var(--muted); font-size: 14px; }
.product-bottom { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.price { font-size: 24px; font-weight: 850; }
.price small { color: var(--muted); font-size: 12px; font-weight: 500; }
.add-button { min-width: 100px; }

.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow-step { padding-top: 17px; border-top: 3px solid var(--accent); }
.flow-step strong { display: block; color: var(--accent-strong); font-size: 12px; }
.flow-step h3 { margin: 8px 0 0; font-size: 19px; }
.flow-step p { margin: 7px 0 0; color: var(--muted); font-size: 14px; }

.company-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(38px, 7vw, 100px); align-items: start; }
.company-layout h2 { margin: 0; font-size: clamp(31px, 4vw, 52px); line-height: 1.1; }
.company-layout .intro { margin: 18px 0 0; color: var(--muted); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.fact { min-height: 106px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact span { display: block; color: var(--muted); font-size: 12px; }
.fact strong { display: block; margin-top: 7px; font-size: 15px; overflow-wrap: anywhere; }
.scope { margin-top: 18px; padding: 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); }
.scope h3 { margin: 0 0 7px; font-size: 17px; }
.scope p { margin: 0; color: var(--muted); font-size: 14px; }

.service-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(38px, 7vw, 100px); }
.service-layout h2 { margin: 0; font-size: clamp(31px, 4vw, 52px); line-height: 1.1; }
.service-layout > div > p { margin: 18px 0 0; color: var(--muted); }
.faq details { padding: 19px 0; border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.contact-band { padding: 35px 0; background: var(--accent); color: #fff; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.contact-inner h2 { margin: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; }
.contact-inner p { margin: 7px 0 0; color: rgba(255,255,255,.82); font-size: 14px; }
.contact-inner .btn-secondary { border-color: rgba(255,255,255,.5); background: transparent; color: #fff; }
.site-footer { padding: 44px 0 86px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; }
.site-footer h2 { margin: 0; font-size: 17px; }
.site-footer p { max-width: 620px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; align-items: start; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--accent-strong); }
.compliance-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 15; min-height: 52px; background: color-mix(in srgb, var(--text), transparent 5%); color: #fff; }
.compliance-inner { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 12px; text-align: center; }
.compliance-inner a { color: #fff; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }

dialog { width: min(560px, calc(100% - 28px)); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(14, 24, 30, .58); }
.dialog-head { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 21px; }
.icon-button { width: 34px; height: 34px; background: var(--surface-alt); color: var(--text); }
.dialog-body { padding: 20px; }
.cart-empty { color: var(--muted); }
.cart-line { padding: 12px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; border-bottom: 1px solid var(--line); }
.cart-line strong { display: block; font-size: 14px; }
.cart-line small { color: var(--muted); }
.cart-controls { display: flex; align-items: center; gap: 7px; }
.cart-controls button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); cursor: pointer; }
.cart-total { margin-top: 17px; display: flex; justify-content: space-between; font-weight: 850; }
.inquiry-box { margin-top: 18px; padding: 13px; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 8px; background: var(--surface-alt); color: var(--text); font: 12px/1.6 Consolas, monospace; }
.dialog-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 9px; }
.toast { position: fixed; right: 20px; bottom: 72px; z-index: 25; max-width: min(360px, calc(100% - 40px)); padding: 11px 15px; border-radius: 8px; background: var(--text); color: var(--surface); box-shadow: var(--shadow); font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent), transparent 25%); outline-offset: 3px; }

@media (prefers-color-scheme: dark) {
    :root { --bg: #142027; --surface: #1b2a32; --surface-alt: #1a3037; --text: #edf5f6; --muted: #a9bbc0; --line: #31464e; --accent-soft: #1d4144; --shadow: 0 20px 60px rgba(0,0,0,.24); }
    .site-header { background: color-mix(in srgb, var(--bg), transparent 8%); }
    .compliance-bar { background: #0c171c; }
}

@media (max-width: 900px) {
    .nav { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
    .nav-links { display: none; position: absolute; top: 72px; right: 22px; left: 22px; padding: 13px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 11px 10px; }
    .menu-toggle { display: inline-block; }
    .hero { min-height: 0; grid-template-columns: 1fr; padding: 60px 0 76px; }
    .hero-media { max-width: 700px; }
    .trust-grid, .market-grid, .company-layout, .service-layout { grid-template-columns: 1fr; }
    .trust-item, .trust-item:first-child { min-height: 86px; padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .trust-item:last-child { border-bottom: 0; }
    .split-copy { grid-template-columns: 1fr; gap: 34px; }
    .flow-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
    .brand-copy strong { max-width: 280px; font-size: 12px; }
}

@media (max-width: 560px) {
    .shell { width: calc(100% - 28px); }
    .nav { gap: 8px; }
    .brand { gap: 0; }
    .brand-mark { display: none; }
    .brand-copy strong { max-width: 148px; font-size: 11px; line-height: 1.35; }
    .brand-copy small { display: none; }
    .nav-actions { gap: 5px; }
    .menu-toggle { padding: 7px 9px; font-size: 12px; }
    .cart-button { padding: 8px 10px; font-size: 12px; }
    .hero h1 { font-size: clamp(38px, 12vw, 58px); }
    .hero-list, .facts, .flow-grid { grid-template-columns: 1fr; }
    .product { min-height: 238px; }
    .contact-inner { align-items: start; flex-direction: column; }
    .compliance-inner { min-height: 64px; flex-direction: column; gap: 0; padding: 7px 0; line-height: 1.55; }
    .compliance-inner span, .compliance-inner a { max-width: 100%; overflow-wrap: anywhere; }
    body { padding-bottom: 74px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
