@charset "utf-8";
/* =====================================================================
   文件名称：site.css  ——  France Deco PC官网样式
   字体说明（强制标注）：
     正文字体栈："PingFang SC"(苹果苹方), "Hiragino Sans GB"(冬青黑),
                 "Microsoft YaHei"(微软雅黑), "Noto Sans SC"(思源黑体回退),
                 Arial, Helvetica, sans-serif (无版权Web安全字体最终回退)
     标题字体栈：同正文，使用 font-weight:600/700 加粗实现层级
   约束：全站纯CSS实现所有视觉动态效果（hover/transition/:target），无任何JavaScript
   ===================================================================== */

/* ---------- 模块1：基础重置与变量 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --c-primary: #1f4e79;      /* 主色：法式深蓝 */
    --c-primary-dark: #163a5c;
    --c-accent: #c9a36a;       /* 点缀：暖金 */
    --c-bg: #ffffff;
    --c-bg-soft: #f5f7fa;
    --c-text: #2b2f36;
    --c-text-light: #6b7280;
    --c-border: #e3e7ee;
    --c-danger: #c0392b;
    --c-success: #1e8e5a;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(31, 78, 121, 0.08);
    --shadow-hover: 0 12px 32px rgba(31, 78, 121, 0.16);
}
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, Helvetica, sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.7;
}
a { color: var(--c-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-accent); }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 64px 0; }
.section-title { text-align: center; font-size: 30px; font-weight: 700; color: var(--c-primary-dark); margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--c-text-light); margin-bottom: 40px; }
.section-title::after {
    content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0;
    background: var(--c-accent); border-radius: 2px;
}

/* ---------- 模块2：顶部导航（hover下拉+高亮，纯CSS） ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 22px; font-weight: 700; color: var(--c-primary-dark); letter-spacing: .5px; }
.logo small { display: block; font-size: 11px; font-weight: 400; color: var(--c-text-light); letter-spacing: 2px; }
.nav { display: flex; gap: 4px; list-style: none; }
.nav a {
    display: block; padding: 10px 16px; border-radius: 8px;
    color: var(--c-text); font-size: 15px; position: relative;
}
.nav a:hover, .nav a.active { background: var(--c-bg-soft); color: var(--c-primary); }
.nav a.active::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
    height: 2px; background: var(--c-accent); border-radius: 2px;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- 模块3：按钮 ---------- */
