/* ==========================================================================
   Cixi Winter Slipper Factory — www.wintershoes.ren
   深色设计系统。整层重写，取代旧版 4160 行「姊妹站换配色」的产物。
   配色统一走 :root 变量；字体为自托管 Space Grotesk（展示）+ Inter（正文）。
   ========================================================================== */

/* ------------------------------------------------------------------ 字体 */
@font-face { font-family: "Display"; src: url(../fonts/space-grotesk-700.woff2) format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Display"; src: url(../fonts/space-grotesk-500.woff2) format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Body"; src: url(../fonts/inter-400.woff2) format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Body"; src: url(../fonts/inter-600.woff2) format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Body"; src: url(../fonts/inter-700.woff2) format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ 令牌 */
:root {
  --bg:        #0A101C;   /* 页面底 */
  --bg-2:      #0E1626;   /* 区块交替底 */
  --bg-3:      #131E33;   /* 卡片 / 浮起面 */
  --bg-4:      #1A2740;   /* 更深一层的浮起 */
  --line:      rgba(255,255,255,.10);
  --line-2:    rgba(255,255,255,.20);
  --fg:        #E9F1FB;   /* 主文字（霜白） */
  --fg-2:      #A3B4C9;   /* 次级文字 */
  --fg-3:      #6E839D;   /* 弱化文字 */
  --accent:    #5FBEF0;   /* 冰蓝高亮 */
  --accent-ink:#04121F;   /* 高亮底上的文字 */
  --danger:    #E5484D;

  --radius:    14px;
  --radius-sm: 9px;
  --container: 1200px;
  --gutter:    24px;

  --display: "Display", "Space Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body:    "Body", "Inter", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;

  --pad-section: 110px;
}

/* ------------------------------------------------------------------ 基础 */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--accent); text-decoration: none;
    transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
a:hover { color: #8FD4F7; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4, h5, .big-title, .caption, .do-title, .title, .titleSummary {
  font-family: var(--display);
  color: var(--fg);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  font-weight: 700;
}

/* --------------------------------------------------------------- 布局工具 */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.pos-relative { position: relative; }
.muted { color: var(--fg-3); }
.image { overflow: hidden; }

section { padding: var(--pad-section) 0; }
section + section { border-top: 1px solid var(--line); }

/* 区块标题（沿用 .caption / .big-title 词汇） */
.caption { font-size: 34px; margin-bottom: 18px; }
.caption b, .caption strong { color: var(--accent); font-weight: 700; }
.big-title { font-size: 46px; }
.remark { max-width: 62ch; color: var(--fg-2); font-size: 16.5px; margin-bottom: 42px; }
.description { color: var(--fg-2); }
.title, .titleSummary { font-size: 19px; }
.subitem, .h6, .sub { color: var(--fg-3); font-size: 14px; }

/* 页头面包屑（大写 + 字距） */
.location, .product-location {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3);
  margin-bottom: 18px;
}
.location a { color: var(--fg-3); }
.location a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ 按钮 */
.btn, .read-all a, .goback a, .contact-us .submit, .button {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border: 1px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  cursor: pointer; text-align: center;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover, .read-all a:hover, .goback a:hover, .contact-us .submit:hover, .button:hover {
  background: #8FD4F7; border-color: #8FD4F7; color: var(--accent-ink); transform: translateY(-1px);
}
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: var(--fg); border-color: var(--accent); }
.read-all { margin-top: 40px; }
.read-all img { display: none; }

/* ------------------------------------------------------------------ 页头 */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,16,28,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.header .logo { display: flex; align-items: center; gap: 10px; flex: none; }
.header .logo img { width: 186px; height: auto; }
.header .photo { display: none; }

