/* ==========================================================================
   Yueda Valve — valve.cnguoke.cn
   Тёмная индустриальная тема, адаптивная вёрстка, без внешних зависимостей.
   ========================================================================== */

:root {
    --ink: #070b14;
    --ink-2: #0c1322;
    --panel: #101a2e;
    --panel-2: #16213a;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .18);
    --text: #e9eef8;
    --muted: #98a6bd;
    --accent: #f5a524;
    --accent-2: #ffc964;
    --teal: #16c79a;
    --danger: #ff6b6b;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 18px 44px rgba(0, 0, 0, .45);
    --container: 1200px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
        "Noto Sans", "Liberation Sans", "PT Sans", "Roboto", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .22s ease, opacity .22s ease;
}

a:hover { color: var(--accent-2); }

h1, h2, h3, h4 {
    margin: 0 0 .6em;
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); }
p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 12px 18px;
    background: var(--accent);
    color: #101010;
    font-weight: 700;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

/* ---------------------------------------------------------------- layout -- */

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 22px;
}

.section {
    padding: clamp(56px, 8vw, 104px) 0;
    position: relative;
}

.section-alt {
    background:
        radial-gradient(900px 420px at 12% 0%, rgba(22, 199, 154, .07), transparent 62%),
        var(--ink-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    max-width: 820px;
    margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

.lead {
    font-size: 1.12rem;
    color: #c9d5e8;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 22px;
}

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

/* --------------------------------------------------------------- buttons -- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    transition: transform .2s ease, box-shadow .22s ease, background-color .22s ease,
        color .22s ease, border-color .22s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #e8912a);
    color: #14100a;
    box-shadow: 0 12px 30px rgba(245, 165, 36, .26);
}

.btn-primary:hover {
    color: #0b0803;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(245, 165, 36, .34);
}

.btn-outline {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border-color: var(--line);
}

.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-lg { padding: 16px 34px; font-size: 1.03rem; }
.btn-block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

/* ---------------------------------------------------------------- header -- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(7, 11, 20, .82);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background-color .25s ease, border-color .25s ease;
}

.site-header.is-stuck {
    background: rgba(7, 11, 20, .96);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 700;
    letter-spacing: .02em;
    flex-shrink: 0;
}

.brand:hover { color: var(--text); }

.brand img { width: 40px; height: auto; }

.brand-name { font-size: 1.08rem; line-height: 1.15; }

.brand-name span {
    display: block;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    position: relative;
    padding: 10px 14px;
    border-radius: 8px;
    color: #c6d2e4;
    font-size: .94rem;
    font-weight: 600;
}

.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.nav-link.is-active { color: var(--accent); }

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 3px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 2px;
    transition: transform .22s ease, opacity .22s ease;
}

.nav-toggle span { position: relative; }

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ hero -- */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(7, 11, 20, .96) 0%, rgba(7, 11, 20, .86) 44%, rgba(7, 11, 20, .55) 100%),
        radial-gradient(700px 340px at 82% 24%, rgba(245, 165, 36, .16), transparent 70%);
}

.hero-main { padding: clamp(76px, 11vw, 148px) 0 clamp(64px, 8vw, 118px); }

.hero-inner { max-width: 760px; }

.hero-title { margin-bottom: .5em; }

.hero-title em {
    font-style: normal;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: #c5d2e6;
    max-width: 640px;
}

.hero-actions { margin-top: 30px; }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: .88rem;
    color: var(--muted);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-meta span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

/* ------------------------------------------------------------- page hero -- */

.page-hero {
    position: relative;
    padding: clamp(46px, 6.4vw, 84px) 0 clamp(34px, 4.4vw, 58px);
    background:
        radial-gradient(760px 340px at 15% 0%, rgba(245, 165, 36, .11), transparent 66%),
        linear-gradient(180deg, var(--ink-2), var(--ink));
    border-bottom: 1px solid var(--line);
}

.page-hero h1 { margin-bottom: .32em; }

.page-hero .section-sub { max-width: 760px; }

.breadcrumbs {
    margin-bottom: 16px;
    font-size: .84rem;
    color: var(--muted);
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.breadcrumbs li { margin: 0; }

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--line-strong);
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] { color: var(--text); }

/* ----------------------------------------------------------------- stats -- */

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

.stat {
    padding: 28px 24px;
    background: var(--panel);
}

.stat-num {
    display: block;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    letter-spacing: -.02em;
}

.stat-num span { color: var(--accent); }

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: .86rem;
    color: var(--muted);
}

/* ----------------------------------------------------------------- cards -- */

