/* 腾瑞停车场 parking999.com — 配色取自现场招牌蓝 + 车库地面黄线 */
:root {
    --primary-color: #1466c3;
    --primary-dark: #0b3f80;
    --ink: #0f1b2d;
    --text: #2c3a4d;
    --muted: #5d6b7e;
    --line: #dfe5ee;
    --bg: #f4f7fb;
    --white: #ffffff;
    --accent-color: #f5c400;
    --accent-dark: #c99c00;
    --dark-color: #0b1626;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(15, 27, 45, .08);
    --transition: all .25s ease;
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }

/* ---------------- Top bar & header ---------------- */
.topbar { background: var(--dark-color); color: rgba(255,255,255,.82); font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: var(--accent-color); font-weight: 600; }
.topbar-items { display: flex; gap: 18px; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(15,27,45,.05); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.logo a { display: flex; align-items: center; gap: 12px; color: var(--primary-color); text-decoration: none; transition: opacity .3s; }
.logo a:hover { opacity: .8; }
.logo img { width: 168px; height: auto; }
.logo-text { font-size: 1.22rem; font-weight: 800; color: var(--ink); letter-spacing: .08em; padding-left: 12px; border-left: 2px solid var(--line); white-space: nowrap; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a { display: block; padding: 8px 8px; color: var(--ink); font-weight: 600; font-size: .96rem; border-radius: 8px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--primary-color); background: #eaf2fc; }
.nav-cta { margin-left: 8px; }
.nav-cta a, .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: var(--transition); line-height: 1.3; text-align: center; }
.nav-cta a { background: var(--primary-color); color: #fff; padding: 9px 18px; }
.nav-cta a:hover { background: var(--primary-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: var(--transition); }

.btn-primary { background: var(--primary-color); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent-color); color: var(--ink); }
.btn-accent:hover { background: #ffd83d; color: var(--ink); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark-color); }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,40,.92) 0%, rgba(8,20,40,.72) 48%, rgba(8,20,40,.35) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 15em; }
.hero-eyebrow { display: inline-block; background: var(--accent-color); color: var(--ink); font-weight: 800; font-size: .88rem; padding: 4px 12px; border-radius: 6px; margin-bottom: 18px; letter-spacing: .06em; }
.hero-lead { font-size: 1.15rem; max-width: 36em; color: rgba(255,255,255,.88); margin-bottom: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 46px; max-width: 860px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.hero-facts div { padding: 16px 18px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-facts div:first-child { border-left: 0; }
.hero-facts strong { display: block; font-size: 1.45rem; color: var(--accent-color); line-height: 1.2; }
.hero-facts span { font-size: .9rem; color: rgba(255,255,255,.8); }

.page-hero { position: relative; color: #fff; background: var(--dark-color); overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255,255,255,.86); max-width: 40em; font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: .88rem; margin-bottom: 14px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--accent-color); }

/* ---------------- Sections ---------------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark-color); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; color: var(--primary-color); font-weight: 800; font-size: .9rem; letter-spacing: .12em; margin-bottom: 8px; }
.section-dark .kicker { color: var(--accent-color); }
.lead { font-size: 1.1rem; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* lot cards */
.lot-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: var(--transition); }
.lot-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,27,45,.12); }
.lot-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.lot-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.lot-tag { display: inline-block; align-self: flex-start; background: #eaf2fc; color: var(--primary-color); font-size: .8rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.lot-body h3 { margin-bottom: .35em; }
.lot-meta { list-style: none; padding: 0; margin: 0 0 18px; font-size: .95rem; }
.lot-meta li { padding: 7px 0; border-bottom: 1px dashed var(--line); display: flex; gap: 10px; }
.lot-meta li:last-child { border-bottom: 0; }
.lot-meta b { color: var(--ink); flex: 0 0 4.2em; }
.lot-body .btn { margin-top: auto; }

/* feature cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-alt .card { border-color: transparent; box-shadow: var(--shadow); }
.icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: #eaf2fc; color: var(--primary-color); margin-bottom: 16px; }
.icon svg { width: 28px; height: 28px; }
.card p:last-child { margin-bottom: 0; }

/* plans */
.plan { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 2px solid var(--line); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--primary-color); position: relative; }
.plan.featured::before { content: "最受欢迎"; position: absolute; top: -13px; left: 24px; background: var(--accent-color); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; }
.plan .plan-for { color: var(--muted); font-size: .95rem; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 22px; }
.plan li { padding: 7px 0 7px 28px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 3px solid var(--primary-color); border-bottom: 3px solid var(--primary-color); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px 22px; position: relative; box-shadow: var(--shadow); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-color); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps h3 { font-size: 1.08rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }

/* info table */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .97rem; }
.info-table th, .info-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { background: #eaf2fc; color: var(--ink); width: 30%; font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { min-width: 640px; }
.compare th { width: auto; }
.compare thead th { background: var(--primary-color); color: #fff; }

/* checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding: 6px 0 6px 30px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 13px; height: 7px; border-left: 3px solid var(--accent-dark); border-bottom: 3px solid var(--accent-dark); transform: rotate(-45deg); }

.note { background: #fff8db; border-left: 4px solid var(--accent-color); padding: 16px 20px; border-radius: 8px; color: var(--ink); font-size: .96rem; }
.note p:last-child { margin: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: #dfe5ee; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; cursor: zoom-in; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5,10,20,.92); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* faq */
.faq-list { max-width: 860px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--primary-color); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 22px 18px; }
.faq-item .faq-a p:last-child { margin: 0; }

/* article */
.article { max-width: 780px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; font-size: 1.5rem; }
.article h3 { margin-top: 1.3em; }
.article-meta { color: var(--muted); font-size: .92rem; margin-bottom: 24px; }
.guide-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); }
.guide-card:hover { color: var(--text); transform: translateY(-3px); }
.guide-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.guide-card .lot-body h3 { color: var(--ink); }
.related { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; }

/* map & contact */
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); display: block; background: #e7ecf3; }
.contact-cards .card h3 { font-size: 1.1rem; }
.big-phone { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); display: inline-block; }