.btn {
    display: inline-block; padding: 11px 26px; border-radius: 8px; font-size: 15px;
    border: 1px solid transparent; cursor: pointer; text-align: center;
    transition: all .22s ease; background: #eef2f7; color: var(--c-primary-dark);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--c-primary-dark); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-gold { background: var(--c-accent); color: #fff; }
.btn-gold:hover { background: #b8915a; color: #fff; }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); background: transparent; }
.btn-block { display: block; width: 100%; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ---------- 模块4：首页Hero（纯CSS渐变+动效，无图片依赖） ---------- */
.hero {
    background:
        radial-gradient(900px 420px at 82% -10%, rgba(201,163,106,.22), transparent 60%),
        linear-gradient(135deg, #163a5c 0%, #1f4e79 55%, #2a6aa0 100%);
    color: #fff; padding: 96px 0 104px; position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; right: -120px; bottom: -160px;
    width: 420px; height: 420px; border: 40px solid rgba(255,255,255,.05); border-radius: 50%;
}
.hero h1 { font-size: 42px; line-height: 1.3; margin-bottom: 18px; max-width: 680px; }
.hero p { font-size: 17px; opacity: .9; max-width: 600px; margin-bottom: 32px; }
/* flex容器加 align-items:center，保证换行时两按钮垂直居中对齐 */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
/* Hero区域所有按钮统一加大尺寸（金色与描边按钮等高，文字垂直居中）；作用域仅限.hero，不影响其他页面按钮 */
.hero .btn { padding: 14px 34px; font-size: 16px; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats b { font-size: 32px; display: block; color: var(--c-accent); }
.hero-stats span { font-size: 14px; opacity: .85; }

/* ---------- 模块5：服务特色卡片（hover上浮阴影，纯CSS） ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: #d4dcea; }
.card .ico {
    width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px;
    background: linear-gradient(135deg, #e8f0f8, #d8e6f4);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-primary); font-size: 22px; font-weight: 700;
}
.card h3 { font-size: 18px; margin-bottom: 10px; color: var(--c-primary-dark); }
.card p { color: var(--c-text-light); font-size: 14px; }
.bg-soft { background: var(--c-bg-soft); }

/* ---------- 模块6：流程步骤（序号圆点+连线，纯CSS） ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.flow-item { text-align: center; position: normal; }
.flow-item .dot {
    width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px;
    background: #fff; border: 2px solid var(--c-primary); color: var(--c-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; position: relative; transition: all .25s;
}
.flow-item:hover .dot { background: var(--c-primary); color: #fff; transform: scale(1.08); }
.flow-item h4 { font-size: 15px; margin-bottom: 6px; }
.flow-item p { font-size: 13px; color: var(--c-text-light); }
.flow-item:not(:last-child) .dot::after {
    content: ""; position: absolute; top: 50%; left: 100%; width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--c-primary) 0 6px, transparent 6px 12px);
    transform: translateY(-50%); opacity: .4;
}

/* ---------- 模块7：案例/文章卡片 ---------- */
.work-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.work-cover {
    height: 190px; background:
        linear-gradient(135deg, rgba(31,78,121,.82), rgba(42,106,160,.55)),
        repeating-linear-gradient(45deg, #2a6aa0 0 14px, #255e90 14px 28px);
    display: flex; align-items: flex-end; padding: 18px; color: #fff;
}
.work-cover .style-tag {
    align-self: flex-start; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
    padding: 3px 12px; border-radius: 20px; font-size: 12px;
}
.work-body { padding: 22px; }
.work-body h3 { font-size: 17px; margin: 10px 0 8px; }
.work-meta { display: flex; gap: 14px; font-size: 13px; color: var(--c-text-light); margin-bottom: 10px; }
.work-body p { font-size: 14px; color: var(--c-text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card h3 { font-size: 17px; margin-bottom: 8px; }
.article-card .date { font-size: 13px; color: var(--c-accent); margin-bottom: 8px; }

/* ---------- 模块8：通用内容页（文章/详情/关于） ---------- */
.page-head {
    background: linear-gradient(135deg, #163a5c, #2a6aa0); color: #fff;
    padding: 52px 0; text-align: center;
}
.page-head h1 { font-size: 30px; margin-bottom: 6px; }
.page-head p { opacity: .85; font-size: 14px; }
.content-wrap { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 42px; max-width: 900px; margin: 36px auto; }
.content-wrap h2 { color: var(--c-primary-dark); margin: 26px 0 12px; font-size: 21px; border-left: 4px solid var(--c-accent); padding-left: 12px; }
.content-wrap p { margin-bottom: 14px; color: #3c424b; }
.content-wrap ul { margin: 0 0 14px 22px; }
.content-wrap li { margin-bottom: 8px; }
.article-content p { margin-bottom: 16px; }
/* ---------- 模块8b：富文本正文排版（TinyMCE 输出，文章/案例详情共用；字体继承全站body栈，不另声明） ---------- */
/* 分类标签条（文章列表顶部分类切换，纯CSS；字体继承全站body栈） */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.cat-tab { padding: 7px 18px; border: 1px solid var(--c-border); border-radius: 999px; font-size: 14px; color: var(--c-text-light); background: #fff; transition: border-color .2s, color .2s, background .2s; }
.cat-tab:hover { border-color: var(--c-accent); color: var(--c-primary-dark); }
.cat-tab.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
/* 文章详情页分类小标签 */
.article-cat { display: inline-block; margin-bottom: 10px; font-size: 13px; color: var(--c-primary); border: 1px solid var(--c-accent); border-radius: 999px; padding: 3px 14px; }
.article-cat:hover { background: var(--c-accent); color: #fff; }
.article-content { font-size: 15.5px; line-height: 1.85; color: #33383f; word-break: break-word; }
.article-content h2 { color: var(--c-primary-dark); margin: 28px 0 14px; font-size: 21px; line-height: 1.4; border-left: 4px solid var(--c-accent); padding-left: 12px; }
.article-content h3 { color: var(--c-primary-dark); margin: 24px 0 12px; font-size: 18.5px; line-height: 1.4; }
.article-content h4 { color: var(--c-primary-dark); margin: 20px 0 10px; font-size: 16.5px; }
.article-content ul, .article-content ol { margin: 0 0 16px; padding-left: 26px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; }
.article-content li > ul, .article-content li > ol { margin: 6px 0 0; }
.article-content a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: var(--c-primary-dark); }
.article-content strong, .article-content b { font-weight: 700; color: #26303a; }
.article-content em { font-style: italic; }
.article-content s, .article-content strike, .article-content del { color: #8a939e; }
/* 正文图片：自适应容器宽度、保持比例、圆角、块级居中（alt文本为文章标题，图片SEO） */
.article-content img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 18px auto; }
.article-content figure { margin: 18px 0; }
.article-content figcaption { text-align: center; font-size: 13px; color: #8a939e; margin-top: 8px; }
/* 引用块：金色左边线+浅灰蓝底 */
.article-content blockquote { border-left: 4px solid var(--c-accent); background: #f6f8fb; margin: 18px 0; padding: 12px 18px; color: #5c6672; border-radius: 0 8px 8px 0; }
.article-content blockquote p:last-child { margin-bottom: 0; }
/* 表格：细边框、表头底色、横向可滚动（外层容器由 .table-wrap 包裹时可直接横滑） */
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.article-content th, .article-content td { border: 1px solid #d4dcea; padding: 9px 12px; text-align: left; vertical-align: top; }
.article-content th { background: #eef3f9; color: var(--c-primary-dark); font-weight: 600; }
.article-content tr:nth-child(even) td { background: #fafbfd; }
.article-content hr { border: 0; border-top: 1px solid var(--c-border); margin: 26px 0; }
.article-content code { background: #f0f3f7; padding: 2px 6px; border-radius: 4px; font-size: 13.5px; }
.article-content pre { background: #1f2937; color: #e5e7eb; padding: 16px 18px; border-radius: 8px; overflow-x: auto; margin: 16px 0; font-size: 13.5px; line-height: 1.6; }
.article-content pre code { background: none; padding: 0; color: inherit; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 20px; color: var(--c-text-light); font-size: 14px; padding: 14px 0; border-bottom: 1px dashed var(--c-border); margin-bottom: 24px; }

/* ---------- 模块9：表单（预约/登录/注册） ---------- */
.form-wrap { max-width: 720px; margin: 40px auto; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow); }
.form-wrap.narrow { max-width: 440px; }
.form-wrap h2 { text-align: center; color: var(--c-primary-dark); margin-bottom: 6px; }
.form-wrap .form-tip { text-align: center; color: var(--c-text-light); font-size: 14px; margin-bottom: 26px; }
.form-row { margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label { display: block; font-size: 14px; margin-bottom: 7px; color: #3c424b; font-weight: 600; }
.form-row label .req { color: var(--c-danger); }
.form-row input[type=text], .form-row input[type=password], .form-row input[type=email],
.form-row input[type=tel], .form-row input[type=number], .form-row input[type=date],
.form-row select, .form-row textarea {
    width: 100%; padding: 11px 13px; border: 1px solid #cfd6e0; border-radius: 8px;
    font-size: 15px; font-family: inherit; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(31,78,121,.12);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 18px 0; }
.form-check input { margin-top: 4px; width: 16px; height: 16px; accent-color: var(--c-primary); }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-error { background: #fdecea; border: 1px solid #f5c6c0; color: #a63226; }
.alert-success { background: #eaf7f0; border: 1px solid #bfe4cf; color: #176b45; }
.form-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--c-text-light); }

/* ---------- 模块10：标签/面包屑/分页 ---------- */
.tag { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; }
.tag-gray{background:#eef1f5;color:#5b6470}.tag-blue{background:#e7f0fa;color:#1f6fb2}
.tag-green{background:#e6f6ee;color:#17794d}.tag-red{background:#fdecea;color:#b03a2e}
.tag-orange{background:#fef1e4;color:#b96a1c}.tag-cyan{background:#e3f5f9;color:#127d94}
.tag-purple{background:#f1eafb;color:#6f42b8}.tag-indigo{background:#e9ecfb;color:#3d4fb1}
.tag-yellow{background:#fdf6df;color:#96730f}
.crumb { font-size: 13px; color: var(--c-text-light); padding: 16px 0; }
.crumb a { color: var(--c-text-light); }
.crumb a:hover { color: var(--c-primary); }
.pager { display: flex; gap: 8px; justify-content: center; margin: 36px 0; flex-wrap: wrap; }
.pager-btn { padding: 7px 14px; border: 1px solid var(--c-border); border-radius: 7px; font-size: 14px; background: #fff; }
.pager-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager-btn.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pager-btn.disabled { color: #b6bcc6; background: #f7f8fa; cursor: default; }
.pager-info { align-self: center; color: var(--c-text-light); font-size: 13px; margin-left: 10px; }

/* ---------- 模块11：CTA与底部 ---------- */
.cta-band {
    background: linear-gradient(135deg, #1f4e79, #2a6aa0); color: #fff;
    text-align: center; padding: 60px 0;
}
.cta-band h2 { font-size: 28px; margin-bottom: 12px; }
.cta-band p { opacity: .9; margin-bottom: 26px; }
.footer { background: #13293d; color: #c4cdd8; padding: 52px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { color: #c4cdd8; display: block; padding: 4px 0; }
.footer a:hover { color: var(--c-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; text-align: center; font-size: 13px; color: #8a95a3; }
/* 页脚营业时间 / SIRET / 社交图标（纯CSS圆形字符图标，无图标库无JS） */
.footer-siret { margin-top: 10px; color: #8a95a3; font-size: 13px; }
.footer-hours { margin-top: 10px; }
.footer .social-row { display: flex; gap: 10px; margin-top: 12px; }
.footer a.social {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; padding: 0; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2);
    font-size: 12px; font-weight: 700; letter-spacing: -.5px; line-height: 1;
    transition: background .15s, color .15s, transform .15s;
}
.footer a.social:hover { background: var(--c-accent); color: #13293d; transform: translateY(-2px); }

/* ---------- 模块12：响应式（手机H5/平板自适应，无JS） ---------- */
@media (max-width: 960px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .flow { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .flow-item:not(:last-child) .dot::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 30px; }
    .nav { display: none; /* 移动端简化导航：用 :target 纯CSS抽屉 */ }
    .nav-drawer-switch { display: block; }
    #nav-toggle { display: none; }
    .nav-mobile {
        position: fixed; inset: 72px 0 auto 0; background: #fff; z-index: 60;
        border-bottom: 1px solid var(--c-border); display: none; padding: 10px 5%;
    }
    #nav-toggle:checked ~ .nav-mobile { display: block; }
    .nav-mobile a { display: block; padding: 13px 6px; border-bottom: 1px solid var(--c-bg-soft); }
    .nav-mobile .btn { margin: 12px 0; }
}
@media (min-width: 961px) {
    .nav-drawer-switch, .nav-mobile, #nav-toggle { display: none; }
}
@media (max-width: 600px) {
    .grid-3, .grid-4, .form-row.two { grid-template-columns: 1fr; }
    .section { padding: 44px 0; }
    .hero { padding: 60px 0 70px; }
    .hero h1 { font-size: 25px; }
    .hero-stats { gap: 26px; }
    .content-wrap, .form-wrap { padding: 24px 18px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   模块：首页Banner轮播（纯CSS radio:checked切换，无JS）
   ===================================================================== */
.banner-carousel { padding: 28px 0 4px; }
.bc-stage {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--c-bg-soft);
}
.bc-radio { position: absolute; opacity: 0; pointer-events: none; } /* 隐藏单选项，仅作状态开关 */
.bc-slide {
    position: relative;
    margin: 0;
    height: clamp(180px, 34vw, 420px);
    opacity: 0;                      /* 默认全部透明 */
    visibility: hidden;
    transition: opacity .55s ease;  /* 纯CSS淡入淡出 */
}
.bc-slide:first-of-type { position: relative; }
.bc-slide ~ .bc-slide { position: absolute; top: 0; left: 0; right: 0; }
.bc-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 选中第N个radio → 显示第N张（radio与slide为同级兄弟元素） */
#bc0:checked ~ .s0,
#bc1:checked ~ .s1,
#bc2:checked ~ .s2 { opacity: 1; visibility: visible; z-index: 2; }
/* 指示点（label点击切换radio，纯CSS无JS） */
.bc-dots {
    position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5;
    display: flex; justify-content: center; gap: 9px;
}
.bc-dot {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,.82);
    color: var(--c-primary); font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; user-select: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    transition: background .25s, color .25s, transform .25s;
}
.bc-dot:hover { transform: translateY(-2px); }
#bc0:checked ~ .bc-dots label[for="bc0"],
#bc1:checked ~ .bc-dots label[for="bc1"],
#bc2:checked ~ .bc-dots label[for="bc2"] {
    background: var(--c-accent); color: #fff;
}

/* =====================================================================
   模块：首页关于我们
   ===================================================================== */
.home-about {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 34px;
    align-items: center;
}
.home-about-text p { color: var(--c-text-light); line-height: 1.9; font-size: 15px; }
.home-about-card {
    background: var(--c-bg-soft);
    border-radius: var(--radius);
    padding: 24px 26px;
    border-left: 4px solid var(--c-accent);
}
.home-about-card div {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 11px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px;
}
.home-about-card div:last-child { border-bottom: 0; }
.home-about-card b { color: var(--c-primary); white-space: nowrap; }
.home-about-card span { color: var(--c-text-light); text-align: right; }
@media (max-width: 760px) {
    .home-about { grid-template-columns: 1fr; gap: 20px; }
}

/* ========== 模块：语言切换器（纯CSS checkbox:checked 下拉，零JS；字体继承全站body栈） ========== */
.lang-switch { position: relative; display: inline-block; }
.lang-switch > input { position: absolute; opacity: 0; width: 0; height: 0; } /* 隐藏checkbox本体 */
.lang-btn { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; color: #fff; font-size: 13px; font-style: normal; cursor: pointer; user-select: none; transition: background .2s, border-color .2s; }
.lang-btn:hover { background: rgba(255,255,255,.14); }
.lang-caret { font-size: 10px; font-style: normal; opacity: .85; transition: transform .2s; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 120px; background: #fff; border: 1px solid var(--c-border); border-radius: 8px; box-shadow: 0 10px 28px rgba(15,32,55,.16); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.lang-menu a { display: block; padding: 7px 12px; border-radius: 6px; font-size: 14px; color: var(--c-text); }
.lang-menu a:hover { background: var(--c-accent-soft, #f3efe7); color: var(--c-primary-dark); }
.lang-menu a.active { background: var(--c-primary); color: #fff; font-weight: 600; pointer-events: none; }
.lang-switch input:checked ~ .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switch input:checked ~ .lang-btn .lang-caret { transform: rotate(180deg); }
/* 点击菜单外部自动收起：顶部导航层级足够，移动端抽屉内使用平铺式 .lang-row */
.lang-row { display: flex; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.15); margin-bottom: 8px; }
.lang-row a { flex: 1; text-align: center; padding: 8px 0; border: 1px solid rgba(255,255,255,.4); border-radius: 6px; font-size: 13px; color: #fff; }
.lang-row a.active { background: #fff; color: var(--c-primary); font-weight: 600; }
