/* ============================================================
   登山线路详情页 - 高端设计系统
   ============================================================ */

/* ========== 变量 ========== */
.detail-page {
    --d-primary: #2d8a4e;
    --d-primary-dark: #1e6b3a;
    --d-primary-light: #4caf50;
    --d-accent: #f39c12;
    --d-danger: #e74c3c;
    --d-text: #1a2620;
    --d-text-sub: #5a6b60;
    --d-text-light: #93a399;
    --d-border: #e8efe9;
    --d-bg: #f5f7f5;
    --d-bg-soft: #f8fbf8;
    --d-radius: 16px;
    --d-radius-sm: 10px;
    --d-shadow-sm: 0 2px 12px rgba(31, 45, 36, 0.05);
    --d-shadow: 0 8px 32px rgba(31, 45, 36, 0.08);
    --d-shadow-lg: 0 20px 60px rgba(31, 45, 36, 0.12);
    --d-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
                 "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--d-text);
    background: var(--d-bg);
    padding-bottom: 60px;
}

/* ============================================================
   沉浸式 Hero
   ============================================================ */
.d-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    padding: 100px 0 80px;
}
.d-hero--noimg {
    background: linear-gradient(135deg, #2d8a4e 0%, #1e6b3a 60%, #0f3d20 100%);
}
.d-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    filter: blur(0.5px);
    animation: d-zoom 20s ease-in-out infinite alternate;
}
@keyframes d-zoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}
.d-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 20, 15, 0.35) 0%,
        rgba(10, 20, 15, 0.55) 40%,
        rgba(10, 20, 15, 0.85) 100%
    );
}
.d-hero--noimg .d-hero__overlay {
    background: radial-gradient(ellipse at top right, rgba(255,255,255,0.08), transparent 60%);
}
.d-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.d-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 20px;
}
.d-breadcrumb a { color: #fff; text-decoration: none; transition: opacity 0.2s; }
.d-breadcrumb a:hover { opacity: 0.7; }
.d-breadcrumb .sep { opacity: 0.5; }
.d-breadcrumb .cur { opacity: 0.9; }

.d-hero__tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.tag small { font-size: 11px; opacity: 0.8; font-weight: 500; }
.tag--diff { color: #fff; }
.difficulty-easy     { background: rgba(39, 174, 96, 0.9); }
.difficulty-beginner { background: rgba(46, 204, 113, 0.9); }
.difficulty-medium   { background: rgba(243, 156, 18, 0.9); }
.difficulty-hard     { background: rgba(230, 126, 34, 0.9); }
.difficulty-expert   { background: rgba(231, 76, 60, 0.9); }
.tag--full { background: rgba(231, 76, 60, 0.85); color: #fff; }
.tag--fee { background: rgba(255, 255, 255, 0.95); color: #b06e00; }
.tag--free { background: rgba(76, 175, 80, 0.9); color: #fff; }

.d-hero__title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin: 0 0 24px;
    max-width: 900px;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.d-hero__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.meta-chip svg { opacity: 0.85; flex-shrink: 0; }

.d-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    z-index: 3;
}
.d-hero__scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 4px;
    margin: 6px auto;
    animation: d-scroll 1.8s infinite;
}
@keyframes d-scroll {
    0%   { opacity: 0; transform: translateY(-4px); }
    50%  { opacity: 1; transform: translateY(8px); }
    100% { opacity: 0; transform: translateY(16px); }
}

/* ============================================================
   数据统计卡
   ============================================================ */
.d-stats {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}
.d-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--d-shadow-lg);
    overflow: hidden;
    border: 1px solid var(--d-border);
}
.d-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    position: relative;
    transition: background 0.3s;
}
.d-stat + .d-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24%;
    bottom: 24%;
    width: 1px;
    background: var(--d-border);
}
.d-stat:hover { background: var(--d-bg-soft); }

.d-stat__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(45,138,78,0.12), rgba(45,138,78,0.05));
    color: var(--d-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.d-stat__icon svg { width: 22px; height: 22px; }

.d-stat__body { min-width: 0; }
.d-stat__value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-weight: 800;
    color: var(--d-text);
    line-height: 1.1;
}
.d-stat__value .num { font-size: 24px; letter-spacing: -0.5px; }
.d-stat__value .unit { font-size: 13px; color: var(--d-text-light); font-weight: 600; }
.d-stat__label { font-size: 12px; color: var(--d-text-light); margin-top: 4px; }

/* ============================================================
   主内容区
   ============================================================ */
