/* =========================================================
   赤兔租车 品牌样式 (custom.css)
   主色: 赤兔红 #C8102E | 深色 #1F2329 | 点缀金 #E8A33D
   ========================================================= */

:root {
    --ct-red: #C8102E;
    --ct-red-dark: #A00D25;
    --ct-red-light: #E8334D;
    --ct-ink: #1F2329;
    --ct-gold: #E8A33D;
    --ct-gray: #F6F7F9;
}

/* ---------- 顶部信息条 ---------- */
.ct-topbar {
    background: var(--ct-ink);
    color: #cfd3d9;
    font-size: 13px;
    line-height: 38px;
    height: 38px;
}
.ct-topbar a { color: #fff; text-decoration: none; }
.ct-topbar .tel { color: var(--ct-gold); font-weight: 600; letter-spacing: .5px; }

/* ---------- 导航 ---------- */
.ct-navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(31, 35, 41, .08);
}
.ct-navbar .nav-link {
    color: var(--ct-ink);
    font-weight: 500;
    padding: 14px 14px !important;
    position: relative;
}
.ct-navbar .nav-link:hover,
.ct-navbar .nav-link.active {
    color: var(--ct-red);
}
.ct-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;
    width: 0;
    height: 3px;
    background: var(--ct-red);
    border-radius: 2px;
    transition: width .25s;
}
.ct-navbar .nav-link:hover::after,
.ct-navbar .nav-link.active::after {
    width: 24px;
}

