:root {
    --primary: #168b5a;
    --primary-dark: #0d6842;
    --primary-soft: #eaf7f1;
    --secondary: #244b3a;
    --ink: #17211c;
    --muted: #66736d;
    --line: #dfe7e2;
    --surface: #ffffff;
    --background: #f4f7f5;
    --danger: #b93838;
    --warning: #a05c00;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(24, 58, 43, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--background);
    line-height: 1.6;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(223, 231, 226, .9);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--primary);
}

.header-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.site-main {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
    padding: 20px 0 100px;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 34px;
    padding: 58px;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 86% 20%,
            rgba(255, 255, 255, .22),
            transparent 24%
        ),
        linear-gradient(135deg, #0f6e48, #1ca26b);
    color: white;
    box-shadow: var(--shadow);
}

.hero:before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -190px;
    width: 420px;
    height: 420px;
    border: 70px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.12;
    margin: 12px 0 20px;
    max-width: 760px;
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, .83);
    max-width: 620px;
}

.eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: .14em;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #bff3db;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-weight: 800;
    transition: .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-large {
    min-height: 54px;
    padding: 14px 25px;
}

.button-primary {
    background: var(--primary);
    color: white;
}

.hero .button-primary {
    background: white;
    color: var(--primary-dark);
}

.button-secondary {
    background: var(--secondary);
    color: white;
}

.button-light {
    background: rgba(255, 255, 255, .14);
    color: inherit;
    border-color: rgba(255, 255, 255, .30);
}

.form-step .button-light,
.success-card .button-light {
    background: white;
    color: var(--ink);
    border-color: var(--line);
}

.hero-visual {
    position: relative;
    min-height: 300px;
}

.recycle-orbit {
    width: 230px;
    height: 230px;
    margin: 35px auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    font-size: 100px;
    background: rgba(255, 255, 255, .10);
    box-shadow: inset 0 0 0 25px rgba(255, 255, 255, .05);
}

.hero-chip {
    position: absolute;
    padding: 10px 16px;
    border-radius: 999px;
    background: white;
    color: var(--primary-dark);
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.chip-one {
    top: 10px;
    left: 0;
}

.chip-two {
    right: 0;
    top: 110px;
}

.chip-three {
    left: 15px;
    bottom: 10px;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -24px 34px 0;
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.trust-strip div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
    border-right: 0;
}

.trust-strip strong {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
}

.trust-strip span {
    font-weight: 750;
}

.section {
    margin-top: 34px;
    padding: 32px;
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 10px 35px rgba(24, 58, 43, .06);
}

.section-heading,
.form-card-heading,
.order-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.section h2,
.form-card h2,
.page-intro h1 {
    margin: 4px 0 0;
    line-height: 1.25;
}

.section-heading > a,
.text-button {
    color: var(--primary);
    font-weight: 800;
}

.text-button {
    border: 0;
    background: none;
    padding: 8px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.category-card {
    min-height: 152px;
    display: flex;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(145deg, white, #f8fbf9);
}

.category-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--primary-soft);
    font-size: 24px;
}

.category-card h3 {
    margin: 0 0 5px;
}

.category-card p {
    margin: 2px 0;
    color: var(--muted);
    font-size: 13px;
}

.category-card .price {
    color: var(--primary-dark);
    font-size: 17px;
    font-weight: 850;
}

.price small {
    font-size: 12px;
    font-weight: 500;
}

.price-muted {
    font-size: 14px !important;
}

.split-section {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    padding: 0;
    background: none;
    box-shadow: none;
}

.process-card,
.service-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(24, 58, 43, .06);
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.process-list li {
    display: flex;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.process-list li:last-child {
    border-bottom: 0;
}

.process-list li > span {
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
}

.process-list strong {
    font-size: 17px;
}

.process-list p {
    margin: 3px 0 0;
    color: var(--muted);
}

.region-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0;
}

.region-tags span {
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-dark);
    font-weight: 700;
}

.service-card > p,
.safety-note p {
    color: var(--muted);
}

.safety-note {
    border-left: 5px solid #c78630;
    background: #fffaf2;
}

.page-intro {
    padding: 25px 5px;
}

.page-intro h1 {
    font-size: 38px;
}

.page-intro p {
    color: var(--muted);
    max-width: 700px;
}

.page-intro.compact {
    max-width: 720px;
    margin: 0 auto;
}

.step-indicator {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.step-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    color: var(--muted);
    font-weight: 800;
}

.step-dot span {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--background);
}

.step-dot.active {
    color: var(--primary-dark);
    border-color: #9ddbc2;
    background: var(--primary-soft);
}

.step-dot.active span {
    background: var(--primary);
    color: white;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-card,
.lookup-card,
.order-detail-card,
.success-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-card > label,
.item-row > label,
.inline-fields label,
.lookup-card label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 18px;
}

label > span {
    font-weight: 750;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cfdad4;
    border-radius: 12px;
    background: white;
    padding: 12px 14px;
    color: var(--ink);
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 139, 90, .10);
}

textarea {
    resize: vertical;
}

.item-row {
    position: relative;
    padding: 20px;
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fbfdfc;
}

