/* ==========================================
   pages.css - 广州奥迪通租车官网页面专用样式
   包含：内页、新闻、价格表等专用样式
   版本: 2.0 | 更新: 2026-04-05
   ========================================== */

/* ============ 中巴大巴展示 ============ */
.side_dazhongba {
    display: grid;
    grid-template-rows: 43vh 43vh;
    grid-template-columns: 50% 50%;
    grid-gap: 10px;
    margin-bottom: 30px;
}

.side_dazhongba li {
    background-position: center center;
    background-repeat: no-repeat;
}

/* ============ 跨境租车展示 ============ */
.side_zhonggang {
    display: grid;
    justify-content: space-evenly;
    grid-template-columns: repeat(auto-fill, 540px);
    grid-template-rows: 720px;
    grid-gap: 10px;
    margin-top: 3rem;
}

.side_zhonggang li {
    background-position: center center;
    background-repeat: no-repeat;
}

/* ============ 商务车展示 ============ */
.side_shangwu {
    display: grid;
    justify-content: space-evenly;
    grid-template-columns: repeat(auto-fill, 540px);
    grid-template-rows: 404px;
    grid-gap: 10px;
}

/* ============ 价格表 ============ */
.jiage {
    display: grid;
    width: 80%;
    grid-template-columns: 10rem 1fr 1fr;
    gap: 2px;
    letter-spacing: 2px;
    text-align: center;
}

/* ============ 页面导航 ============ */
.nav_tit {
    position: relative;
    margin: 0 0 3rem 1rem;
}

.menubox {
    cellspacing: 5px;
}

.p {
    width: 660px;
    margin-top: 10px;
}

.p li {
    width: 220px;
    float: left;
}

.p1 {
    width: 220px;
    text-align: center;
    height: 150px;
}

.p2 {
    width: 220px;
    height: 30px;
    line-height: 20px;
    text-align: center;
}

/* ============ 服务网格表格（优化版） ============ */
.BiaoGe {
    display: grid;
    gap: 2px;
    letter-spacing: 2px;
    line-height: 2.5rem;
    text-align: center;
    align-content: center;
    padding: 0 7%;
    margin: 1rem auto 2rem;
}

.BiaoGe h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2rem;
    padding: 0;
    line-height: 1.7;
}

.BiaoGe .th {
    grid-column: span 3;
}

.BiaoGe .ZhongGang_row {
    grid-row: span 7;
}

.BiaoGe div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 3px;
}

.r3 {
    grid-row: span 3;
}

.r6 {
    grid-row: span 6;
}

.r7 {
    grid-row: span 7;
}

.r9 {
    grid-row: span 9;
}

.c3 {
    background-color: var(--light);
    border-bottom: 1px solid #eee;
    border-right: var(--primary) 0.37rem solid;
    color: var(--accent);
    font-weight: bold;
}

/* 车辆标签 */
.vehicle-tags {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    width: 100%;
}

.tag {
    background: var(--light-blue);
    color: var(--secondary-light);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    white-space: nowrap;
    padding: 8px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* 价格单元格 */
.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent);
}