.d-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 0;
}
.d-content__wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
}
.d-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* ============================================================
   内容卡片
   ============================================================ */
.d-block {
    background: #fff;
    border-radius: var(--d-radius);
    box-shadow: var(--d-shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--d-transition);
}
.d-block:hover { box-shadow: var(--d-shadow); }

.d-block__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--d-border);
}
.d-block__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.d-block__icon svg { width: 20px; height: 20px; }
.d-block__icon--green { background: linear-gradient(135deg, #d4edda, #b8e0c4); color: #1e6b3a; }
.d-block__icon--blue  { background: linear-gradient(135deg, #d1ecf1, #a8d8e8); color: #0c5460; }
.d-block__icon--amber { background: linear-gradient(135deg, #fff3cd, #ffe7a0); color: #856404; }
.d-block__icon--purple { background: linear-gradient(135deg, #e5d4f7, #d0b8ed); color: #5a2d9c; }

.d-block__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--d-text);
    margin: 0;
    letter-spacing: -0.2px;
}
.d-block__line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--d-border), transparent);
    border-radius: 2px;
}
.d-block__body { padding: 28px; }

.d-block--warn {
    background: linear-gradient(135deg, #fffbf2 0%, #fff9eb 100%);
    border: 1px solid rgba(243, 156, 18, 0.15);
}
.d-block--warn .d-block__head {
    border-bottom-color: rgba(243, 156, 18, 0.15);
}

/* ============================================================
   信息网格
   ============================================================ */
.d-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.d-info {
    padding: 18px 20px;
    background: var(--d-bg-soft);
    border-radius: var(--d-radius-sm);
    border-left: 3px solid var(--d-primary);
    transition: transform 0.2s;
}
.d-info:hover { transform: translateX(4px); }
.d-info__label {
    font-size: 12px;
    color: var(--d-text-light);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.d-info__value {
    font-size: 15px;
    color: var(--d-text);
    line-height: 1.5;
}
.d-info__value strong { font-weight: 700; font-size: 16px; }

/* ============================================================
   上车集合点预览
   ============================================================ */
.d-pickup-preview {
    margin-top: 20px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f8fbf8 0%, #eef7f0 100%);
    border-radius: var(--d-radius-sm);
    border: 1px dashed rgba(45, 138, 78, 0.25);
}
.d-pickup-preview__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--d-primary-dark);
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}
.d-pickup-preview__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.d-pickup-preview__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px 6px 6px;
    background: #fff;
    border: 1px solid rgba(45, 138, 78, 0.15);
    border-radius: 100px;
    font-size: 13px;
    color: var(--d-text);
    font-weight: 500;
    transition: all 0.2s;
}
.d-pickup-preview__item:hover {
    border-color: var(--d-primary);
    box-shadow: 0 2px 8px rgba(45, 138, 78, 0.15);
}
.d-pickup-preview__idx {
    display: inline-flex;
    width: 20px;
    height: 20px;
    background: var(--d-primary);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================================
   列表样式
   ============================================================ */
.d-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--d-text-sub);
    word-break: break-word;
}
.d-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.d-list li {
    position: relative;
    padding: 12px 16px 12px 42px;
    background: var(--d-bg-soft);
    border-radius: var(--d-radius-sm);
    font-size: 14px;
    color: var(--d-text-sub);
    line-height: 1.6;
}
.d-list li::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--d-primary);
    box-shadow: 0 0 0 4px rgba(45, 138, 78, 0.12);
}
.d-list--warn li { background: rgba(243, 156, 18, 0.08); }
.d-list--warn li::before {
    background: var(--d-accent);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.15);
}

/* ============================================================
   文章正文
   ============================================================ */