.contact-form { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 14px; }
.contact-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { font-weight: 600; font-size: .92rem; color: var(--ink); display: block; margin-bottom: 4px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cdd6e2; border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(20,102,195,.15); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form button { justify-self: start; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--primary-dark), var(--primary-color)); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }

/* ---------------- Footer ---------------- */
footer { background: var(--dark-color); color: var(--white); padding: 3rem 0 1rem; margin-top: 0; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.15rem; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, 0.8); line-height: 1.8; }
.footer-section p { margin-bottom: .6rem; font-size: .95rem; }
.footer-section a:hover { color: var(--accent-color); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); font-size: .92rem; }
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-partner { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }

/* mobile call bar */
.call-bar { display: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) and (min-width: 1081px) {
    .main-nav a { padding: 8px 8px; font-size: .92rem; }
    .logo-text { display: none; }
}
@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .main-nav { position: fixed; top: 0; right: 0; width: min(320px, 86vw); height: 100vh; height: 100dvh; background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,.15); transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; padding: 80px 18px 30px; z-index: 150; }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .main-nav a { padding: 12px 14px; font-size: 1.02rem; }
    .nav-cta { margin: 12px 0 0; }
    .nav-toggle { position: relative; z-index: 160; }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .logo-text { display: inline; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split.reverse > :first-child { order: 0; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-facts div:nth-child(3) { border-left: 0; }
    .hero-facts div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    body { padding-bottom: 62px; }
    .container { padding: 0 16px; }
    .topbar .topbar-hours { display: none; }
    .site-header .container { min-height: 64px; }
    .logo img { width: 128px; }
    .logo-text { font-size: 1rem; padding-left: 10px; }
    .section { padding: 56px 0; }
    .hero .container { padding-top: 64px; padding-bottom: 64px; }
    .hero-lead { font-size: 1.02rem; }
    .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .contact-form { padding: 22px 18px; }
    .contact-form .row-2 { grid-template-columns: 1fr; }
    .info-table th { width: 36%; }
    .info-table th, .info-table td { padding: 12px 12px; }
    .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
    .call-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-weight: 800; color: #fff; background: var(--primary-color); }
    .call-bar a + a { background: var(--accent-color); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* page hero 背景图遮罩 */
.page-hero .hero-media, .page-hero .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,40,.94) 0%, rgba(8,20,40,.74) 55%, rgba(8,20,40,.45) 100%); }
.page-hero:not(:has(.hero-media))::after { background: radial-gradient(circle at 85% 20%, rgba(20,102,195,.45), transparent 55%), linear-gradient(110deg, #0b1626, #0b3f80); }

/* 页头宽度不足时先隐藏 logo 文字，避免与导航重叠 */
.logo { flex-shrink: 0; }
@media (max-width: 1260px) and (min-width: 1081px) { .logo-text { display: none; } }
.hero h1 { max-width: none; font-size: clamp(1.8rem, 4vw, 2.8rem); }
