@charset "utf-8";

body.yongche-page { overflow-x: hidden; }

/* 全宽突破容器 */
.yc-breakout {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

/* ========== Hero区域 ========== */
.yc-hero {
    min-height: 380px;
    background: #0a3d2e;
    background: linear-gradient(135deg, #061f17 0%, #0a3d2e 30%, #0e5a42 60%, #1a7a5a 100%);
    overflow: hidden;
}

.yc-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden; z-index: 1;
}

.yc-hero-bg .yc-line {
    position: absolute;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}

.yc-hero-bg .yc-line-1 { width: 700px; height: 700px; top: -250px; right: -150px; }
.yc-hero-bg .yc-line-2 { width: 450px; height: 450px; bottom: -180px; left: -80px; }
.yc-hero-bg .yc-line-3 {
    width: 220px; height: 220px;
    top: 50%; left: 55%;
    margin-top: -110px; margin-left: -110px;
    background: rgba(255,255,255,.02);
    animation: yc-float 6s ease-in-out infinite;
}

.yc-hero-inner {
    position: relative; z-index: 2;
    width: 1200px; margin: 0 auto;
    padding: 70px 0 55px;
    text-align: center;
}

.yc-hero-text {
    display: inline-block;
    text-align: center;
}

.yc-hero-text h1 {
    font-size: 46px; font-weight: 700; color: #fff;
    line-height: 1.25; margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.yc-hero-text h1 em {
    font-style: normal;
    color: #c8a45c;
    background: linear-gradient(180deg, #c8a45c, #e8c96a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.yc-hero-text .yc-sub {
    font-size: 19px; color: rgba(255,255,255,.85);
    line-height: 1.7; margin-bottom: 28px;
}

.yc-hero-text .yc-sub b { color: #c8a45c; font-weight: 700; font-size: 24px; }

.yc-hero-tags {
    overflow: hidden;
}

.yc-hero-tags span {
    display: inline-block;
    padding: 6px 18px; margin: 0 8px 10px;
    font-size: 14px; color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
}

.yc-hero-tags span i { font-style: normal; color: #c8a45c; margin-right: 4px; }

/* ========== 表单区域 ========== */
.yc-form-section {
    background: #fff;
    box-shadow: 0 4px 32px rgba(0,0,0,.1);
    position: relative; z-index: 10;
    margin-top: -40px;
    border-radius: 0;
}

.yc-form-inner {
    width: 1160px; margin: 0 auto;
    padding: 28px 20px 16px;
}

.yc-form-title {
    font-size: 22px; font-weight: 700; color: #1a1a2e;
    padding: 0 0 16px;
    border-bottom: 2px solid #0a3d2e;
    margin-bottom: 20px;
}

/* 用车类型pill行 */
.yc-pills-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.yc-opt-label {
    font-size: 14px; font-weight: 600; color: #555;
    margin-right: 4px;
    white-space: nowrap;
}

.yc-pill {
    cursor: pointer;
}

.yc-pill input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}

.yc-pill span {
    display: inline-block;
    padding: 7px 20px;
    font-size: 14px; font-weight: 500;
    color: #666;
    background: #f5f7fa;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    transition: all .2s;
}

.yc-pill.active span,
.yc-pill input:checked + span {
    color: #fff;
    background: #0a3d2e;
    border-color: #0a3d2e;
}

/* 字段行 */
.yc-field-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
}

.yc-field {
    position: relative;
}

.yc-field-dest {
    flex: 2;
}

.yc-field-date {
    flex: 1;
}

.yc-field-num {
    width: 120px;
    flex-shrink: 0;
}

.yc-field-label {
    display: block;
    font-size: 13px; font-weight: 600; color: #555;
    margin-bottom: 6px;
}

.yc-field-label em {
    font-style: normal;
    color: #bbb;
    font-weight: 400;
    font-size: 12px;
}

.yc-ipt {
    width: 100%;
    height: 50px; line-height: 50px;
    padding: 0 16px;
    font-size: 15px; color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.yc-ipt:focus {
    border-color: #0a3d2e;
    box-shadow: 0 0 0 3px rgba(10,61,46,.12);
}

.yc-ipt::-webkit-input-placeholder { color: #bbb; }
.yc-ipt:-moz-placeholder { color: #bbb; }
.yc-ipt::-moz-placeholder { color: #bbb; }
.yc-ipt:-ms-input-placeholder { color: #bbb; }

.yc-ipt.yc-input-error {
    border-color: #e0483f;
    box-shadow: 0 0 0 3px rgba(224,72,63,.12);
}

.yc-ipt-date {
    height: 50px;
}

.yc-sel {
    height: 50px; line-height: 50px;
    padding: 0 10px;
    font-size: 14px; color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
}

.yc-sel:focus {
    border-color: #0a3d2e;
    box-shadow: 0 0 0 3px rgba(10,61,46,.12);
}

/* 联系人栏 */
.yc-contact-bar {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #f6faf8, #eef5f1);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid #dce8e1;
}

.yc-contact-fields {
    display: flex;
    gap: 12px;
    flex: 2;
}

.yc-contact-fields .yc-field {
    flex: 1;
}

.yc-ipt-contact {
    width: 100%;
    height: 50px; line-height: 50px;
    padding: 0 16px;
    font-size: 15px; color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.yc-ipt-contact:focus {
    border-color: #0a3d2e;
    box-shadow: 0 0 0 3px rgba(10,61,46,.12);
}

.yc-ipt-contact::-webkit-input-placeholder { color: #bbb; }
.yc-ipt-contact:-moz-placeholder { color: #bbb; }
.yc-ipt-contact::-moz-placeholder { color: #bbb; }
.yc-ipt-contact:-ms-input-placeholder { color: #bbb; }

.yc-ipt-contact.yc-input-error {
    border-color: #e0483f;
    box-shadow: 0 0 0 3px rgba(224,72,63,.12);
}

.yc-field-note {
    flex: 1;
}

.yc-textarea {
    width: 100%;
    height: 50px; line-height: 1.4;
    padding: 12px 16px;
    font-size: 14px; color: #333;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    resize: vertical;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
}

.yc-textarea:focus {
    border-color: #0a3d2e;
    box-shadow: 0 0 0 3px rgba(10,61,46,.12);
}

.yc-textarea::-webkit-input-placeholder { color: #bbb; }
.yc-textarea:-moz-placeholder { color: #bbb; }
.yc-textarea::-moz-placeholder { color: #bbb; }
.yc-textarea:-ms-input-placeholder { color: #bbb; }

.yc-btn-submit {
    display: inline-block;
    height: 50px; line-height: 50px;
    padding: 0 36px;
    text-align: center;
    font-size: 17px; font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0a3d2e, #0e5a42);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    box-shadow: 0 4px 16px rgba(10,61,46,.35);
    flex-shrink: 0;
    margin-top: 22px;
}

.yc-btn-submit:hover {
    background: linear-gradient(135deg, #083024, #0c4d38);
    box-shadow: 0 6px 24px rgba(10,61,46,.45);
    transform: translateY(-1px);
}

.yc-form-footer {
    text-align: center;
    padding: 12px 0 6px;
    font-size: 13px; color: #bbb;
    line-height: 1.6;
}

.yc-form-footer b { color: #c8a45c; }

/* ========== 优势区域 ========== */
.yc-advantage-bar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    position: relative; z-index: 10;
}

.yc-advantage-inner {
    width: 1200px; margin: 0 auto;
    overflow: hidden;
}

.yc-adv-item {
    float: left; width: 25%;
    padding: 36px 24px; text-align: center;
    box-sizing: border-box;
    transition: background .3s;
}

.yc-adv-item:hover { background: #f6faf8; }

.yc-adv-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    border-radius: 50%;
    line-height: 64px; text-align: center;
}

.yc-adv-icon svg { width: 32px; height: 32px; vertical-align: middle; }

.yc-adv-icon-1 { background: linear-gradient(135deg, #0a3d2e, #1a7a5a); }
.yc-adv-icon-2 { background: linear-gradient(135deg, #c8a45c, #e8c96a); }
.yc-adv-icon-3 { background: linear-gradient(135deg, #20c997, #38f9d7); }
.yc-adv-icon-4 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.yc-adv-item h4 { font-size: 18px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.yc-adv-item p { font-size: 14px; color: #888; line-height: 1.6; }

/* ========== 通用section ========== */
.yc-section { padding: 65px 0; }
.yc-section-gray { background: #f5f7fa; }

.yc-section-header { text-align: center; margin-bottom: 48px; }
.yc-section-header h2 { font-size: 34px; font-weight: 700; color: #1a1a2e; margin-bottom: 12px; }
.yc-section-header h2 em { font-style: normal; color: #0a3d2e; }
.yc-section-header p { font-size: 16px; color: #888; }
.yc-section-header .yc-en { display: block; font-size: 13px; color: #bbb; margin-top: 6px; text-transform: uppercase; letter-spacing: 3px; }

/* ========== 热门目的地 ========== */
.yc-dest-wrap { width: 1240px; margin: 0 auto; overflow: hidden; }
.yc-dest { overflow: hidden; }

.yc-dest-item {
    float: left; width: 114px; height: 56px; margin: 0 8px 16px 8px;
    background: #fff; border: 1px solid #eee;
    border-radius: 8px;
    display: table;
    transition: all .3s;
    overflow: hidden;
}

.yc-dest-item:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    border-color: #0a3d2e;
}

.yc-dest-item span {
    display: table-cell; vertical-align: middle; text-align: center;
    font-size: 13px; color: #555; font-weight: 600; padding: 0 6px;
}

/* ========== 信任数据 ========== */
.yc-trust {
    background: linear-gradient(135deg, #061f17, #1a7a5a);
    padding: 55px 0;
}

.yc-trust-inner { width: 1200px; margin: 0 auto; overflow: hidden; }
.yc-trust-item { float: left; width: 25%; text-align: center; color: #fff; }
.yc-trust-num { font-size: 46px; font-weight: 700; color: #c8a45c; line-height: 1.2; margin-bottom: 8px; }
.yc-trust-num em { font-style: normal; font-size: 22px; color: rgba(255,255,255,.7); margin-left: 2px; }
.yc-trust-item p { font-size: 14px; color: rgba(255,255,255,.7); }

/* ========== 弹窗 ========== */
.yc-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.7);
    z-index: 9998; overflow: hidden;
}

.yc-dialog {
    display: none; position: fixed; top: 50%; left: 50%;
    width: 420px; margin-left: -210px; margin-top: -150px;
    background: #fff;
    border-radius: 16px;
    z-index: 9999; overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.3);
}

.yc-dialog-icon {
    width: 68px; height: 68px; margin: 32px auto 16px;
    background: #e6f9f1;
    border-radius: 50%;
    line-height: 68px; text-align: center;
}

.yc-dialog-icon svg { width: 34px; height: 34px; fill: #20c997; vertical-align: middle; }
.yc-dialog h3 { font-size: 22px; font-weight: 700; color: #1a1a2e; text-align: center; margin-bottom: 10px; }
.yc-dialog p { font-size: 15px; color: #888; text-align: center; line-height: 1.7; padding: 0 32px; margin-bottom: 30px; }
.yc-dialog-close {
    display: block; width: 100%; height: 52px; line-height: 52px;
    text-align: center; font-size: 16px; font-weight: 600;
    color: #fff; background: #0a3d2e; cursor: pointer; border: none;
    transition: background .3s;
}
.yc-dialog-close:hover { background: #083024; }

/* ========== 动画 ========== */
@keyframes yc-fadeInUp { from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)} }

.yc-anim-up { animation: yc-fadeInUp .6s ease-out both; }
.yc-anim-delay-1 { animation-delay:.1s; }
.yc-anim-delay-2 { animation-delay:.2s; }
.yc-anim-delay-3 { animation-delay:.3s; }
.yc-anim-delay-4 { animation-delay:.4s; }

@keyframes yc-float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)} }

/* ========== 响应式 ========== */
@media screen and (max-width:1220px) {
    .yc-hero-inner { width: 100%; padding: 50px 20px 40px; box-sizing:border-box; }
    .yc-form-inner { width: 100%; padding: 24px 16px 12px; box-sizing:border-box; }
    .yc-advantage-inner { width: 100%; padding: 0 16px; box-sizing:border-box; }
    .yc-dest-wrap { width: 100%; padding: 0 16px; box-sizing:border-box; }
    .yc-trust-inner { width: 100%; padding: 0 16px; box-sizing:border-box; }
}

@media screen and (max-width:768px) {
    .yc-field-row { flex-direction: column; }
    .yc-field-dest,
    .yc-field-date,
    .yc-field-num { width: 100%; flex: none; }
    .yc-pills-row { flex-wrap: wrap; }
    .yc-contact-bar { flex-direction: column; }
    .yc-contact-fields { width: 100%; flex-direction: column; }
    .yc-field-note { width: 100%; }
    .yc-btn-submit { width: 100%; margin-top: 0; }
}