.card {
    padding: 28px 26px;
    background: linear-gradient(180deg, var(--panel), rgba(16, 26, 46, .6));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 165, 36, .34);
    box-shadow: var(--shadow);
}

.card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 165, 36, .4);
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: .95rem;
    font-weight: 700;
    color: var(--accent);
}

.card-title { margin-bottom: .5em; }

.card-text {
    margin: 0;
    color: var(--muted);
    font-size: .96rem;
}

.card-tag {
    display: inline-block;
    margin-bottom: 12px;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(22, 199, 154, .12);
    border: 1px solid rgba(22, 199, 154, .3);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--teal);
}

/* --------------------------------------------------------------- product -- */

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

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 165, 36, .34);
    box-shadow: var(--shadow);
}

.product-media {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #0b1220;
    border-bottom: 1px solid var(--line);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-media img { transform: scale(1.05); }

.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(7, 11, 20, .82);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--accent-2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 26px;
}

.product-title {
    margin-bottom: .55em;
    font-size: 1.16rem;
}

.product-title a { color: var(--text); }
.product-title a:hover { color: var(--accent); }

.product-desc {
    flex: 1;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: .94rem;
}

.product-foot { margin-top: auto; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 700;
}

.link-arrow::after {
    content: "\2192";
    transition: transform .22s ease;
}

.link-arrow:hover::after { transform: translateX(4px); }

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.filter-btn {
    padding: 9px 18px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.filter-btn:hover { color: var(--text); border-color: var(--accent); }

.filter-btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #14100a;
}

.product-card.is-hidden { display: none; }

/* ---------------------------------------------------------- product hero -- */

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(26px, 4vw, 54px);
    align-items: start;
}

.product-hero-media {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0b1220;
}

.product-hero-media img { width: 100%; }

.product-hero-body h2 { margin-top: 0; }

.facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.facts li {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .03);
    font-size: .9rem;
}

.facts strong {
    display: block;
    color: var(--accent);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    color: #c9d5e8;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 16px;
    height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: .94rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-table caption {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
}

.spec-table th,
.spec-table td {
    padding: 13px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.spec-table th {
    width: 42%;
    color: var(--muted);
    font-weight: 600;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }

/* ----------------------------------------------------------------- cases -- */

.case-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.case-media {
    aspect-ratio: 29 / 21;
    overflow: hidden;
    background: #0b1220;
}

.case-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-body { padding: 22px 24px 26px; }

.case-body h3 { margin-bottom: .45em; font-size: 1.1rem; }

.case-body p {
    color: var(--muted);
    font-size: .93rem;
    margin-bottom: .9em;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    margin: 0;
    padding: 4px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    font-size: .78rem;
    color: var(--muted);
}

/* ----------------------------------------------------------------- certs -- */

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

.cert-card {
    overflow: hidden;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.cert-media {
    aspect-ratio: 1322 / 1870;
    overflow: hidden;
    background: #0b1220;
}

.cert-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-body { padding: 18px 20px 22px; }
.cert-body h3 { font-size: 1rem; margin-bottom: .3em; }
.cert-body p { margin: 0; font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------------- faq -- */

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--panel);
    overflow: hidden;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-q:hover { color: var(--accent); }

.faq-q::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    color: var(--accent);
    transition: transform .24s ease;
}

.faq-item.is-open .faq-q::after { content: "\2212"; }

.faq-a {
    display: none;
    padding: 0 22px 20px;
    color: var(--muted);
    font-size: .95rem;
}

.faq-item.is-open .faq-a { display: block; }

.faq-a p { margin: 0; }

/* -------------------------------------------------------------- cta band -- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 6vw, 72px) 0;
    background:
        radial-gradient(620px 320px at 88% 12%, rgba(245, 165, 36, .2), transparent 66%),
        linear-gradient(120deg, #12203a, #0a1120);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.cta-text { max-width: 660px; }
.cta-text h2 { margin-bottom: .3em; }
.cta-text p { margin: 0; color: #c5d2e6; }

/* ------------------------------------------------------------------ form -- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: clamp(24px, 3.6vw, 44px);
    align-items: start;
}

.form-card {
    padding: clamp(24px, 3.4vw, 40px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.field { margin-bottom: 20px; }

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: .88rem;
    font-weight: 600;
    color: #cbd7ea;
}

.field .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-family: inherit;
    font-size: .96rem;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
        linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 20px, calc(100% - 14px) 20px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
}

.field select option { background: var(--panel-2); color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: #6d7c94; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 0 0 3px rgba(245, 165, 36, .16);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }

.field-error {
    display: none;
    margin-top: 7px;
    font-size: .82rem;
    color: var(--danger);
}

.field.has-error .field-error { display: block; }

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 22px;
    font-size: .87rem;
    color: var(--muted);
}

.consent.has-error label { color: var(--danger); }

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-note {
    margin: 16px 0 0;
    font-size: .82rem;
    color: var(--muted);
}

.form-alert {
    display: none;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: .92rem;
}

.form-alert.is-error {
    display: block;
    border: 1px solid rgba(255, 107, 107, .4);
    background: rgba(255, 107, 107, .1);
    color: #ffd0d0;
}

.form-alert.is-success {
    display: block;
    border: 1px solid rgba(22, 199, 154, .4);
    background: rgba(22, 199, 154, .1);
    color: #c8f4e6;
}

.aside-card {
    padding: 24px 26px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.aside-card h3 { font-size: 1.05rem; }

.aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aside-list li {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: .92rem;
    color: var(--muted);
}

.aside-list li:first-child { border-top: 0; padding-top: 0; }

.aside-list strong {
    display: block;
    color: var(--text);
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.aside-list .idx {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(245, 165, 36, .4);
    font-family: var(--font-mono);
    font-size: .78rem;
    color: var(--accent);
}

/* --------------------------------------------------------------- process -- */

.steps {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}

.steps li {
    position: relative;
    padding-left: 58px;
    margin-bottom: 24px;
}

.steps li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245, 165, 36, .4);
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: .86rem;
    font-weight: 700;
    color: var(--accent);
}

