@charset "utf-8";
/* =========================================================================
   Yuhe International — additions on top of the 西桔 (W3Layouts) plate.
   style.css 保持样板原样，这里只做“填充内容 + 修掉样板自带的排版问题”。
   ========================================================================= */

/* ---------------------------------------------------------------- base */
body {
    font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, sans-serif;
}
img { height: auto; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
a:hover { color: #52ABDF; }

/* -------------------------------------------------------------- header */
/* 样板在 <=1366px 把 .wrap 刷成白底，会把深色头部和白色菜单一起吃掉 */
.header_bg .wrap { background-color: transparent; }
.header_bg { background: #191919; }
.header { padding: 14px 2%; }
.logo { padding-top: 2px; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo img { display: block; height: 54px; width: auto; object-fit: contain; }
.logo-text { display: block; line-height: 1.05; }
.header .logo .logo-text b {
    display: block; font-family: Arial, Helvetica, sans-serif; font-size: 26px;
    font-weight: 700; letter-spacing: 1px; color: #ffffff;
}
.header .logo .logo-text i {
    display: block; font-style: normal; font-size: 13px; letter-spacing: 0;
    color: #b9c3cc; margin-top: 4px;
    text-align: justify; text-align-last: justify;
    -moz-text-align-last: justify;
}
.header .logo a:hover .logo-text b,
.header .logo a:hover .logo-text i { color: #ffffff; }

.menu { float: left; margin-left: 4px; }
.menu li { position: relative; }
.menu .has-sub > a::after {
    content: ""; display: inline-block; width: 0; height: 0; margin-left: 6px;
    vertical-align: 2px; border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 5px solid currentColor; opacity: .65;
}
.menu .sub-menu {
    display: none; position: absolute; top: 100%; left: -14px; z-index: 60;
    min-width: 268px; padding: 8px 0; background: #202b36;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .32);
}
.menu .has-sub:hover .sub-menu,
.menu .has-sub:focus-within .sub-menu { display: block; }
.menu .sub-menu li { display: block; width: 100%; margin: 0; }
.menu .sub-menu li a {
    display: block; padding: 10px 18px; font-size: .9em; line-height: 1.4;
    color: #cdd6de; text-align: left;
}
.menu .sub-menu li a:hover { background: #2f4256; color: #fff; }

.lang { float: right; width: 104px; margin: 2px 0 0 16px; }
.lang select {
    width: 100%; margin: 0; padding: 6px 8px; font-size: .85em;
    color: #dfe6ec; background: #191919; border: 1px solid #3a4550;
    box-shadow: none; cursor: pointer;
}
.lang select option { background: #191919; color: #dfe6ec; }

.top-nav a#pull { text-transform: none; }

/* ------------------------------------------------------------- headings */
#page2 h3 span,
#page3 h3 span { background-color: #3c97c1; color: #fff; }
#page2 h3 em,
#page3 h3 em { background-color: #7f4c76; color: #fff; }

.sec-title {
    margin: 42px 0 18px; padding-bottom: 10px; font-size: 1.35em; font-weight: 700;
    color: #2f4256; border-bottom: 2px solid #e6eaee;
}
.lead {
    max-width: 980px; margin: 14px 0 26px; font-size: 1.02em; line-height: 1.9;
    color: #5d646c;
}
.prose {
    margin: 0 0 16px; font-size: 1em; line-height: 2; color: #5d646c;
    text-indent: 2em; text-align: left;
}

/* 样板 .content 是浮动，外层 .wrap 未清除，会让各区块互相重叠 */
.main_bg .wrap::after, .wrap.main-wrap::after { content: ""; display: block; clear: both; }

/* --------------------------------------------------------------- home */
.text1 { max-width: 1000px; margin: 0 auto; }
.text1 p { font-size: .95em; line-height: 2; color: #6f757c; margin-bottom: 12px; text-align: left; }
/* product tiles (#page3 .box from the plate) */
#page3 .box { position: relative; height: 100%; background-color: #1d87bd; }
#page3 .box img { display: block; width: 100%; margin-bottom: 16px; }
#page3 .box .text1 { margin-bottom: 10px; text-align: left; max-width: none; }
#page3 .box .text1 a { font-size: 1.02em; font-weight: 700; color: #fff; }
#page3 .box .text1 a:hover { color: #0d3a52; }
#page3 .box .box-num {
    display: inline-block; margin-right: 6px; font-size: .78em; letter-spacing: .06em;
    color: rgba(255, 255, 255, .72); font-weight: 400;
}
#page3 .box p { margin: 0; font-size: .84em; line-height: 1.75; color: rgba(255, 255, 255, .94); }
#page3 .col-1-4 { margin-bottom: 14px; }

/* industries strip */
#page4 { background-color: #fff; padding: 96px 0 70px; position: relative; width: 100%; float: none; }
#page4::after {
    display: block; position: absolute; content: ""; z-index: 1;
    width: 0; height: 0; left: 50%; margin-left: -50px; top: 0;
    border-style: solid; border-width: 37px 50px 0 50px;
    border-color: #334960 transparent transparent transparent;
}
#page4 .wrap-colaa { margin: 10px; padding: 14px 20px; background-color: #2f4256; }
#page4 .wrap-colaa h3 { font-size: 30px; line-height: 44px; }
#page4 .wrap-colaa h3 a { color: #fff; }
.grids_of_3 { padding: 30px 2% 4%; }
.grids_of_3 .grid1_of_3 { margin-bottom: 34px; }
.grids_of_3 .grid1_of_3:nth-child(3n+1) { margin-left: 0; }
.grid1_of_3_img img { display: block; width: 100%; }
.grid1_of_3 h4 a { font-size: 1.15em; color: #2f4256; font-weight: 600; letter-spacing: .02em; }

/* ------------------------------------------------------- products page */

.tube-list {
    display: flex; flex-wrap: wrap; gap: 26px; margin: 0 0 10px;
}
.tube-card {
    flex: 1 1 280px; max-width: 380px; background: #fff; border: 1px solid #e8ecef;
    box-shadow: 0 10px 26px rgba(47, 66, 86, .07); display: flex; flex-direction: column;
}
.tube-card img { display: block; width: 100%; height: 168px; object-fit: cover; }
.tube-body { padding: 18px 20px 22px; }
.tube-body h4 { font-size: 1.15em; font-weight: 700; color: #2f4256; margin-bottom: 4px; }
.tube-body h4 a { color: #2f4256; }
.tube-body h4 a:hover { color: #52ABDF; }
.tube-sub { font-size: .8em; letter-spacing: .04em; color: #8b949c; margin-bottom: 10px; text-transform: none; }
.tube-body p { font-size: .9em; line-height: 1.8; color: #6b7278; margin-bottom: 12px; }
.mini-spec { margin: 0 0 14px; }
.mini-spec li {
    font-size: .88em; line-height: 1.9; color: #3d454c;
    border-bottom: 1px dashed #e3e7ea; padding: 2px 0;
}
.tube-body .more { font-size: .86em; font-weight: 700; color: #52ABDF; }
.tube-body .more:hover { color: #2f4256; }

.cat-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 6px 0 10px;
}
.cat {
    display: block; background: #f5f7f9; border: 1px solid #e8ecef;
    transition: box-shadow .25s ease, transform .25s ease;
}
.cat:hover { box-shadow: 0 12px 26px rgba(47, 66, 86, .12); transform: translateY(-2px); }
.cat img { display: block; width: 100%; height: 148px; object-fit: cover; }
.cat-name { display: block; padding: 14px 16px 2px; font-size: .98em; font-weight: 700; color: #2f4256; }
.cat-desc { display: block; padding: 0 16px 16px; font-size: .82em; line-height: 1.6; color: #7b828a; }

.materials { margin: 34px 0 0; padding: 26px 28px; background: #f5f7f9; border-left: 4px solid #52ABDF; }
.materials h4 { font-size: 1em; font-weight: 700; color: #2f4256; margin-bottom: 8px; }
.materials p { font-size: .9em; line-height: 1.9; color: #5d646c; margin-bottom: 16px; }
.materials p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------- detail pages */
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 6px; }
.detail-list li { float: none; width: auto; margin: 0; }
.detail-list img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }

.spec-list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; margin: 6px 0 10px;
}
.spec-list li {
    display: flex; justify-content: space-between; gap: 14px;
    padding: 11px 0; border-bottom: 1px solid #e9edf0; font-size: .92em;
}
.spec-list span { color: #7b828a; }
.spec-list b { color: #2f4256; font-weight: 700; text-align: right; }

.two-col { display: flex; flex-wrap: wrap; gap: 30px; margin: 26px 0 0; }
.two-col > div { flex: 1 1 300px; }
.two-col h4 { font-size: 1em; font-weight: 700; color: #2f4256; margin-bottom: 8px; }
.two-col p { font-size: .9em; line-height: 1.9; color: #5d646c; }

/* ----------------------------------------------------------- industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; margin: 10px 0 0; }
.ind-item h4 {
    margin-top: 12px; font-size: 1.05em; font-weight: 700; color: #2f4256; letter-spacing: .02em;
}
.ind-duo { display: flex; }
.ind-duo img { display: block; width: 50%; height: 138px; object-fit: cover; }

/* ---------------------------------------------------------------- about */
.about-wrap { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.about-text { flex: 1 1 460px; }
.about-fig { flex: 0 1 380px; margin: 0; }
.about-fig img { display: block; width: 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 40px; background: #e6eaee; }
.fact { flex: 1 1 160px; padding: 24px 18px; background: #fff; text-align: center; }
.fact b { display: block; font-size: 2em; font-weight: 700; color: #2f4256; line-height: 1.2; }
.fact span { display: block; margin-top: 6px; font-size: .84em; color: #7b828a; }

/* -------------------------------------------------------------- contact */
.contact_left h3, .contact_right h3 { font-weight: 400; }
.contact-form h3 { margin-bottom: 10px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea { width: 100% !important; box-sizing: border-box; }
.contact-form label { font-weight: 600; color: #4a5158; letter-spacing: .02em; }
.contact-form textarea { height: 132px; }
.company_address p { font-weight: 500; line-height: 1.9; }
.company_address p b { font-weight: 700; color: #2f4256; }
.form-note { font-size: .9em; line-height: 1.8; color: #6b7278; margin-bottom: 16px; }
.contact-photo { display: block; width: 100%; margin-top: 24px; }
.contact-form .form-actions { padding: 0; }
.form-status { min-height: 22px; margin: 10px 0 0; font-size: .9em; color: #2f4256; }

/* --------------------------------------------------------------- footer */
main::after { content: ""; display: block; clear: both; }
.footer { clear: both; padding: 34px 2% 20px; }
.f_top { float: left; max-width: 58%; }
.f_brand { font-size: 1.15em; font-weight: 700; letter-spacing: .14em; color: #fff; }
.f_brand span { display: block; margin-top: 2px; font-size: .62em; letter-spacing: .04em; font-weight: 400; color: #9fb0bf; }
.f_line { margin: 8px 0 0; font-size: .82em; color: #9c9c9c; }
.foot-note {
    clear: both; padding-top: 14px; margin-top: 14px; border-top: 1px solid #3d5164;
    font-size: .78em; line-height: 1.7; color: #8d9dab;
}
.footer .copy { margin-top: 12px; }
.footer .f_nav { margin-top: 8px; }

/* ------------------------------------------------------------ 404 page */
.page-404 main { min-height: 58vh; }
.notfound { text-align: center; padding: 60px 0 40px; }
.notfound h3 { text-align: center; }

/* --------------------------------------------------------- responsive */
@media only screen and (max-width: 1100px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 900px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-list { grid-template-columns: 1fr; }
    .f_top { float: none; max-width: 100%; }
    .footer .f_nav { float: left; margin-top: 16px; }
}
@media only screen and (max-width: 768px) {
    /* 样板 .slide_content 的 min-height 650px 在窄屏会把标题挤到图片外 */
    #fwslider .slide_content { min-height: 0; }
    #fwslider .slide_content_wrap { margin: 9% auto 0; }
    #fwslider .title {
        left: 12px; width: 78%; height: auto; padding: 9px 12px;
        font-size: 16px; line-height: 1.4;
    }
    #fwslider .title1 {
        left: 12px; width: 66%; height: auto; padding: 7px 12px;
        font-size: 12px; line-height: 1.4;
    }
    #fwslider h4 i.bg, #fwslider h5 i.bg { display: none; }
    .header { padding: 12px 2%; }
    .logo img { height: 38px; width: auto; }
    .header .logo .logo-text b { font-size: 19px; }
    .header .logo .logo-text i { font-size: 10px; margin-top: 2px; }
    .lang { width: 92px; margin: 0; }
    .menu { display: none; }
    #page2, #page3 { padding-top: 70px; padding-bottom: 60px; }
    #page4 { padding-top: 70px; }
    #page2 h3, #page3 h3 { font-size: 30px; line-height: 40px; }
    .grids_of_3 { padding: 20px 2% 0; }
    .grids_of_3 .grid1_of_3 { width: 47%; margin-left: 6%; margin-bottom: 26px; }
    .grids_of_3 .grid1_of_3:nth-child(2n+1) { margin-left: 0; }
    .grids_of_3 .grid1_of_3:nth-child(3n+1) { margin-left: 6%; }
    .grids_of_3 .grid1_of_3:nth-child(2n+1) { margin-left: 0; }
    #page4 .wrap-colaa h3 { font-size: 24px; line-height: 36px; }
    .ind-grid { gap: 22px 18px; }
    .ind-duo img { height: 112px; }
    .about-fig { flex: 1 1 100%; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cat img { height: 120px; }
    .detail-list li { float: none; width: 100%; margin-left: 0; margin-bottom: 12px; }
    .detail-list img { height: 200px; }
    .tube-card { max-width: none; }
}
@media only screen and (max-width: 480px) {
    .logo img { height: 32px; width: auto; }
    .header .logo .logo-text b { font-size: 16px; }
    .header .logo .logo-text i { font-size: 9px; }
    .cat-grid { grid-template-columns: 1fr; }
    .ind-grid { grid-template-columns: 1fr; }
    .ind-duo img { height: 140px; }
    .spec-list b { text-align: left; }
    .spec-list li { flex-direction: column; gap: 2px; }
    .fact { flex: 1 1 46%; }
}

/* =========================================================================
   2025 视觉刷新：统一字体、底色与中性色，让整体更现代、更专业
   （只覆盖颜色/字体/圆角/阴影，不改动任何布局尺寸）
   ========================================================================= */
:root {
    --ink: #0f1a24;        /* 标题 */
    --ink-2: #4e5e6f;      /* 正文 */
    --ink-3: #61717f;      /* 辅助（对比度 ≥4.7:1） */
    --line: #e4eaf0;       /* 分割线 */
    --bg: #f6f8fb;         /* 页面底色 */
    --brand: #1278b0;      /* 主色 */
    --brand-dark: #0d5c88;
    --header: #0d141c;     /* 页头深色 */
    --footer: #111b25;     /* 页脚深色 */
}

/* ---- 字体：优先系统 UI 字体，中英文都更干净 ---- */
body,
h1, h2, h3, h4, h5, h6,
.menu, .lang, .footer, .copy,
input, textarea, select, button {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
                 "Helvetica Neue", Arial, sans-serif;
}
body {
    font-size: 16px;
    line-height: 1.72;
    color: var(--ink-2);
    background: var(--bg);
    letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -0.012em; }
/* 模板给 h3 加了 text-transform: capitalize，法语标题会被逐词首字母大写，取消掉 */
h1, h2, h3, h4, h5, h6 { text-transform: none !important; }
/* 中文标题适当加权重，比模板的 400 更有力量感 */
h1, h2, h3 { font-weight: 600; }
h4, h5, h6 { font-weight: 600; }
#page2 h3, #page3 h3, #page4 h3 { line-height: 1.25; font-weight: 600; }
.main h3 { font-weight: 600; line-height: 1.25; }

/* ---- 页头 / 页脚：更深更沉，和品牌蓝形成对比 ---- */
.header_bg { background: var(--header); }
.menu .sub-menu { background: #16212c; border-radius: 10px; box-shadow: 0 10px 30px rgba(6, 14, 22, .28); }
.menu .sub-menu li a { color: #c5d1dd; }
.menu .sub-menu li a:hover { background: #1f2f3e; color: #fff; }
.footer { background-color: var(--footer); }
/* 页脚在深色底上：版权行等必须用浅色（否则会继承正文的深灰，看不见） */
.footer .copy, .footer .copy p { color: #8d9dab; }
.footer .f_line { color: #93a3b3; }
.footer .foot-note { color: #7e8f9f; border-top-color: #26333f; }
.footer .f_brand { color: #ffffff; }
.footer .f_brand span { color: #9fb0bf; }
.footer a { color: #b9c6d2; }
.footer a:hover { color: #ffffff; }
.lang select { background: #16212c; border-color: #2c3947; color: #dfe6ec; }
.lang select option { background: #16212c; color: #dfe6ec; }

/* ---- 正文与标题的中性色统一 ---- */
.text1 p, .tube-body p, .two-col p, .materials p, .form-note, .cat-desc { color: var(--ink-2); }
.sec-title { color: var(--ink); border-bottom-color: var(--line); }
.spec-list li { border-bottom-color: var(--line); }
.spec-list span { color: var(--ink-3); }
.spec-list b { color: var(--ink); }
.tube-sub, .fact span, .ind-item h4, .grid1_of_3 h4 a, .tube-body h4, .tube-body h4 a,
.two-col h4, .materials h4, .fact b, .company_address p b, .cat-name { color: var(--ink); }
.form-status { color: var(--ink); }
.contact-form label { color: var(--ink-2); }

/* ---- 链接与强调色 ---- */
a:hover { color: var(--brand); }
.tube-body .more, .tube-body .more:hover { color: var(--brand); }
.tube-body h4 a:hover, .grid1_of_3 h4 a:hover { color: var(--brand); }

/* ---- 卡片、图片、输入框：圆角 + 细边框 + 柔和阴影 ---- */
.cat, .tube-card, .cat img, .cat img:hover,
.detail-list img, .about-fig img, .ind-duo img,
.contact-photo, .home-photo, .wide-photo { border-radius: 10px; }
.cat, .tube-card { border-color: var(--line); box-shadow: 0 1px 2px rgba(16, 26, 36, .04); }
.cat:hover, .tube-card:hover { box-shadow: 0 10px 28px rgba(16, 26, 36, .10); transform: translateY(-2px); }
.cat, .tube-card { transition: box-shadow .25s ease, transform .25s ease; }
.cat img { transition: transform .4s ease; }
.cat:hover img { transform: scale(1.03); }
.materials { background: #f2f6fa; border-left-color: var(--brand); border-radius: 0 10px 10px 0; }
.contact-form input[type="text"], .contact-form input[type="email"],
.contact-form input[type="tel"], .contact-form textarea {
    border: 1px solid var(--line); border-radius: 8px; background: #fff;
    padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(18, 120, 176, .12);
}

/* ---- 产品色块：统一到品牌蓝并加圆角 ---- */
#page3 .box { background-color: #1577ad; border-radius: 4px; overflow: hidden; }
#page3 h3 span { background-color: #1577ad; }
#page3 h3 em { background-color: #6d4a66; }
#page4 { background-color: #fff; }
/* 产品区换成浅灰底，与上下白色区块形成节奏，产品卡更突出 */
#page3 { background-color: #f7f9fc; }
#page4 .wrap-colaa { background-color: #16222e; border-radius: 4px; }