/* 品牌文字LOGO */
.ct-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.ct-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ct-red), var(--ct-red-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(200, 16, 46, .35);
}
.ct-brand-text { line-height: 1.15; }
.ct-brand-text b {
    display: block;
    font-size: 22px;
    color: var(--ct-ink);
    letter-spacing: 2px;
}
.ct-brand-text b i { color: var(--ct-red); font-style: normal; }
.ct-brand-text span {
    display: block;
    font-size: 11px;
    color: #9aa0a8;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* ---------- Banner 轮播 ---------- */
.ct-banner .slideshow {
    width: 100%;
    height: 560px;
    object-fit: cover;
}
@media (max-width: 991.98px) { .ct-banner .slideshow { height: 420px; } }
@media (max-width: 575.98px) { .ct-banner .slideshow { height: 260px; } }

.ct-banner .swiper-slide { position: relative; background: #111; }
.ct-banner .slide-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, .68) 0%, rgba(17, 17, 17, .35) 45%, rgba(17, 17, 17, .05) 75%);
}
.ct-banner .slide-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.ct-banner h2 {
    color: #fff;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}
.ct-banner h2 em {
    font-style: normal;
    color: var(--ct-gold);
}
.ct-banner p {
    color: #f2f3f5;
    font-size: 18px;
    margin-top: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.ct-banner .slide-btns { margin-top: 28px; }
@media (max-width: 767.98px) {
    .ct-banner h2 { font-size: 26px; letter-spacing: 2px; }
    .ct-banner p { font-size: 14px; margin-top: 8px; }
    .ct-banner .slide-btns { margin-top: 16px; }
}
.ct-btn {
    display: inline-block;
    padding: 11px 34px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all .25s;
}
.ct-btn-red { background: var(--ct-red); color: #fff !important; border: 1px solid var(--ct-red); }
.ct-btn-red:hover { background: var(--ct-red-dark); border-color: var(--ct-red-dark); }
.ct-btn-ghost { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .7); margin-left: 14px; }
.ct-btn-ghost:hover { background: #fff; color: var(--ct-ink) !important; }
.ct-banner .swiper-pagination-bullet-active { background: var(--ct-red); }

/* ---------- 信任条 ---------- */
.ct-trust {
    background: #fff;
    border-bottom: 1px solid #eceef1;
}
.ct-trust .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 26px 10px;
}
.ct-trust .item i {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(200, 16, 46, .08);
    color: var(--ct-red);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}
.ct-trust .item b { display: block; font-size: 16px; color: var(--ct-ink); }
.ct-trust .item span { font-size: 13px; color: #8a9099; }

/* ---------- 区块标题 ---------- */
.ct-section { padding: 64px 0; }
.ct-section-gray { background: var(--ct-gray); }
@media (max-width: 575.98px) { .ct-section { padding: 40px 0; } }
.ct-head { text-align: center; margin-bottom: 40px; }
.ct-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--ct-ink);
    position: relative;
    display: inline-block;
    padding: 0 18px;
    letter-spacing: 2px;
}
.ct-head h2::before,
.ct-head h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 46px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ct-red));
}
.ct-head h2::before { right: 100%; }
.ct-head h2::after { left: 100%; background: linear-gradient(90deg, var(--ct-red), transparent); }
.ct-head p { color: #9aa0a8; font-size: 14px; margin-top: 10px; letter-spacing: 3px; }
@media (max-width: 575.98px) {
    .ct-head h2 { font-size: 24px; }
    .ct-head h2::before, .ct-head h2::after { width: 26px; }
}

/* ---------- 车辆卡片 ---------- */
.ct-tabs { text-align: center; margin-bottom: 34px; }
.ct-tabs a {
    display: inline-block;
    padding: 8px 22px;
    margin: 4px;
    border-radius: 22px;
    font-size: 15px;
    color: var(--ct-ink);
    background: #fff;
    border: 1px solid #e4e6ea;
    text-decoration: none;
    transition: all .2s;
}
.ct-tabs a:hover, .ct-tabs a.active {
    background: var(--ct-red);
    border-color: var(--ct-red);
    color: #fff;
}
.car-card {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    overflow: hidden;
    transition: all .3s;
    height: 100%;
}
.car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(31, 35, 41, .13);
}
.car-card .pic {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f0f1f3;
}
.car-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.car-card:hover .pic img { transform: scale(1.06); }
.car-card .tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ct-red);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 1px;
}
.car-card .body { padding: 16px 18px 18px; }
.car-card .body h3 {
    font-size: 17px;
    color: var(--ct-ink);
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.car-card .body h3 a { color: inherit; text-decoration: none; }
.car-card .meta { font-size: 13px; color: #9aa0a8; }
.car-card .price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-top: 1px dashed #e8eaee;
    margin-top: 12px;
    padding-top: 12px;
}
.car-card .price b { font-size: 26px; color: var(--ct-red); font-weight: 700; }
.car-card .price small { color: #9aa0a8; }
.car-card .go {
    font-size: 13px;
    color: var(--ct-red);
    text-decoration: none;
    font-weight: 600;
}
.car-card .go:hover { text-decoration: underline; }

/* ---------- 四道关(服务承诺) ---------- */
.ct-step {
    background: #fff;
    border-radius: 10px;
    padding: 30px 24px;
    text-align: center;
    height: 100%;
    border: 1px solid #eceef1;
    position: relative;
    overflow: hidden;
}
.ct-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ct-red), var(--ct-gold));
    opacity: 0;
    transition: opacity .3s;
}
.ct-step:hover::before { opacity: 1; }
.ct-step .num {
    font-size: 44px;
    font-weight: 800;
    color: rgba(200, 16, 46, .12);
    line-height: 1;
}
.ct-step i {
    font-size: 34px;
    color: var(--ct-red);
    margin: 10px 0 14px;
    display: block;
}
.ct-step h3 { font-size: 18px; color: var(--ct-ink); margin-bottom: 10px; }
.ct-step p { font-size: 13.5px; color: #8a9099; margin: 0; line-height: 1.9; }

/* ---------- 关于我们(首页) ---------- */
.ct-about {
    background: #fff;
    border-radius: 12px;
    padding: 34px 34px 30px;
    height: 100%;
}
.ct-about .badge-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 163, 61, .12);
    color: #b07a1e;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}
