/* 交个朋友 官网样式 —— 浅色版：白 / 米白为底，明黄为主色，深灰文字（与业务系统、画册浅色版统一） */
:root {
  --yellow: #F5C518;
  --yellow-2: #FFE07A;
  --ink: #2B2B2B;
  --ink-2: #4A4A4A;
  --yellow-soft: #FFF4C7;
  --yellow-ink: #8A6A00;
  --yellow-dk: #D9AC00;
  --paper: #FBF9F4;
  --paper-2: #F4F0E6;
  --line: #ECE7DB;
  --muted: #5C5C5C;
  --white: #FFFFFF;
  --radius: 14px;
  --wrap: 1200px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  --latin: 'Montserrat', 'Noto Sans SC', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 48px, 800px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.6); }
.btn-ghost:hover { background: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.eyebrow { font-family: var(--latin); font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.lead { font-size: 18px; color: var(--muted); margin-top: 14px; max-width: 720px; }
.chip { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-right: 10px; }

/* 页头 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); color: var(--ink); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; background: var(--yellow); border-radius: 12px; display: grid; place-items: center; flex: none; }
.brand-mark.lg { width: 72px; height: 72px; border-radius: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; font-weight: 900; letter-spacing: .04em; }
.brand-text small { font-family: var(--latin); font-size: 10px; letter-spacing: .26em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.main-nav > a:hover { color: var(--ink); background: var(--paper-2); }
.main-nav > a[aria-current="page"] { color: var(--ink); background: var(--yellow); font-weight: 700; }
.lang-switch { display: flex; margin-left: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { text-decoration: none; font-size: 13px; padding: 6px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--yellow); color: var(--ink); font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); width: 48px; height: 48px; cursor: pointer; }

/* 首屏 */
.hero { position: relative; background: linear-gradient(135deg, #FFFBEA 0%, #FFF1B8 100%); color: var(--ink); overflow: hidden; }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 46%; background: url('/static/site/images/tower.jpg') center / cover no-repeat; opacity: .95; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #FFF6D1 0%, rgba(255,246,209,.15) 60%); }
.hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--yellow); z-index: 1; }
.hero-inner { position: relative; z-index: 2; padding: 120px 0 128px; max-width: var(--wrap); }
.hero .eyebrow { color: var(--yellow-ink); }
.hero h1 { font-size: clamp(32px, 6vw, 76px); font-weight: 900; letter-spacing: .01em; max-width: 760px; }
.hero-text { font-size: 19px; color: var(--ink-2); max-width: 600px; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* 数字条 */
.facts { background: var(--yellow); border-top: 1px solid var(--yellow-dk); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { padding: 32px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1.5px solid rgba(28,28,28,.25); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { font-family: var(--latin); font-size: 36px; font-weight: 800; line-height: 1.1; }
.fact span { font-size: 15px; font-weight: 500; }

/* 区块 */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: #FFFBEA; color: var(--ink); }
.section.dark .eyebrow { color: var(--yellow-ink); }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-head { background: linear-gradient(135deg, #FFFBEA 0%, #FFF1B8 100%); color: var(--ink); padding: 88px 0 72px; position: relative; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--yellow); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 900; }
.page-head .eyebrow { color: var(--yellow-ink); }
.page-head .lead { color: var(--ink-2); }

/* 服务卡片 */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.svc-grid.detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.svc-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 96px; }
.svc-top { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 4px solid var(--yellow); }
.svc-top img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.svc-top h3 { font-size: 24px; font-weight: 900; }
.svc-tag { font-size: 14px; color: var(--muted); }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.svc-list li { position: relative; padding-left: 18px; font-size: 16px; }
.svc-list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-dk); }
.svc-box { border-radius: 10px; padding: 16px 18px; }
.svc-box ul { margin: 8px 0 0; padding-left: 18px; font-size: 15px; }
.svc-box li + li { margin-top: 4px; }
.svc-box.risk { background: var(--paper-2); }
.svc-box.good { background: var(--yellow-soft); color: var(--ink); }
.box-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.svc-box.good .box-h { color: var(--yellow-ink); }

/* 关于 + 优势 */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.about-split h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; }
.about-split p { color: var(--ink-2); margin-top: 18px; }
.about-split .btn { margin-top: 32px; }
.big-quote { font-size: 28px; font-weight: 900; color: var(--ink) !important; letter-spacing: .06em; }
.big-quote::after { content: ""; display: block; width: 56px; height: 4px; background: var(--yellow); margin-top: 14px; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.why { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-n { font-family: var(--latin); font-weight: 800; color: var(--yellow-ink); font-size: 15px; }
.why h3 { font-size: 19px; font-weight: 700; margin-top: 10px; }
.why p { font-size: 15px; color: var(--muted); margin-top: 8px; }
.why-grid.light { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-grid.light .why { background: var(--white); border-color: var(--line); }
.why-grid.light .why-n { color: var(--ink); background: var(--yellow); padding: 2px 8px; border-radius: 6px; }
.why-grid.light .why p { color: var(--muted); }

.about-page { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.mission { margin-top: 32px; background: var(--yellow-soft); color: var(--ink); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; }
.mission span { color: var(--yellow-ink); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.mission strong { font-size: 22px; }

/* 文章卡片 */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--line); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28,28,28,.08); }
.post-cover { display: block; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--yellow); }
.post-cover .card-ph img { width: 72px; height: auto; object-fit: contain; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { font-size: 13px; color: var(--muted); font-family: var(--latin); display: flex; align-items: center; flex-wrap: wrap; }
.post-body h3 { font-size: 20px; font-weight: 700; }
.post-body h3 a { text-decoration: none; }
.post-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }
.post-summary { color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-body .more { margin-top: auto; align-self: flex-start; font-size: 14px; }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--white); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; }
.pager a { font-weight: 700; text-decoration: none; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 22px; }

/* 文章详情 */
.article-head { padding: 72px 0 40px; }
.article-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-top: 14px; }
.back { text-decoration: none; font-weight: 700; color: var(--muted); display: inline-block; margin-bottom: 24px; }
.article-cover { width: 100%; border-radius: var(--radius); margin-bottom: 40px; }
.prose { font-size: 17px; line-height: 1.9; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1.1em; }
.prose h2 { font-size: 26px; font-weight: 900; margin: 1.6em 0 .6em; padding-left: 14px; border-left: 6px solid var(--yellow); }
.prose ul { padding-left: 1.3em; margin: 0; }
.prose strong { background: linear-gradient(transparent 60%, var(--yellow-2) 60%); }
.article-body { padding-bottom: 96px; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.contact-form { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid #DDD6C6; border-radius: 10px; background: var(--white); min-height: 48px; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--yellow-dk); outline: none; box-shadow: 0 0 0 3px var(--yellow-soft); }
.contact-form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 10px; font-weight: 700; }
.notice.ok { background: #E3F4E1; color: #1F5B1A; }
.notice.err { background: #FBE4E1; color: #8A1F12; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: flex; gap: 14px; }
.info-list li > svg { flex: none; width: 44px; height: 44px; padding: 11px; background: var(--yellow); border-radius: 12px; }
.info-list span { display: block; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.info-list a { font-weight: 700; }
.info-list p.muted { font-size: 14px; margin-top: 4px; }
.qr-box { display: flex; align-items: center; gap: 18px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; }
.qr-box img { width: 120px; height: auto; }

/* CTA 条 */
.cta-band { background: var(--yellow); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; flex-wrap: wrap; }
.cta-inner p { font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; }

/* 页脚 */
.site-footer { background: var(--paper-2); color: var(--ink-2); padding-top: 72px; border-top: 6px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr auto; gap: 48px; padding-bottom: 56px; }
.footer-company { margin-top: 18px; color: var(--ink); font-weight: 700; }
.footer-company span { font-family: var(--latin); font-size: 12px; letter-spacing: .24em; color: var(--muted); font-weight: 600; }
.footer-slogan { font-family: var(--latin); font-weight: 800; color: var(--yellow-ink); letter-spacing: .2em; margin-top: 12px; font-size: 14px; }
.footer-h { font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.footer-list, .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list svg { flex: none; margin-top: 4px; color: var(--yellow-dk); }
.footer-links a, .footer-list a { text-decoration: none; }
.footer-links a:hover, .footer-list a:hover { color: var(--yellow-ink); }
.footer-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; }
.footer-qr img { background: var(--white); padding: 8px; border-radius: 10px; border: 1px solid var(--line); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; color: var(--muted); }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); z-index: 40; }
.wa-float svg { width: 26px; height: 26px; }

/* 响应式 */
@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(60,50,20,.08); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 2px; }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 14px 12px; border-radius: 10px; }
  .lang-switch { margin: 12px 0 0; align-self: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid.light { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .svc-grid, .post-grid { grid-template-columns: 1fr; }
  .about-split, .about-page, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { width: 100%; opacity: .25; }
  .hero-inner { padding: 88px 0 96px; }
  .section { padding: 72px 0; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:first-child { border-left: 0; border-top: 1.5px solid rgba(28,28,28,.2); padding: 22px 0; }
  .fact:first-child { border-top: 0; }
}
@media (max-width: 560px) {
  .wrap, .wrap.narrow { width: calc(100% - 32px); }
  .field-row, .why-grid, .why-grid.light, .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .brand-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== 整合版新增：登录入口 / 汽车租赁 / 在线咨询 ===== */
.login-link { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 700; color: var(--ink); }
.login-link:hover { background: var(--yellow-soft); border-color: var(--yellow); }
.svc-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow-soft); color: var(--yellow-ink); display: grid; place-items: center; flex: none; }
.svc-card { padding: 24px; }
.svc-top h3 { font-size: 22px; }
.svc-card > .more { align-self: flex-start; }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature .why-n { color: var(--ink); background: var(--yellow); padding: 2px 8px; border-radius: 6px; font-family: var(--latin); font-weight: 800; font-size: 14px; }
.feature h3 { font-size: 19px; margin-top: 12px; }
.feature p { color: var(--muted); font-size: 15px; margin-top: 8px; }

.fleet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.car-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.car-photo { position: relative; aspect-ratio: 16 / 10; background: var(--yellow-soft); display: grid; place-items: center; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; }
.car-photo .chip { position: absolute; left: 14px; top: 14px; margin: 0; }
.car-ph { color: var(--yellow-ink); }
.car-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-body h3 { font-size: 20px; font-weight: 900; }
.car-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14px; }
.car-specs li { display: inline-flex; align-items: center; gap: 6px; }
.car-price strong { font-family: var(--latin); font-size: 20px; }
.car-price span { color: var(--muted); font-size: 14px; }
.car-body .btn { margin-top: auto; align-self: flex-start; min-height: 44px; }

.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-fab { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--yellow); color: var(--ink); font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; box-shadow: 0 10px 28px rgba(120, 90, 0, .25); }
.chat-fab:hover { background: var(--yellow-2); }
.chat-dot { position: absolute; right: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #E5484D; border: 2px solid var(--white); }
.chat-panel { width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 110px)); background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(60, 50, 20, .2); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: linear-gradient(135deg, #FFFBEA, #FFF1B8); border-bottom: 1px solid var(--line); }
.chat-head .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.chat-head div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.chat-head small { font-family: var(--latin); font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.chat-x { background: none; border: 0; width: 36px; height: 36px; border-radius: 8px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.chat-x:hover { background: rgba(255, 255, 255, .6); }
.chat-start[hidden] { display: none; }
.chat-start { padding: 16px; display: flex; flex-direction: column; gap: 10px; overflow: auto; }
.chat-start .field input, .chat-start .field select, .chat-start .field textarea { min-height: 40px; padding: 8px 12px; font-size: 15px; }
.chat-start .field { font-size: 13px; gap: 4px; }
.chat-hello { font-size: 14px; color: var(--ink-2); }
.chat-start .btn { align-self: stretch; justify-content: center; }
.chat-room { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.chat-room[hidden] { display: none; }
.chat-msgs { flex: 1; overflow: auto; padding: 14px; background: var(--paper); min-height: 260px; }
.chat-msgs .msg { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 12px; }
.chat-msgs .who { font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
.chat-msgs .bubble { background: var(--white); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 8px 12px; max-width: 85%; white-space: pre-wrap; word-break: break-word; font-size: 14.5px; }
.chat-msgs .msg.mine { align-items: flex-end; }
.chat-msgs .msg.mine .bubble { background: var(--yellow); border-color: var(--yellow); border-radius: 14px 4px 14px 14px; }
.chat-note { font-size: 12px; color: var(--muted); padding: 6px 14px; margin: 0; border-top: 1px solid var(--line); }
.chat-send { display: flex; gap: 8px; padding: 10px 12px 12px; align-items: flex-end; }
.chat-send textarea { flex: 1; font: inherit; font-size: 15px; border: 1.5px solid #DDD6C6; border-radius: 10px; padding: 9px 12px; resize: none; max-height: 120px; }
.chat-send textarea:focus { outline: none; border-color: var(--yellow-dk); box-shadow: 0 0 0 3px var(--yellow-soft); }
.chat-send .btn { min-height: 42px; padding: 0 16px; }
.wa-float { right: 20px; bottom: 88px; width: 48px; height: 48px; }
.chat-widget.open ~ .wa-float { display: none; }
.contact-form .btn-dark { align-self: flex-start; }

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-link { margin: 8px 0 0; align-self: flex-start; }
}
@media (max-width: 860px) {
  .svc-grid.detailed { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .svc-grid, .feature-grid, .fleet-grid { grid-template-columns: 1fr; }
  .chat-fab span { display: none; }
  .chat-fab { width: 56px; padding: 0; justify-content: center; }
  .chat-widget { right: 14px; bottom: 14px; }
}
