/* ============================================================
   Company Profile page styles (guanwang theme)
   对照 company.html / 公司介绍设计图，补齐主题缺失组件
   ============================================================ */
.company-page { color: #2b3a4a; font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif; }

/* Breadcrumb bar */
.co-crumb { background: #7fc4d4; color: #fff; font-size: 13px; }
.co-crumb .container { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.co-crumb a { color: #fff; text-decoration: none; }
.co-crumb a:hover { text-decoration: underline; }
.co-crumb span { opacity: .85; }

/* Hero */
.co-hero { position: relative; min-height: 300px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: flex-end; padding: 40px 6vw 40px 0; }
.co-hero-3d { font-size: clamp(40px, 8vw, 96px); font-weight: 800; letter-spacing: 2px; color: #eaf6fa; text-shadow: 0 6px 18px rgba(10,20,60,.35); }

/* Section base */
.co-section { padding: 64px 0; }
.co-soft { background: #f3f9fb; }
.company-page .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.co-title { text-align: center; font-size: 30px; font-weight: 700; color: #17325c; margin: 0 0 14px; }
.co-sub { text-align: center; max-width: 900px; margin: 0 auto 40px; font-size: 15px; line-height: 1.8; color: #5a6b7b; }

/* Pills */
.co-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.co-pill { padding: 9px 22px; border-radius: 30px; background: #e8f2f5; color: #33546b; font-size: 14px; text-decoration: none; transition: .2s; }
.co-pill:hover { background: #d6eaf0; }
.co-pill.active { background: #2aa9c4; color: #fff; }

/* Card */
.co-card { background: transparent; padding: 0; }
.co-brand-row { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.co-brand-name { font-size: 30px; font-weight: 800; color: #17325c; letter-spacing: 1px; }
.co-brand-sub { font-size: 13px; color: #7a8a99; }
.co-tagline { text-align: center; font-size: 18px; font-weight: 600; color: #2aa9c4; margin-bottom: 28px; }

/* Mission / Vision / Values */
.co-mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.co-mv-card { background: #f6fbfc; border: 1px solid #e5f0f3; border-radius: 10px; padding: 22px; text-align: center; }
.co-mv-card h4 { margin: 0 0 10px; color: #17325c; font-size: 17px; }
.co-mv-card p { margin: 0; font-size: 14px; line-height: 1.7; color: #5a6b7b; }
.co-desc { font-size: 14px; line-height: 1.9; color: #5a6b7b; margin: 0 0 12px; }

/* Video */
.co-video { position: relative; margin-top: 26px; border-radius: 12px; overflow: hidden; }
.co-video img { width: 100%; display: block; }
.co-video-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 10px 16px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; }
.co-video-bar a, .co-video-bar i { color: #fff; cursor: pointer; }
.co-video-time { font-size: 13px; }
.co-video-right { margin-left: auto; display: flex; gap: 12px; }

/* Tech band */
.co-techband { background: #eef7f9; padding: 26px 0; }
.co-tech-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.co-tech-item { font-size: 22px; font-weight: 800; color: #26415f; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 8px; }
.co-tech-item i { color: #2aa9c4; }

/* Trust logos */
.co-trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 44px; }
.co-trust-logo { background: #fff; border: 1px solid #e6eef1; border-radius: 10px; padding: 18px 26px; min-width: 220px; text-align: center; box-shadow: 0 4px 14px rgba(20,40,90,.04); }
.co-trust-logo img { height: 40px; max-width: 160px; object-fit: contain; display: block; margin: 0 auto 8px; }
.co-trust-logo span { font-size: 13px; color: #5a6b7b; }

/* Trust map */
.co-trust-map { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: center; }
.co-map-nums { display: flex; flex-direction: column; gap: 26px; }
.co-map-num .num { font-size: 40px; font-weight: 800; color: #2aa9c4; }
.co-map-num .num small { font-size: 22px; }
.co-map-num .lbl { font-size: 13px; color: #6b7c8b; }
.co-map-img { position: relative; }
.co-map-img img { width: 100%; display: block; }
.co-map-tag { position: absolute; right: 8%; top: 40%; background: #2aa9c4; color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 4px; }

/* Trust 板块：标题下方内容 + 三个小图 的排列宽度对齐到下方地图（左文字+图片）整宽 */
#company-strength .co-sub { max-width: none; }
#company-strength .co-trust-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }
#company-strength .co-trust-logo { min-width: 0; }

/* Highlights ring */
.co-ring { position: relative; width: 100%; max-width: 900px; height: 520px; margin: 20px auto 0; }
.co-ring-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 240px; height: 240px; border-radius: 50%; background: #17325c; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(20,40,90,.25); z-index: 2; }
.co-ring-core b { font-size: 76px; line-height: 1; }
.co-ring-core span { font-size: 18px; margin-top: 4px; }
.co-ring-node { position: absolute; width: 210px; text-align: center; box-sizing: border-box; }
.co-ring-node h5 { margin: 0 0 4px; font-size: 15px; font-weight: 400; color: #17325c; }
.co-ring-node p { margin: 0; font-size: 12px; color: #7a8a99; line-height: 1.5; }
/* 虚线外框圆环 */
.co-ring::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 480px; height: 480px; border: 2px dashed #b9c6d6; border-radius: 50%; z-index: 0; }
.co-ring-core { z-index: 2; }
/* 圆点：节点锚点落在虚线环上（60° 均匀），点居中锚点正压环，文字朝外 */
.co-ring-node::before { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #17325c; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #b9c6d6; transform: translate(-50%, -50%); z-index: 3; }
.co-ring-node:nth-child(2) { left: 50%; top: 3.8%; transform: translate(-50%, -100%); padding-bottom: 20px; }        /* 12点 文字在上 */
.co-ring-node:nth-child(2)::before { left: 50%; top: 100%; }
.co-ring-node:nth-child(3) { left: 73.1%; top: 26.9%; transform: translate(0, -50%); text-align: left; padding-left: 20px; }   /* 2点 文字在右 */
.co-ring-node:nth-child(3)::before { left: 0; top: 50%; }
.co-ring-node:nth-child(4) { left: 73.1%; top: 73.1%; transform: translate(0, -50%); text-align: left; padding-left: 20px; }   /* 4点 文字在右 */
.co-ring-node:nth-child(4)::before { left: 0; top: 50%; }
.co-ring-node:nth-child(5) { left: 50%; top: 96.2%; transform: translate(-50%, 0); padding-top: 20px; }         /* 6点 文字在下 */
.co-ring-node:nth-child(5)::before { left: 50%; top: 0; }
.co-ring-node:nth-child(6) { left: 26.9%; top: 73.1%; transform: translate(-100%, -50%); text-align: right; padding-right: 20px; } /* 8点 文字在左 */
.co-ring-node:nth-child(6)::before { left: 100%; top: 50%; }
.co-ring-node:nth-child(7) { left: 26.9%; top: 26.9%; transform: translate(-100%, -50%); text-align: right; padding-right: 20px; } /* 10点 文字在左 */
.co-ring-node:nth-child(7)::before { left: 100%; top: 50%; }

/* Certification —— 证书带：右→左无缝自动滚动，悬停停住并把所指那张放大 */
.co-cert-marquee {
    position: relative;
    overflow: hidden;                /* 只水平方向裁切 */
    margin-bottom: 30px;
    padding: 24px 0;                 /* 给 scale 放大留垂直余量，否则会被 overflow 剪掉上下边 */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.co-cert-track {
    display: flex;
    width: max-content;              /* 宽度 = 两组内容之和，translateX(-50%) 刚好是一组 */
    animation: co-cert-scroll var(--co-cert-dur, 40s) linear infinite;
}
/* 每组末尾补一个 gap（padding-right），两组尺寸完全相等，循环才不跳帧 */
.co-cert-group { display: flex; flex: 0 0 auto; gap: 14px; padding-right: 14px; }
.co-cert {
    flex: 0 0 auto;
    width: 190px;
    background: #fff;
    border: 1px solid #e6eef1;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(20,40,90,.05);
    transition: transform .28s ease, box-shadow .28s ease;
    will-change: transform;
}
.co-cert img { width: 100%; height: 130px; object-fit: contain; display: block; margin-bottom: 8px; }
.co-cert span { font-size: 12px; color: #5a6b7b; }
/* 鼠标移到整条带上就停住，不然卡正变大就滚走了，根本看不清 */
.co-cert-marquee:hover .co-cert-track { animation-play-state: paused; }
.co-cert:hover {
    position: relative;              /* 配合 z-index 抬到相邻卡上方 */
    z-index: 2;
    transform: scale(1.18);
    box-shadow: 0 14px 30px rgba(20,40,90,.18);
}
@keyframes co-cert-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
/* 系统要求减少动效时：不自动滚，改成可手动横向拖动，重复组隐藏 */
@media (prefers-reduced-motion: reduce) {
    .co-cert-track { animation: none; }
    .co-cert-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .co-cert-group--dup { display: none; }
}
.co-cert-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; padding: 18px 24px; background: #fff; border-radius: 40px; box-shadow: 0 4px 16px rgba(20,40,90,.06); }
.co-cert-strip span { font-size: 15px; font-weight: 700; color: #33546b; }

/* Certified Quality & Compliance */
.co-iso-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.co-iso-card { background: #fff; border: 1px solid #e6eef1; border-radius: 12px; padding: 28px 18px; text-align: center; box-shadow: 0 6px 18px rgba(20,40,90,.05); }
.co-iso-card img { height: 110px; max-width: 100%; object-fit: contain; display: block; margin: 0 auto 14px; }
.co-iso-card span { font-size: 15px; font-weight: 700; color: #17325c; }

/* Honorary Award */
#company-award { background: #dcecf4; }
.co-award { position: relative; max-width: 1000px; margin: 0 auto; border-radius: 12px; overflow: hidden; }
.co-award-bg { width: 100%; display: block; aspect-ratio: 2.3 / 1; object-fit: cover; }
.co-award-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 22px; width: 62%; max-width: 580px; background: #ffffffad; border-radius: 16px; padding: 28px 30px; box-shadow: 0 14px 40px rgba(20,40,90,.16); }
.co-award-medal { flex: 0 0 auto; width: 170px; height: auto; border-radius: 8px; box-shadow: 0 8px 22px rgba(20,40,90,.18); }
.co-award-body h4 { margin: 0 0 10px; font-size: 17px; font-weight: 700; line-height: 1.4; color: #17325c; }
.co-award-body p { margin: 0; font-size: 12.5px; line-height: 1.7; color: #5a6b7b; }

/* Contact grid */
.co-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 36px; }
.co-ci-list { display: flex; flex-direction: column; gap: 22px; }
.co-ci-item { display: flex; gap: 14px; align-items: flex-start; }
.co-ci-ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: #e8f5f8; color: #2aa9c4; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.co-ci-item h5 { margin: 0 0 6px; font-size: 15px; color: #17325c; }
.co-ci-item p { margin: 2px 0; font-size: 14px; color: #5a6b7b; }
.co-ci-social { display: flex; gap: 12px; margin-top: 8px; color: #2aa9c4; font-size: 18px; }
.co-ci-social i { cursor: pointer; }
.co-ci-map { border-radius: 12px; overflow: hidden; }
.co-ci-right { display: flex; flex-direction: column; }
.co-ci-map img { width: 100%; display: block; }

/* Get In Touch form */
.getin-form { max-width: 900px; margin: 30px auto 0; }
.getin-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.getin-form input, .getin-form textarea { width: 100%; padding: 13px 16px; border: 1px solid #d7e2e8; border-radius: 8px; font-size: 14px; background: #fff; color: #2b3a4a; }
.getin-form textarea { min-height: 130px; margin-bottom: 16px; resize: vertical; }
.getin-form input:focus, .getin-form textarea:focus { outline: none; border-color: #2aa9c4; }
.getin-form .code-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.getin-form .code-row input { width: 160px; }
.getin-form .code-box { padding: 12px 20px; background: #17325c; color: #fff; letter-spacing: 6px; font-weight: 700; border-radius: 8px; cursor: pointer; user-select: none; }
.getin-form .submit-row { text-align: center; }
.getin-form .btn-submit { background: #2aa9c4; color: #fff; border: none; padding: 12px 40px; border-radius: 30px; font-size: 15px; cursor: pointer; transition: .2s; }
.getin-form .btn-submit:hover { background: #1f8ba3; }
.getin-form .getin-note { text-align: center; font-size: 12px; color: #9ca3af; margin-top: 12px; }
.getin-msg { display: none; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.getin-msg.success { display: block; background: #e7f7ee; color: #1f7a44; border: 1px solid #b7e4c7; }
.getin-msg.error { display: block; background: #fdecec; color: #b23b3b; border: 1px solid #f3c2c2; }

/* Responsive */
@media (max-width: 900px) {
    .co-mv-grid { grid-template-columns: 1fr; }
    .co-trust-map { grid-template-columns: 1fr; }
    #company-strength .co-trust-logos { grid-template-columns: 1fr; }
    .co-map-nums { flex-direction: row; flex-wrap: wrap; }
    .co-cert { width: 165px; }
    .co-cert img { height: 112px; }
    .co-iso-grid { grid-template-columns: repeat(2, 1fr); }
    .co-award-text { position: static; transform: none; max-width: 100%; padding: 16px 18px 20px; flex-wrap: wrap; }
    .co-award-medal { width: 130px; }
    .co-contact-grid { grid-template-columns: 1fr; }
    .co-ring { height: auto; display: flex; flex-direction: column; gap: 18px; align-items: center; }
    .co-ring-core { position: static; transform: none; margin-bottom: 10px; }
    .co-ring-node { position: static !important; transform: none !important; width: 100%; text-align: center !important; }
    .co-ring::before, .co-ring-node::before { display: none; }
}
@media (max-width: 600px) {
    .co-card { padding: 24px; }
    .co-cert { width: 140px; }
    .co-cert img { height: 96px; }
    .getin-form .form-row { grid-template-columns: 1fr; }
}