.d-article {
    font-size: 15px;
    line-height: 1.9;
    color: var(--d-text-sub);
}
.d-article p { margin: 0 0 18px; }
.d-article p:last-child { margin-bottom: 0; }
.d-article h1, .d-article h2, .d-article h3, .d-article h4 {
    color: var(--d-text);
    font-weight: 700;
    margin: 28px 0 14px;
    line-height: 1.4;
}
.d-article h1 { font-size: 22px; }
.d-article h2 { font-size: 19px; }
.d-article h3 { font-size: 17px; }
.d-article h4 { font-size: 16px; }
.d-article img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 20px auto;
    border-radius: var(--d-radius-sm);
    box-shadow: var(--d-shadow-sm);
    transition: transform 0.3s;
}
.d-article img:hover { transform: scale(1.01); }
.d-article a {
    color: var(--d-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--d-primary);
    transition: opacity 0.2s;
}
.d-article a:hover { opacity: 0.7; }
.d-article ul, .d-article ol { padding-left: 22px; margin: 0 0 18px; }
.d-article li { margin-bottom: 8px; line-height: 1.8; }
.d-article blockquote {
    margin: 20px 0;
    padding: 16px 22px;
    background: var(--d-bg-soft);
    border-left: 4px solid var(--d-primary);
    border-radius: 0 var(--d-radius-sm) var(--d-radius-sm) 0;
    color: var(--d-text-sub);
    font-style: normal;
}
.d-article pre {
    background: #1a2620;
    color: #e0e6e1;
    padding: 18px 22px;
    border-radius: var(--d-radius-sm);
    overflow-x: auto;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.6;
}
.d-article code {
    background: rgba(45, 138, 78, 0.08);
    color: var(--d-primary-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}
.d-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
}
.d-article th, .d-article td {
    padding: 10px 14px;
    border: 1px solid var(--d-border);
    text-align: left;
}
.d-article th { background: var(--d-bg-soft); font-weight: 600; }

.d-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--d-text-light);
}
.d-empty__icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.d-empty p { margin: 0; font-size: 14px; }

/* ============================================================
   报名卡片
   ============================================================ */
.d-signup {
    position: relative;
    background: #fff;
    border-radius: var(--d-radius);
    box-shadow: var(--d-shadow);
    overflow: hidden;
    border: 1px solid var(--d-border);
}
.d-signup::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--d-primary), var(--d-primary-light), var(--d-accent));
}

.d-signup__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--d-border);
}
.d-signup__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--d-primary);
    margin-bottom: 8px;
    padding: 3px 10px;
    background: rgba(45, 138, 78, 0.1);
    border-radius: 100px;
}
.d-signup__title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 8px;
    color: var(--d-text);
    letter-spacing: -0.3px;
}
.d-signup__desc {
    margin: 0;
    font-size: 14px;
    color: var(--d-text-sub);
    line-height: 1.6;
}
.d-signup__desc strong { color: var(--d-primary); }
.d-signup__desc .text-danger { color: var(--d-danger); }

.d-signup__counter {
    text-align: center;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(45,138,78,0.08), rgba(45,138,78,0.03));
    border-radius: 14px;
    flex-shrink: 0;
}
.d-signup__counter-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--d-primary);
    line-height: 1;
}
.d-signup__counter-label {
    font-size: 12px;
    color: var(--d-text-light);
    margin-top: 4px;
}

.d-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px;
    background: var(--d-bg-soft);
}
.d-progress__bar {
    flex: 1;
    height: 10px;
    background: #e2ebe3;
    border-radius: 100px;
    overflow: hidden;
}
.d-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--d-primary), var(--d-primary-light));
    border-radius: 100px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.d-progress__text {
    font-size: 14px;
    font-weight: 800;
    color: var(--d-primary);
    min-width: 44px;
    text-align: right;
}

.d-form { padding: 28px 32px 32px; }
.d-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.d-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.d-form__field--full { grid-column: 1 / -1; }
.d-form__field--highlight {
    padding: 18px;
    background: linear-gradient(135deg, #f8fbf8 0%, #f0f7f2 100%);
    border-radius: var(--d-radius-sm);
    border: 1px solid rgba(45, 138, 78, 0.1);
    margin-bottom: 20px;
}
.d-form__field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--d-text);
    letter-spacing: 0.2px;
}
.d-form__field .required { color: var(--d-danger); }
.d-form__field input,
.d-form__field textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--d-text);
    background: var(--d-bg-soft);
    border: 1.5px solid transparent;
    border-radius: var(--d-radius-sm);
    transition: all 0.2s;
    outline: none;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.d-form__field input::placeholder,
.d-form__field textarea::placeholder { color: #a9b8ad; }
.d-form__field input:focus,
.d-form__field textarea:focus {
    background: #fff;
    border-color: var(--d-primary);
    box-shadow: 0 0 0 4px rgba(45, 138, 78, 0.12);
}
.d-form__field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* 下拉选择 */
.d-pickup-select {
    position: relative;
    width: 100%;
}
.d-select {
    width: 100%;
    padding: 14px 44px 14px 18px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    color: var(--d-text);
    background-color: #fff;
    border: 1.5px solid transparent;
    border-radius: var(--d-radius-sm);
    outline: none;
    cursor: pointer;
    transition: all 0.25s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232d8a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
}
.d-select:hover {
    border-color: rgba(45, 138, 78, 0.3);
}
.d-select:focus {
    border-color: var(--d-primary);
    box-shadow: 0 0 0 4px rgba(45, 138, 78, 0.12);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232d8a4e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.d-select option {
    color: var(--d-text);
    padding: 12px;
    font-size: 15px;
    background: #fff;
}

.d-form__hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--d-text-light);
    margin: 8px 0 0;
    line-height: 1.5;
}
.d-form__hint::before {
    content: '💡';
    font-size: 14px;
}