.header .menu { margin-left: auto; }
.header .menu ul { display: flex; align-items: center; gap: 26px; }
.header .menu a {
  font-size: 14.5px; font-weight: 600; color: var(--fg-2);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.header .menu a:hover { color: var(--fg); }
.header .menu a.active { color: var(--fg); border-bottom-color: var(--accent); }

.header-cta { flex: none; padding: 11px 20px; font-size: 14px; }

.nav-opener-container { display: none; margin-left: auto; }
.nav-opener {
  width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; cursor: pointer; background: transparent;
}
.menu-bar { width: 18px; height: 2px; background: var(--fg); border-radius: 2px; }

/* ------------------------------------------------------------------ 首屏 */
.sectionBanner {
  background: linear-gradient(155deg, #0C1526 0%, #0A101C 55%, #0B1A2A 100%);
  padding: 0; border-bottom: 1px solid var(--line);
}
.sectionBanner:before { content: none; }        /* 去掉旧遮罩层 */
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
  min-height: 620px; padding-top: 70px; padding-bottom: 70px;
}
.sectionBanner .v-box { display: contents; }
.sectionBanner .v-center { max-width: 620px; }
.sectionBanner h1 { font-size: clamp(38px, 4.6vw, 62px); margin-bottom: 22px; }
.sectionBanner h3 {
  font-family: var(--body); font-weight: 400; font-size: 18.5px;
  line-height: 1.7; color: var(--fg-2); margin: 0 0 34px; max-width: 52ch;
}
.sectionBanner .v-center > a {
  display: inline-flex; align-items: center; padding: 15px 30px;
  background: var(--accent); color: var(--accent-ink); border-radius: 999px;
  font-weight: 700; font-size: 15px;
}
.sectionBanner .v-center > a:hover { background: #8FD4F7; color: var(--accent-ink); }

.hero-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 3.4; background: var(--bg-3);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------- Our Range（产品） */
.playOnContainer { background: var(--bg); }
.playOn-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.playOn-lists li a { display: block; }
.playOn-lists .circle {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background-color: var(--bg-3); background-size: cover; background-position: center;
  aspect-ratio: 4 / 3.2; border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  transition: border-color .2s ease, transform .2s ease;
}
.playOn-lists li a:hover .circle { border-color: var(--accent); transform: translateY(-3px); }
.playOn-lists .circle:after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,11,20,.88) 0%, rgba(6,11,20,.15) 55%, transparent 100%);
}
.playOn-lists .circle span {
  position: relative; z-index: 2; padding: 20px; width: 100%;
  font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.01em;
}