.steps strong {
    display: block;
    color: var(--text);
    margin-bottom: 3px;
}

.steps p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------------------------------------------------------------- result -- */

.result-wrap {
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding: clamp(52px, 8vw, 110px) 0;
}

.result-card {
    max-width: 620px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 46px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}

.result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 700;
}

.result-icon.ok {
    background: rgba(22, 199, 154, .14);
    border: 1px solid rgba(22, 199, 154, .4);
    color: var(--teal);
}

.result-icon.fail {
    background: rgba(255, 107, 107, .12);
    border: 1px solid rgba(255, 107, 107, .4);
    color: var(--danger);
}

.result-card p { color: var(--muted); }

.result-actions { margin-top: 26px; }

/* ---------------------------------------------------------------- footer -- */

.site-footer {
    padding: clamp(48px, 6vw, 76px) 0 0;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    gap: 34px;
    padding-bottom: 40px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text);
    font-weight: 700;
}

.footer-brand img { width: 38px; }

.footer-about {
    max-width: 420px;
    color: var(--muted);
    font-size: .92rem;
}

.footer-col h3 {
    margin-bottom: .8em;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li { margin-bottom: 10px; }

.footer-col a { color: #c6d2e4; font-size: .92rem; }
.footer-col a:hover { color: var(--accent); }

.footer-col address {
    font-style: normal;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0 26px;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    color: var(--muted);
}

.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------- animation -- */

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ----------------------------------------------------------- responsive -- */

@media (max-width: 1100px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
    .header-inner { min-height: 68px; }
    .nav-toggle { display: block; }

    .nav {
        position: fixed;
        inset: 68px 0 auto 0;
        display: block;
        margin: 0;
        padding: 16px 22px 26px;
        background: rgba(7, 11, 20, .98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 22px 44px rgba(0, 0, 0, .5);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform .24s ease, opacity .24s ease;
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .nav.is-open {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-link {
        display: block;
        padding: 14px 6px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: 1rem;
    }

    .nav-link.is-active::after { display: none; }
    .nav-link.is-active { color: var(--accent); }

    .header-cta { display: none; }

    .product-hero,
    .contact-layout { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 720px) {
    body { font-size: 15.5px; }
    .section { padding: 52px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
    .product-grid { grid-template-columns: minmax(0, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-row { grid-template-columns: minmax(0, 1fr); }
    .facts { grid-template-columns: minmax(0, 1fr); }
    .header-inner { gap: 12px; }
    .hero-actions .btn { width: 100%; }
    .hero-actions { display: grid; gap: 12px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .spec-table th { width: 46%; }
    .spec-table th,
    .spec-table td { padding: 12px 14px; }
}

@media (max-width: 420px) {
    .container { padding: 0 16px; }
    .brand img { width: 32px; }
    .brand-name { font-size: .98rem; }
    .stats { grid-template-columns: minmax(0, 1fr); }
    .cert-grid { grid-template-columns: minmax(0, 1fr); }
    .btn { padding: 12px 20px; }
}

/* --------------------------------------------------------------- printing -- */

@media print {
    body { background: #fff; color: #000; }
    .site-header, .nav-toggle, .cta-band, .hero-bg, .site-footer { display: none; }
    .section, .page-hero { padding: 12px 0; }
    a { color: #000; }
}