.d-btn-submit {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, var(--d-primary) 0%, var(--d-primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(45, 138, 78, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    letter-spacing: 0.5px;
}
.d-btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 138, 78, 0.45);
}
.d-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.d-form__tip {
    text-align: center;
    font-size: 12px;
    color: var(--d-text-light);
    margin: 14px 0 0;
}

.d-signup__tip {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 32px 32px;
    padding: 24px 28px;
    background: var(--d-bg-soft);
    border-radius: var(--d-radius-sm);
}
.d-signup__tip--error { background: #fdeceb; }
.d-signup__tip-icon { font-size: 36px; flex-shrink: 0; }
.d-signup__tip p {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--d-text);
}
.d-signup__tip span { font-size: 13px; color: var(--d-text-light); }

.signup-msg {
    margin: 0 32px 24px;
    padding: 16px 24px;
    border-radius: var(--d-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
}
.signup-msg.success {
    background: #e8f7ee;
    color: var(--d-primary);
    border: 1px solid rgba(45, 138, 78, 0.2);
}
.signup-msg.error {
    background: #fdeceb;
    color: var(--d-danger);
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* ============================================================
   多人报名 - 表单分区
   ============================================================ */
.d-form__section {
    padding: 20px 0;
    border-bottom: 1px dashed var(--d-border);
}
.d-form__section:first-of-type { padding-top: 0; }
.d-form__section:last-of-type { border-bottom: none; padding-bottom: 0; }

.d-form__section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.d-form__section-idx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    background: linear-gradient(135deg, var(--d-primary), var(--d-primary-light));
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(45, 138, 78, 0.25);
    flex-shrink: 0;
}
.d-form__section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--d-text);
    letter-spacing: 0.2px;
}
.d-form__section-count {
    margin-left: auto;
    padding: 3px 10px;
    background: rgba(45, 138, 78, 0.08);
    color: var(--d-primary);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
}

/* ============================================================
   同行人员卡片
   ============================================================ */
.d-member-card {
    position: relative;
    padding: 18px 18px 4px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #f9fcf9 0%, #f3f8f4 100%);
    border: 1px solid rgba(45, 138, 78, 0.12);
    border-radius: var(--d-radius-sm);
    overflow: hidden;
}
.d-member-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--d-primary), var(--d-primary-light));
    border-radius: 3px 0 0 3px;
}
.d-member-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.d-member-card__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--d-primary-dark);
    letter-spacing: 0.3px;
}
.d-member-card__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #fff;
    color: var(--d-danger);
    border: 1px solid rgba(231, 76, 60, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.d-member-card__remove:hover {
    background: var(--d-danger);
    color: #fff;
    border-color: var(--d-danger);
    transform: scale(1.05);
}
.d-member-card .d-form__row {
    margin-bottom: 14px;
}
.d-member-card .d-form__field input {
    background: #fff;
}

/* ============================================================
   新增按钮
   ============================================================ */
.d-btn-add-member {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    background: #fff;
    color: var(--d-primary);
    border: 2px dashed rgba(45, 138, 78, 0.35);
    border-radius: var(--d-radius-sm);
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 4px;
}
.d-btn-add-member:hover {
    background: rgba(45, 138, 78, 0.05);
    border-color: var(--d-primary);
    border-style: solid;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(45, 138, 78, 0.15);
}
.d-btn-add-member:active {
    transform: translateY(0);
}
.d-btn-add-member svg {
    flex-shrink: 0;
}

/* ============================================================
   费用汇总卡片
   ============================================================ */
.d-summary {
    margin: 20px 0 8px;
    padding: 20px 22px;
    background: linear-gradient(135deg, #f8fbf8 0%, #eef7f0 100%);
    border: 1px solid rgba(45, 138, 78, 0.15);
    border-radius: var(--d-radius-sm);
    position: relative;
    overflow: hidden;
}
.d-summary::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(45, 138, 78, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.d-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    position: relative;
    z-index: 1;
}
.d-summary__label {
    color: var(--d-text-sub);
    font-weight: 500;
}
.d-summary__value {
    color: var(--d-text);
    font-weight: 600;
}
.d-summary__value small {
    font-size: 11px;
    color: var(--d-text-light);
    font-weight: 500;
    margin-left: 2px;
}
.d-summary__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 138, 78, 0.2), transparent);
    margin: 12px 0;
    position: relative;
    z-index: 1;
}
.d-summary__row--total {
    padding: 4px 0;
}
.d-summary__row--total .d-summary__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--d-text);
}
.d-summary__total {
    font-size: 24px;
    font-weight: 800;
    color: var(--d-danger);
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "DIN", "PingFang SC", sans-serif;
}
.d-summary__total::before {
    font-size: 16px;
    margin-right: 1px;
    font-weight: 700;
}