/* ------------------------------------------------- Case Studies（案例卡） */
.the-playon-blog { background: var(--bg-2); }
.square-circle-lists, .blog-lists{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.square-circle-lists .li, .blog-lists .li{
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s ease, transform .2s ease;
}
.square-circle-lists .li:hover, .blog-lists .li:hover{
  border-color: var(--accent); transform: translateY(-3px);
}
.square-circle-lists .li > a, .blog-lists .li > a{ display: block; color: inherit; }
.square-circle-lists .circle, .blog-lists .circle{
  border-radius: 0; aspect-ratio: 16 / 10;
  background-color: var(--bg-4); background-size: cover; background-position: center;
}
.square-circle-lists .titleSummary, .blog-lists .titleSummary{
  padding: 20px 22px; display: block;
}

/* --------------------------------------------- 图文列表（优势 / 伙伴）*/
.common-tit-desc-list { background: var(--bg); }
.common-tit-desc-list.solutions { background: var(--bg-2); }
.c-lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.c-lists li {
  display: grid; grid-template-columns: 92px 1fr; gap: 22px; align-items: start;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.c-lists .thumbnail {
  border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-4);
  aspect-ratio: 1; border: 1px solid var(--line);
}
.c-lists .thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.c-lists .title-description .title { margin-bottom: 8px; font-size: 18px; }
.c-lists .description { font-size: 15px; color: var(--fg-2); }
.c-lists .description strong, .c-lists .description em { color: var(--fg); }

/* ------------------------------------------------- 渠道 logo（静态网格）*/
.solutions-lists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.solutions-lists .reguler-item {
  display: flex; align-items: center; justify-content: center;
  min-height: 118px; padding: 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.solutions-lists .reguler-item img {
  max-height: 46px; width: auto; opacity: .72; filter: grayscale(1) brightness(1.7);
  transition: opacity .2s ease, filter .2s ease;
}
.solutions-lists .reguler-item:hover img { opacity: 1; filter: none; }

/* --------------------------------------------------------- 列表页页头 */
.common-subtitle {
  background: linear-gradient(160deg, #0D1728 0%, #0A101C 100%);
  padding: 74px 0 60px; border-bottom: 1px solid var(--line);
}
.common-subtitle .big-title { font-size: clamp(32px, 4vw, 46px); }
.common-subtitle .description { max-width: 62ch; margin-top: 14px; color: var(--fg-2); }

/* --------------------------------------------------------- 产品列表页 */
.products, .common-filter { margin-bottom: 34px; }
.common-filter ul { display: flex; flex-wrap: wrap; gap: 10px; }
.common-filter a {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--fg-2); font-size: 14px; font-weight: 600;
}
.common-filter a:hover { border-color: var(--accent); color: var(--fg); }
.common-filter a.active, .common-filter a.is-active {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}

.common-listsv2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.common-listsv2 a { display: block; color: inherit; }
.common-listsv2 .image {
  border-radius: var(--radius); overflow: hidden; background: var(--bg-3);
  aspect-ratio: 1; border: 1px solid var(--line); transition: border-color .2s ease;
}
.common-listsv2 a:hover .image { border-color: var(--accent); }
.common-listsv2 .image img { width: 100%; height: 100%; object-fit: cover; }
.common-listsv2 .type { margin-top: 14px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.common-listsv2 .title { margin-top: 6px; font-size: 17px; }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 52px; }
.pagination a, .pagination span {
  min-width: 42px; padding: 10px 14px; text-align: center; border-radius: var(--radius-sm);
  border: 1px solid var(--line); color: var(--fg-2); font-size: 14px; font-weight: 600;
}
.pagination a:hover { border-color: var(--accent); color: var(--fg); }
.pagination .is-current, .pagination .active {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}

/* --------------------------------------------------------- 文章详情页 */
.article-common-padd, .article-body, .about-this-project,
.columnOne, .columnTwo, .columnThree { max-width: 760px; margin-inline: auto; }
.article-body { color: var(--fg-2); }
.article-body h2 { font-size: 30px; margin: 44px 0 14px; }
.article-body h3 { font-size: 22px; margin: 34px 0 12px; color: var(--fg); }
.article-body p { margin-bottom: 1.15em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.25em; list-style: revert; }
.article-body li { margin-bottom: .5em; }
.article-body strong, .article-body em { color: var(--fg); }
.article-body blockquote {
  margin: 26px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--accent);
  color: var(--fg); font-size: 18px;
}
.article-body figure { margin: 28px 0; }
.article-body figcaption { color: var(--fg-3); font-size: 14px; margin-top: 8px; }
.top-banner { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  margin-bottom: 34px; background: var(--bg-3); }
.top-banner img { width: 100%; }
.content-italic, .do-title { color: var(--fg-3); }

/* --------------------------------------------------------- 产品详情页 */
.productPost { padding-top: 54px; }
.rose_pics_container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: start; }
.slide-image-list { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.slide-image img { width: 100%; }
.clickZoom-container { display: flex; align-items: center; gap: 8px; margin-top: 14px; cursor: pointer; }
.clickZoom-container .text { font-size: 12.5px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--fg-3); }
.slide-thumbnail { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.slide-thumbnail img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--radius-sm);
  border: 1px solid var(--line); cursor: pointer; opacity: .6;
  transition: opacity .2s ease, border-color .2s ease; }
.slide-thumbnail img.active, .slide-thumbnail img:hover { opacity: 1; border-color: var(--accent); }
.slide-content { color: var(--fg-2); }
.slide-content .title, .slide-content h2 { font-size: 32px; margin-bottom: 14px; }
.dimensions { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.dimensions li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0;
  border-bottom: 1px solid var(--line); font-size: 15px; }
.dimensions li span:first-child { color: var(--fg-3); }
#add { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; margin-top: 20px;
  font-weight: 600; color: var(--fg); }
#add:after { content: "+"; color: var(--accent); font-weight: 700; }
#add.active:after { content: "\2013"; }

/* ------------------------------------------------------------- 关于我们 */
.about { padding: var(--pad-section) 0; }
.about p { max-width: 74ch; font-size: 17px; }
.about-img-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-img-list li { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-3); aspect-ratio: 4 / 3; }
.about-img-list img { width: 100%; height: 100%; object-fit: cover; }
.about-this-project { margin-top: 34px; }