.price-note {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.BG_3column {
    grid-template-columns: minmax(1rem, 1.3fr) minmax(2rem, 3.1fr) minmax(1.5rem, 2fr);
}

.BG_3column .sm {
    grid-column: span 3;
}

/* ============ 简洁提示框 ============ */
.simple-tip {
    border-left: 5px solid var(--primary);
    padding: 25px 30px;
    margin: 2rem;
    box-shadow: 0 4px 12px rgba(39, 170, 222, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: linear-gradient(to right, #f8fcff 0%, #ffffff 30%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simple-tip:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(39, 170, 222, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1);
}

.simple-tip h3 {
    margin: 0 0 1.2rem 0;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    padding-left: 2.3rem;
}

.simple-tip ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.simple-tip ul li::before {
    content: "✔";
    color: var(--primary);
    font-size: 1.4rem;
    margin-right: 0.2rem;
}

.simple-tip li {
    padding: 12px 15px;
    margin: 1rem;
    background: rgba(39, 170, 222, 0.05);
    border-radius: 6px;
    line-height: 1.5;
    transition: background 0.3s ease;
}

.simple-tip li:hover {
    background: rgba(39, 170, 222, 0.1);
}

.simple-tip li strong {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
}

/* ============ 优势部分优化 ============ */
.advantage-item {
    margin-bottom: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advantage-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.adv-title {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.adv-title .icon {
    background: #fff;
    font-weight: bold;
    border: 2px solid var(--secondary);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sub-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    padding-left: 0.5rem;
    font-weight: 600;
    border-left: 3px solid var(--accent);
}

.sub-title span {
    font-size: 22px;
    margin-right: 7px;
}

.adv-list {
    list-style: none;
    padding-left: 1.5rem;
    flex-direction: column;
}

.adv-list li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
}

.adv-list li::before {
    content: "\25B6";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.1rem;
    line-height: 1.8;
    top: 0;
    font-weight: bold;
}

/* 关键信息高亮 */
.adv-list li strong {
    color: #e74c3c;
    font-weight: 600;
}

/* ============ 常见问题 ============ */
.faq-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin: 3rem auto;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 2;
}

.faq-title {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    list-style: none;
}

.faq-question {
    background: var(--light);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.faq-question:hover {
    background: #e3f2fd;
}

.faq-answer {
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid #ddd;
}

/* ============ 按钮样式 ============ */
.button {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    color: #fff;
    z-index: 1000;
}

.button li .cta-button {
    display: inline-block;
    color: white;
    padding: 14px 28px 14px 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    line-height: 1.3;
    letter-spacing: 1px;
    z-index: 1020;
}

.button li .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 108, 176, 0.3);
}

.button li:nth-child(1) .cta-button {
    background: url('../images/dianhua-100.png') 5px no-repeat,
        linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    background-size: 3.2rem auto, cover;
    font-size: 1.2rem;
    padding-left: 3.4rem;
}

.button li:nth-child(2) .cta-button {
    background: url('../images/weixin.png') 10px no-repeat,
        linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    background-size: 3rem auto, cover;
    font-size: 1.1rem;
    padding-left: 4rem;
}

/* ============ 适用场景 ============ */
.scenarios {
    padding: 30px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 30px;
}

.scenarios h2 {
    text-align: center;
    color: var(--secondary-light);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.scenario-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.scenario-card h3 {
    color: var(--secondary-light);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.scenario-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============ 联系区域 ============ */
.contact-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 1rem;
    border: 2px solid var(--primary);
    padding-bottom: 2rem !important;
}

.contact-section h3 {
    text-align: center;
    color: var(--secondary);
    margin: 1rem;
}

.contact-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* ============ 分页样式 ============ */
.pagestyle {
    text-align: center;
    width: 100%;
    line-height: 1.5;
    font-size: 1.5rem;
}

.pages {
    BORDER: var(--purple) 1px solid;
    PADDING: 3px 4px 3px 4px;
    MARGIN: 5px;
    BACKGROUND: var(--purple);
    COLOR: #ffffff;
}

/* ============ 免责声明 ============ */
.disclaimer {
    background: #fff3e0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--warn);
}

/* ============ 本地优势区域 ============ */
.local-advantages {
    background: var(--light-blue);
    border-radius: 10px;
    padding: 20px;
    margin: 0 15px 30px;
    border-left: 4px solid var(--primary);
}

.local-advantages ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.local-advantages li {
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* ============ 页面副标题 ============ */
.page-subtitle {
    text-align: center;
    color: var(--dark);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    padding: 0 15px;
}

/* ============ 行动号召 ============ */
.cta-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

.cta-quote {
    font-style: italic;
    color: #4a5568;
    font-size: 1.1rem;
    margin: 20px 0 20px 0;
    line-height: 1.6;
}

/* ============ 内页头部Hero ============ */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #eef2f8;
}

.hero h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, #1e3a5f, #0f2b45);
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 0 0 30px 30px;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero .sub {
    font-size: 1.4rem;
    color: #2c5a7a;
    max-width: 800px;
    margin: 0 auto;
}

.badge-scarcity {
    display: inline-block;
    background: #ffeed9;
    color: #c45c00;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.8rem;
}

/* ============ 卡片网格 ============ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    border: 1px solid #e9edf2;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #cde5f5;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e4663;
}

.card p, .card li {
    color: #2c3e4e;
    line-height: 1.6;
}

.feature-list {
    flex-direction: column;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 0.7rem;
    padding-left: 1.6rem;
    position: relative;
}

.feature-list li::before {
    content: "✓";
    color: #27aade;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ============ 表格区域 ============ */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    min-width: 600px;
}

th {
    background-color: #f0f6fc;
    padding: 14px 14px;
    font-weight: 700;
    color: #1f3a5f;
    border-bottom: 2px solid #dce5ef;
}

td {
    padding: 14px;
    border-bottom: 1px solid #eef2f8;
    vertical-align: top;
}

tr:hover td {
    background-color: #fafcff;
}

.highlight-scarce {
    background-color: #fff4e8;
    font-weight: 600;
    color: #b45a1a;
}

/* ============ 中巴提示条 ============ */
.link-banner {
    background: #eaf6ff;
    border-left: 5px solid #27aade;
    padding: 1.2rem 1.8rem;
    border-radius: 20px;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 2;
}

.link-banner a {
    background: #27aade;
    color: white;
    padding: 0.6rem 1.6rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    white-space: nowrap;
}

.link-banner a:hover {
    background: #1e8bb8;
}

/* ============ 客户徽章 ============ */
.client-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.client-badge {
    background: white;
    border: 1px solid #dce5ef;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
}

.client-badge:hover {
    background: #27aade;
    color: white;
    border-color: #27aade;
}

.service-count {
    text-align: center;
    background: #eef4fa;
    padding: 1.2rem;
    border-radius: 60px;
    font-size: 1.05rem;
    margin-top: 1rem;
}

.service-count strong {
    font-size: 1.6rem;
    color: #1e4663;
}

/* ============ 场景标签 ============ */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1rem 0 1.5rem;
}

.tags .tag {
    background: #ecf5fc;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e5f82;
}

/* ============ 点缀列表 ============ */
.dot-list {
    list-style: none;
    padding-left: 0;
}

.dot-list li {
    margin-bottom: 0.5rem;
    padding-left: 1.4rem;
    position: relative;
}

.dot-list li::before {
    content: "●";
    color: #27aade;
    position: absolute;
    left: 0;
}

/* ============ 分隔线 ============ */
hr {
    margin: 2rem 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #cbdde9, transparent);
}

/* ============ 内页底部 ============ */
footer {
    text-align: center;
    font-size: 0.85rem;
    color: #6c7a89;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

/* ============ 响应式 - 平板 ============ */
@media (max-width: 768px) {
    .side_dazhongba {
        grid-template-rows: repeat(4, 30vh);
        grid-template-columns: 100%;
    }

    .side_zhonggang {
        grid-template-rows: repeat(2, 133vw);
    }

    .side_dazhongba li,
    .side_zhonggang li {
        background-size: contain;
    }

    .side_shangwu {
        grid-template-columns: 100%;
        grid-template-rows: repeat(2, 75vw);
    }

    .side_shangwu li {
        background-size: contain;
    }

    #video {
        grid-template-columns: 98%;
        grid-row-gap: 1rem;
    }

    .jiage {
        width: 100%;
        grid-template-columns: 0.5fr minmax(2rem, 1.5fr) 1.5fr;
        letter-spacing: 1px;
    }

    .BiaoGe {
        gap: 1px;
        letter-spacing: 1px;
        line-height: 1.5;
        padding: 0 2%;
    }

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

    /* 第一列统一颜色 */
    .BG_3C > div:nth-child(3n+1) {
        font-weight: 700;
    }

    /* 第二列统一颜色 */
    .BG_3C > div:nth-child(2) {
        -webkit-text-stroke: 1px rgba(0, 0, 0, 0.3);
    }

    .BG_3C > div:nth-child(3n+2) {
        color: var(--green);
    }

    /* 第三列统一颜色 */
    .BG_3C > div:nth-child(3n+3) {
        color: #000;
    }

    /* 排除按钮区域干扰 */
    .BG_3C .sm {
        color: inherit;
    }

    .BG_3C .sm .cta-button {
        color: #fff;
    }

    .c3 {
        border-right: 0;
    }

    .simple-tip {
        padding: 15px 8px;
        margin: 0.5rem;
        line-height: 1.5;
    }

    .simple-tip li {
        padding: 5px;
        margin: 0.5rem;
        border-radius: 6px;
        line-height: 1.5;
        transition: background 0.3s ease;
    }

    .advantage-container {
        margin: 0 auto;
        padding: 0.5rem;
    }

    .advantage-item {
        padding: 0.3rem;
        margin-bottom: 30px;
    }

    .adv-title {
        font-size: 1.5rem;
    }

    .sub-title {
        font-size: 16px;
    }

    .sub-title span {
        font-size: 1.8rem;
        display: inline-block;
        margin: 0 8px 0 2px;
        transform: translateY(-5px);
    }

    .adv-list {
        padding: 5px;
    }

    .adv-list li {
        font-size: 15px;
        line-height: 1.6;
    }

    .adv-list li::before {
        font-size: 1.4rem;
    }

    .faq-container {
        padding: 1rem;
    }

    .faq-question {
        font-size: 1.1rem;
        padding: 0.8rem;
    }

    .button {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 50%);
        background: linear-gradient(135deg, var(--primary) 0%, #2b6cb0 100%);
        gap: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        color: #fff;
        height: 7.3vh;
    }

    /* 移除所有按钮的渐变，只保留图标背景 */
    .button li .cta-button {
        display: inline-block;
        width: 100%;
        padding: 0;
        border-radius: 0;
        height: 7.3vh;
        line-height: 7.3vh;
        background: none !important;
        background-color: transparent !important;
        color: #fff !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        font-weight: 400;
        letter-spacing: 0px;
    }

    /* 重新为每个按钮单独设置图标背景 */
    .button li:nth-child(1) .cta-button {
        background: url('../images/dianhua-100.png') 7px center/3rem auto no-repeat !important;
        background-color: transparent !important;
        padding-left: 3.2rem;
    }

    .button li:nth-child(2) .cta-button {
        background: url('../images/weixin.png') 10px center/2.8rem auto no-repeat !important;
        background-color: transparent !important;
        padding-left: 3rem;
    }

    .container {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 1.4rem;
        padding: 0.4rem 1rem;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    .link-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 1.4rem;
        padding: 0.4rem 1rem;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    .link-banner {
        flex-direction: column;
        text-align: center;
    }
}