/* ============================================================
   侧边栏
   ============================================================ */
.d-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 88px;
}
.d-card {
    background: #fff;
    border-radius: var(--d-radius);
    padding: 24px;
    box-shadow: var(--d-shadow-sm);
    transition: box-shadow var(--d-transition);
}
.d-card:hover { box-shadow: var(--d-shadow); }
.d-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--d-primary), var(--d-primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(45, 138, 78, 0.3);
}
.d-card__icon svg { width: 22px; height: 22px; }
.d-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--d-text);
    margin: 0 0 8px;
}
.d-card__title--line {
    padding-left: 12px;
    border-left: 3px solid var(--d-primary);
    margin-bottom: 16px;
}
.d-card__desc {
    font-size: 13px;
    color: var(--d-text-light);
    margin: 0 0 10px;
    line-height: 1.6;
}
.d-card__phone {
    font-size: 20px;
    font-weight: 800;
    color: var(--d-primary);
    letter-spacing: 0.5px;
    word-break: break-all;
}
.d-card__label {
    font-size: 12px;
    color: var(--d-text-light);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}
.d-card__value {
    font-size: 17px;
    font-weight: 700;
    color: var(--d-text);
    word-break: break-all;
}
.d-card--leader {
    background: linear-gradient(135deg, #fff9eb 0%, #fffbf2 100%);
    border-left: 4px solid var(--d-accent);
}
.d-card--leader .d-card__value { color: #856404; }
.d-card__empty { font-size: 13px; color: var(--d-text-light); margin: 0; }

.d-recent {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.d-recent a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--d-text-sub);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}
.d-recent a:hover {
    background: var(--d-bg-soft);
    color: var(--d-primary);
    padding-left: 16px;
}
.d-recent__dot {
    width: 6px;
    height: 6px;
    background: var(--d-primary);
    border-radius: 50%;
    flex-shrink: 0;
}
.d-recent__text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}
.d-recent__arrow {
    opacity: 0;
    transition: all 0.2s;
    color: var(--d-primary);
    flex-shrink: 0;
}
.d-recent a:hover .d-recent__arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* ============================================================
   移动端吸底 CTA
   ============================================================ */
.mobile-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #fff;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--d-border);
}
.mobile-cta-price {
    font-size: 24px;
    font-weight: 800;
    color: var(--d-danger);
    flex-shrink: 0;
    line-height: 1;
}
.mobile-cta-price .free {
    font-size: 18px;
    color: var(--d-primary);
}
.mobile-cta-price span { font-size: 14px; }
.mobile-cta-btn {
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--d-primary), var(--d-primary-light));
    color: #fff;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(45, 138, 78, 0.35);
    transition: all 0.2s;
}
.mobile-cta-btn:active { transform: scale(0.98); }

/* ============================================================
   响应式 - 平板
   ============================================================ */