.ct-about h3 { font-size: 24px; color: var(--ct-ink); margin: 16px 0 12px; }
.ct-about p { color: #6b7280; font-size: 14.5px; line-height: 2; }
.ct-about .quote {
    border-left: 3px solid var(--ct-red);
    background: var(--ct-gray);
    padding: 14px 18px;
    border-radius: 0 8px 8px 0;
    color: var(--ct-ink);
    font-size: 14px;
    line-height: 2;
}
.ct-about-pic {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 100%;
    min-height: 320px;
}
.ct-about-pic img { width: 100%; height: 100%; object-fit: cover; }
.ct-about-pic .float {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(17, 17, 17, .78));
    color: #fff;
    padding: 40px 22px 18px;
}
.ct-about-pic .float b { font-size: 17px; letter-spacing: 1px; }

/* ---------- 案例卡片 ---------- */
.case-card {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: all .3s;
}
.case-card:hover { box-shadow: 0 14px 30px rgba(31, 35, 41, .12); transform: translateY(-4px); }
.case-card .pic { height: 168px; overflow: hidden; }
.case-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .pic img { transform: scale(1.05); }
.case-card .body { padding: 16px 18px; }
.case-card .body h3 {
    font-size: 15.5px;
    margin: 0 0 8px;
    line-height: 1.6;
    color: var(--ct-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.case-card .body h3 a { color: inherit; text-decoration: none; }
.case-card .body p {
    font-size: 13px;
    color: #9aa0a8;
    margin: 0;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 新闻区 ---------- */
.ct-news-feature {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eceef1;
    display: block;
    text-decoration: none;
    height: 100%;
    transition: all .3s;
}
.ct-news-feature:hover { box-shadow: 0 14px 30px rgba(31, 35, 41, .12); }
.ct-news-feature .pic { height: 230px; overflow: hidden; }
.ct-news-feature .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ct-news-feature:hover .pic img { transform: scale(1.05); }
.ct-news-feature .body { padding: 18px 20px; }
.ct-news-feature .body h4 { font-size: 17px; color: var(--ct-ink); line-height: 1.6; margin: 0 0 8px; }
.ct-news-feature .body h4 a { color: inherit; text-decoration: none; }
.ct-news-feature .body h4 a:hover { color: var(--ct-red); }
.ct-news-feature .body p { font-size: 13px; color: #9aa0a8; line-height: 1.9; margin: 0; }
.ct-news-list {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 8px 22px;
    height: 100%;
}
.ct-news-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px dashed #eceef1;
}
.ct-news-list li:last-child { border-bottom: 0; }
.ct-news-list .date {
    flex: none;
    width: 56px;
    text-align: center;
    background: var(--ct-gray);
    border-radius: 6px;
    padding: 6px 0;
}
.ct-news-list .date b { display: block; font-size: 20px; color: var(--ct-red); line-height: 1; }
.ct-news-list .date span { font-size: 11px; color: #9aa0a8; }
.ct-news-list .txt { flex: 1; min-width: 0; }
.ct-news-list .txt a {
    color: var(--ct-ink);
    text-decoration: none;
    font-size: 14.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
}
.ct-news-list .txt a:hover { color: var(--ct-red); }
.ct-news-list .txt em { font-style: normal; font-size: 12px; color: #b6bac1; }

/* ---------- CTA 横条 ---------- */
.ct-band {
    background: linear-gradient(120deg, var(--ct-red-dark) 0%, var(--ct-red) 60%, var(--ct-red-light) 100%);
    color: #fff;
    padding: 42px 0;
}
.ct-band h3 { font-size: 26px; font-weight: 700; letter-spacing: 2px; margin: 0 0 8px; }
.ct-band p { margin: 0; opacity: .9; font-size: 14px; }
.ct-band .ct-btn-white {
    background: #fff;
    color: var(--ct-red) !important;
    border: 0;
    padding: 12px 38px;
    font-size: 15px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    letter-spacing: 2px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.ct-band .ct-btn-white:hover { transform: translateY(-2px); }

/* ---------- 底部 ---------- */
.ct-footer {
    background: var(--ct-ink);
    color: #b7bcc4;
    padding: 54px 0 0;
    font-size: 14px;
}
.ct-footer h4 {
    color: #fff;
    font-size: 17px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.ct-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--ct-red);
}
.ct-footer a { color: #b7bcc4; text-decoration: none; }
.ct-footer a:hover { color: #fff; }
.ct-footer .fbrand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.ct-footer .fbrand .ct-brand-mark { width: 46px; height: 46px; }
.ct-footer .fbrand b { color: #fff; font-size: 22px; letter-spacing: 2px; display: block; }
.ct-footer .fbrand span { color: #8a9099; font-size: 11px; letter-spacing: 2px; }
.ct-footer .about-txt { line-height: 2; font-size: 13.5px; }
.ct-footer ul.fnav li { margin-bottom: 10px; }
.ct-footer ul.fnav li a { font-size: 13.5px; }
.ct-footer .fcontact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
    font-size: 13.5px;
}
.ct-footer .fcontact i { color: var(--ct-red); margin-top: 3px; }
.ct-footer .copyright {
    border-top: 1px solid #2c3138;
    margin-top: 40px;
    padding: 18px 0;
    font-size: 12.5px;
    color: #7c828b;
    text-align: center;
}
.ct-footer .copyright a { color: #7c828b; }
.ct-footer .aaa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #3a4048;
    border-radius: 6px;
    padding: 8px 14px;
    margin-top: 18px;
    font-size: 12.5px;
    color: #d5d9de;
}
.ct-footer .aaa i { color: var(--ct-gold); font-size: 16px; }

/* 手机底部栏 */
.ct-footnav {
    background: var(--ct-ink);
    z-index: 1030;
}
.ct-footnav a {
    color: #c9cdd3;
    display: block;
    padding: 9px 0;
    font-size: 12.5px;
    text-decoration: none;
}
.ct-footnav a i { display: block; font-size: 18px; margin-bottom: 2px; color: #fff; }
.ct-footnav .tel-cell a { color: var(--ct-gold); font-weight: 600; }
.ct-footnav .tel-cell a i { color: var(--ct-gold); }

/* ---------- 悬浮工具 ---------- */
.ct-float {
    position: fixed;
    right: 16px;
    bottom: 90px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-float a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(31, 35, 41, .22);
}
.ct-float .tel { background: var(--ct-red); color: #fff; }
.ct-float .top { background: rgba(31, 35, 41, .82); color: #fff; display: none; }
.ct-float .top.show { display: flex; }
@media (max-width: 575.98px) { .ct-float { bottom: 66px; } }

/* ---------- 栏目页顶部 ---------- */
.ct-pagetop {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 58px 0;
    position: relative;
}
.ct-pagetop::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, .72), rgba(17, 17, 17, .38));
}
.ct-pagetop .container { position: relative; }
.ct-pagetop h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 3px;
    margin: 0 0 8px;
}
.ct-pagetop p { margin: 0; font-size: 14.5px; color: #dfe2e6; letter-spacing: 1px; }
@media (max-width: 575.98px) {
    .ct-pagetop { padding: 34px 0; }
    .ct-pagetop h1 { font-size: 22px; }
}

/* ---------- 位置面包屑 ---------- */
.ct-crumbs {
    color: #9aa0a8;
    font-size: 13px;
    padding: 14px 0;
}
.ct-crumbs a { color: #9aa0a8; text-decoration: none; }
.ct-crumbs a:hover { color: var(--ct-red); }

/* ---------- 车辆详情页 ---------- */
.ct-car-info {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 24px 26px;
    height: 100%;
}
.ct-car-info h2 { font-size: 24px; color: var(--ct-ink); margin: 0 0 6px; }
.ct-car-info .price-big {
    background: rgba(200, 16, 46, .05);
    border: 1px dashed rgba(200, 16, 46, .35);
    border-radius: 8px;
    padding: 14px 18px;
    margin: 16px 0;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.ct-car-info .price-big span { color: var(--ct-red); font-size: 14px; }
.ct-car-info .price-big b { color: var(--ct-red); font-size: 38px; font-weight: 800; line-height: 1; }
.ct-car-info .price-big small { color: #9aa0a8; font-size: 13px; }
.ct-car-info ul.spec { list-style: none; padding: 0; margin: 0 0 18px; }
.ct-car-info ul.spec li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed #eceef1;
    font-size: 14px;
}
.ct-car-info ul.spec li span:first-child {
    width: 90px;
    flex: none;
    color: #9aa0a8;
}
.ct-car-info .includes li {
    font-size: 13.5px;
    color: #6b7280;
    display: flex;
    gap: 8px;
    padding: 5px 0;
}
.ct-car-info .includes li i { color: var(--ct-red); font-size: 13px; margin-top: 3px; }

/* 车辆列表页筛选 */
.ct-filter {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.ct-filter .row { align-items: center; }
.ct-filter .lab { color: #9aa0a8; font-size: 14px; }
.ct-filter a {
    display: inline-block;
    padding: 5px 16px;
    margin: 3px 4px 3px 0;
    border-radius: 18px;
    font-size: 13.5px;
    color: var(--ct-ink);
    background: var(--ct-gray);
    text-decoration: none;
    border: 1px solid transparent;
}
.ct-filter a:hover { color: var(--ct-red); }
.ct-filter a.active {
    background: var(--ct-red);
    color: #fff;
}

/* 预约表单 */
.ct-form-card {
    background: #fff;
    border: 1px solid #eceef1;
    border-radius: 12px;
    padding: 30px 28px;
    box-shadow: 0 8px 26px rgba(31, 35, 41, .06);
}
.ct-form-card .form-label { font-weight: 600; color: var(--ct-ink); }
.ct-form-card .form-control { padding: 10px 14px; }
.ct-form-card .btn-submit {
    background: var(--ct-red);
    border: 0;
    color: #fff;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
}
.ct-form-card .btn-submit:hover { background: var(--ct-red-dark); }
.ct-form-tip { font-size: 13px; color: #9aa0a8; line-height: 2; }

/* 内容页排版增强 */
.content h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--ct-ink);
    margin: 30px 0 14px;
    padding-left: 12px;
    border-left: 4px solid var(--ct-red);
    line-height: 1.4;
}
.content blockquote {
    background: var(--ct-gray);
    border-left: 4px solid var(--ct-red);
    padding: 14px 20px;
    color: #55606b;
    font-size: 14.5px;
    line-height: 2;
    margin: 18px 0;
    border-radius: 0 8px 8px 0;
}
.content p { line-height: 2.1; color: #4b5158; }
.content table { width: 100%; border-collapse: collapse; }
.content table td { padding: 10px 14px; }
.content li { line-height: 2.1; color: #4b5158; }

/* 评论与分页配色统一 */
.pagination .page-item.active .page-link,
.pagination > .active > a {
    background: var(--ct-red) !important;
    border-color: var(--ct-red) !important;
    color: #fff !important;
}
.page-link { color: var(--ct-red); }

/* 手机端微调 */
@media (max-width: 575.98px) {
    .ct-trust .item { padding: 16px 6px; }
    .ct-trust .item i { width: 42px; height: 42px; font-size: 19px; }
    .ct-trust .item b { font-size: 14px; }
    .ct-trust .item span { font-size: 12px; }
    .ct-about { padding: 22px 18px; }
    .ct-about-pic { min-height: 220px; }
    .ct-band { text-align: center; }
    .ct-band .text-md-end { margin-top: 18px; }
}