.item-row:first-child .remove-item {
    display: none;
}

.remove-item {
    border: 0;
    background: none;
    color: var(--danger);
    margin-top: 12px;
    padding: 0;
}

.inline-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.inline-fields.three {
    grid-template-columns: repeat(3, 1fr);
}

.upload-box {
    margin-top: 22px;
    padding: 28px;
    display: grid;
    place-items: center;
    text-align: center;
    border: 2px dashed #a9c9ba;
    border-radius: 16px;
    background: var(--primary-soft);
}

.upload-box input {
    display: none;
}

.upload-box small {
    color: var(--muted);
    margin-top: 5px;
}

.upload-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    font-size: 28px;
}

.upload-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
    margin-top: 12px;
}

.upload-preview img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
}

.step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.segmented label {
    cursor: pointer;
}

.segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented span {
    display: block;
    text-align: center;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.segmented input:checked + span {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.consent {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px !important;
    margin-top: 22px;
    color: var(--muted);
}

.consent input {
    width: 18px;
    margin-top: 4px;
}

.price-notice {
    margin-top: 18px;
    padding: 14px;
    background: #fff8e8;
    color: #76501c;
    border-radius: 12px;
    font-size: 14px;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
}

.lookup-card {
    max-width: 720px;
    margin: 0 auto;
}

.lookup-card .button {
    width: 100%;
    margin-top: 20px;
}

.order-detail-card {
    max-width: 900px;
    margin: 22px auto 0;
}

.order-detail-head small,
.order-number small {
    color: var(--muted);
}

.order-detail-head h2 {
    margin: 0;
    word-break: break-all;
}

.status {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-info {
    background: #eaf2ff;
    color: #285ca6;
}

.status-success {
    background: #e5f7ee;
    color: #11653f;
}

.status-warning {
    background: #fff3dc;
    color: var(--warning);
}

.status-danger {
    background: #feecec;
    color: var(--danger);
}

.summary-list {
    margin: 24px 0;
}

.summary-list > div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.summary-list dt {
    color: var(--muted);
}

.summary-list dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.item-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.item-summary span {
    color: var(--muted);
    text-align: right;
}

.success-card {
    max-width: 720px;
    margin: 40px auto;
    text-align: center;
}

.success-mark {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 38px;
}

.order-number {
    padding: 18px;
    margin: 24px 0;
    background: var(--primary-soft);
    border-radius: 14px;
}

.order-number strong {
    display: block;
    font-size: 21px;
    word-break: break-all;
    color: var(--primary-dark);
}

.alert {
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.alert-success {
    background: #e7f7ef;
    color: #165e3f;
}

.alert-danger {
    background: #feecec;
    color: #8c2d2d;
}

.empty-state {
    padding: 90px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 60px;
    font-weight: 900;
    color: var(--primary);
}

.mobile-nav {
    display: none;
    position: fixed;
    z-index: 30;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    height: 66px;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(20, 45, 34, .18);
}

.mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.mobile-nav a.active {
    color: var(--primary);
}

.mobile-nav span {
    font-size: 20px;
    line-height: 1;
}

.mobile-nav small {
    margin-top: 5px;
}

.mobile-nav .nav-primary span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-top: -24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 20px rgba(22, 139, 90, .28);
}

.site-footer {
    padding: 30px 15px 90px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 42px 30px;
    }

    .hero-visual {
        display: none;
    }

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

    .split-section {
        grid-template-columns: 1fr;
    }

    .trust-strip {
        margin: 14px 0 0;
        grid-template-columns: 1fr 1fr;
    }

    .trust-strip div:nth-child(2) {
        border-right: 0;
    }

    .trust-strip div {
        border-bottom: 1px solid var(--line);
    }

    .trust-strip div:nth-child(3),
    .trust-strip div:nth-child(4) {
        border-bottom: 0;
    }
}

@media (max-width: 640px) {
    .site-header {
        min-height: 56px;
    }

    .site-main {
        width: min(100% - 20px, 1120px);
        padding-top: 10px;
    }

    .hero {
        padding: 34px 22px;
        border-radius: 22px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .trust-strip div {
        padding: 15px 12px;
        gap: 8px;
        font-size: 13px;
    }

    .section,
    .process-card,
    .service-card,
    .form-card,
    .lookup-card,
    .order-detail-card,
    .success-card {
        padding: 20px;
    }

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

    .category-card {
        min-height: 0;
    }

    .step-indicator {
        gap: 5px;
    }

    .step-dot {
        min-height: 44px;
        font-size: 12px;
        padding: 5px;
    }

    .step-dot span {
        width: 23px;
        height: 23px;
    }

    .inline-fields,
    .inline-fields.three {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .step-actions .button {
        width: 100%;
    }

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

    .summary-list > div {
        grid-template-columns: 95px 1fr;
    }

    .item-summary > div {
        flex-direction: column;
        gap: 2px;
    }

    .item-summary span {
        text-align: left;
    }

    .mobile-nav {
        display: grid;
    }

    .site-footer {
        padding-bottom: 100px;
    }
}