@media (max-width: 1024px) {
    .d-content__wrap { grid-template-columns: 1fr; gap: 24px; }
    .d-side {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .d-side > .d-card { flex: 1 1 260px; }
    .d-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .d-stat:nth-child(2)::before,
    .d-stat:nth-child(4)::before { display: none; }
    .d-stat:nth-child(1),
    .d-stat:nth-child(2) { border-bottom: 1px solid var(--d-border); }
}

/* ============================================================
   响应式 - 手机
   ============================================================ */
@media (max-width: 768px) {
    .detail-page { padding-bottom: 90px; }

    .d-hero {
        min-height: 420px;
        padding: 90px 0 60px;
    }
    .d-hero__inner { padding: 0 16px; }
    .d-hero__title { font-size: 24px; margin-bottom: 18px; }
    .d-hero__meta { gap: 8px; }
    .meta-chip { padding: 6px 12px; font-size: 12px; }
    .d-hero__scroll { display: none; }

    .d-stats { margin-top: -40px; padding: 0 12px; }
    .d-stats__grid { border-radius: 14px; }
    .d-stat { padding: 18px 16px; gap: 12px; }
    .d-stat__icon { width: 36px; height: 36px; border-radius: 10px; }
    .d-stat__icon svg { width: 18px; height: 18px; }
    .d-stat__value .num { font-size: 20px; }
    .d-stat__value .unit { font-size: 11px; }
    .d-stat__label { font-size: 11px; }

    .d-content { padding: 24px 12px 0; }
    .d-content__wrap { gap: 16px; }
    .d-main { gap: 16px; }

    .d-block__head { padding: 18px 20px; gap: 10px; }
    .d-block__icon { width: 34px; height: 34px; border-radius: 10px; }
    .d-block__icon svg { width: 18px; height: 18px; }
    .d-block__title { font-size: 15px; }
    .d-block__body { padding: 20px; }

    .d-info-grid { grid-template-columns: 1fr; gap: 12px; }
    .d-info { padding: 14px 16px; }
    .d-info__value strong { font-size: 15px; }

    .d-pickup-preview { padding: 14px 16px; margin-top: 14px; }
    .d-pickup-preview__item { font-size: 12px; padding: 5px 10px 5px 5px; }
    .d-pickup-preview__idx { width: 18px; height: 18px; font-size: 10px; }

    .d-list li { padding: 10px 14px 10px 36px; font-size: 13px; }
    .d-list li::before { left: 14px; width: 7px; height: 7px; }

    .d-article { font-size: 14px; }
    .d-article h1 { font-size: 19px; }
    .d-article h2 { font-size: 17px; }
    .d-article h3 { font-size: 15px; }
    .d-article img { border-radius: 8px; }
    .d-article pre { padding: 14px 16px; font-size: 12px; }

    .d-signup__header {
        flex-direction: column;
        padding: 24px 22px 20px;
        gap: 14px;
    }
    .d-signup__title { font-size: 18px; }
    .d-signup__counter {
        align-self: stretch;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 10px 20px;
    }
    .d-signup__counter-num { font-size: 22px; }
    .d-signup__counter-label { margin: 0; }

    .d-progress { padding: 12px 22px; }

    .d-form { padding: 22px 22px 26px; }
    .d-form__row { grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
    .d-form__field input,
    .d-form__field textarea { font-size: 15px; padding: 12px 14px; }
    .d-btn-submit { height: 52px; font-size: 15px; }
    .signup-msg { margin: 0 22px 20px; }
    .d-signup__tip { margin: 0 22px 22px; padding: 20px; }
    .d-signup__tip-icon { font-size: 28px; }

    .d-form__field--highlight { padding: 14px; }
    .d-select { padding: 12px 40px 12px 14px; font-size: 15px; }

    .d-form__section { padding: 16px 0; }
    .d-form__section-head { margin-bottom: 12px; gap: 8px; }
    .d-form__section-idx { min-width: 22px; height: 22px; font-size: 12px; border-radius: 6px; }
    .d-form__section-title { font-size: 14px; }
    .d-form__section-count { font-size: 11px; padding: 2px 8px; }

    .d-member-card { padding: 14px 14px 2px; margin-bottom: 12px; }
    .d-member-card__head { margin-bottom: 10px; }
    .d-member-card__title { font-size: 12px; }
    .d-member-card__remove { width: 28px; height: 28px; }
    .d-member-card .d-form__row { margin-bottom: 12px; }

    .d-btn-add-member { height: 44px; font-size: 13px; }

    .d-summary { padding: 16px 18px; }
    .d-summary__row { font-size: 13px; }
    .d-summary__row--total .d-summary__label { font-size: 14px; }
    .d-summary__total { font-size: 20px; }

    .d-side { flex-direction: column; }
    .d-side > .d-card { flex: none; padding: 20px; }
    .d-card__phone { font-size: 18px; }

    .mobile-cta { display: flex; }
}

/* ============================================================
   超小屏
   ============================================================ */
@media (max-width: 380px) {
    .d-hero__title { font-size: 22px; }
    .d-stat__value .num { font-size: 18px; }
    .d-stat__icon { width: 32px; height: 32px; }
    .d-block__body { padding: 18px 16px; }
    .d-form { padding: 20px 18px 24px; }
    .d-summary { padding: 14px 16px; }
    .d-summary__total { font-size: 18px; }
}