/* --------------------------------------------------------------- 联系页 */
.contact-us { padding: var(--pad-section) 0; }
.contact-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact-details li, .contact-details div {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.form { display: grid; gap: 18px; max-width: 720px; }
.form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--fg);
  font: inherit; font-size: 15.5px;
}
.form input::placeholder, .form textarea::placeholder { color: var(--fg-3); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent);
  background: rgba(255,255,255,.07); }
.form textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 14px; color: var(--fg-3); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --------------------------------------------------------------- 致谢页 */
.thankyou { text-align: center; padding: 120px 0; }
.thankyou .big-title { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 16px; }
.success-text { color: var(--fg-2); margin-bottom: 30px; }
.message-success { max-width: 120px; margin: 0 auto 28px; }
.goback { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------- 页脚 */
.footer { background: #060B14; border-top: 1px solid var(--line); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px; }
.footer .logo img { width: 200px; }
.footer .producer, .footer .footer-col p { color: var(--fg-3); font-size: 14.5px; }
.footer .footer-col-title {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px;
}
.footer .menu ul { display: grid; gap: 10px; }
.footer .menu a { color: var(--fg-2); font-size: 15px; }
.footer .menu a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 10px; }
.footer-contact a, .footer-contact li { color: var(--fg-2); font-size: 15px; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  color: var(--fg-3); font-size: 14px; }

/* --------------------------------------------------------- 提示 / 错误 */
.flash-wrap { padding: 14px var(--gutter) 0; max-width: var(--container); margin: 0 auto; }
.flash { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 12px; font-size: 15px;
  background: rgba(95,190,240,.12); border: 1px solid rgba(95,190,240,.35); color: var(--fg); }
.flash-error { background: rgba(229,72,77,.12); border-color: rgba(229,72,77,.4); }
.err { color: var(--danger); font-size: 14px; margin-top: 6px; }

/* --------------------------------------------------- 兜底 / 兼容类 */
/* 列表页的案例/文章区块也用这个包裹类，缺了背景会比首页浅一块 */
.common-square-circle { background: var(--bg-2); }
/* 注意：blog.html / case_studies.html 把这个类挂在**外层 section** 上（不是 ul），
   所以它只能有区块级样式，绝不能写进列表网格规则里——否则 .container 会被挤进第一列、右边空掉。 */
.case-studies-lists { background: var(--bg-2); }
.content { color: var(--fg-2); }
.content > * + * { margin-top: 1em; }
.ul { margin: 0 0 1.2em; padding-left: 1.25em; list-style: revert; }
.ul li { margin-bottom: .5em; }
.footer .phone { color: var(--fg-2); }
.clickZoom-container .clickZoom { width: 26px; height: 26px; opacity: .8; }
.clickZoom-container:hover .clickZoom { opacity: 1; }

/* ------------------------------------------------------------ 响应式 */
@media (max-width: 1023px) {
  :root { --pad-section: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-top: 48px; padding-bottom: 52px; }
  .hero-media { aspect-ratio: 16 / 10; }
  .playOn-lists, .square-circle-lists, .blog-lists{ grid-template-columns: repeat(2, 1fr); }
  .common-listsv2 { grid-template-columns: repeat(3, 1fr); }
  .rose_pics_container { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 767px) {
  :root { --pad-section: 58px; --gutter: 18px; }
  .big-title { font-size: 32px; }
  .caption { font-size: 26px; }
  .header .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #0B1322; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 22px;
  }
  .header .menu.is-open { display: block; }
  .header .menu ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .header .menu a { display: block; padding: 11px 0; font-size: 16px; border-bottom: 0; }
  .header .menu a.active { color: var(--accent); }
  .nav-opener-container { display: block; }
  .header-cta { display: none; }
  .c-lists { grid-template-columns: 1fr; }
  .common-listsv2 { grid-template-columns: repeat(2, 1fr); }
  .solutions-lists { grid-template-columns: repeat(2, 1fr); }
  .about-img-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .playOn-lists, .square-circle-lists, .blog-lists{ grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .common-listsv2 { grid-template-columns: 1fr; }
  .c-lists li { grid-template-columns: 1fr; }
}
