/* ============================================
   About Us 页面样式 - 基于 BEM 架构
   ============================================
   职责：定义 About Us 页面专属样式
   依赖：base.css, components.css, inStyle.css
   命名规范：使用 `ss-` 前缀，遵循 BEM 命名法
   
   ⚠️ 注意：此文件中的样式已迁移至 Tailwind CSS (input.css)
   保留此文件仅作为备份参考，实际样式由 output.css 提供
   ============================================ */

/*
/* ============================================
   1. 页面容器
   ============================================ */
.ss-page--about-us {
    font-family: var(--font-family, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    color: var(--text-color, #2c3e50);
    line-height: 1.8;
    max-width: 100%;
    overflow-x: hidden;
}

/* 确保 main 元素不超出视口 */
body.page-template-page-about-us-php main#site-content {
    max-width: 100vw;
    overflow-x: hidden;
}

/* 使用更高优先级，确保覆盖 base.css 中的 .ss-container 样式 */
body.page-template-page-about-us-php .ss-page--about-us .ss-container,
.ss-page--about-us .ss-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Hero 部分 - 100% 宽度显示，不受容器限制 */
.ss-page--about-us .ss-about-hero {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* 如果 hero wrapper 被包在 container 里，突破容器限制实现 100% 宽度 */
.ss-about-hero .ss-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

/* ============================================
   2. Hero 区块 - 视频和介绍
   ============================================ */
.ss-about-hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
}

.ss-about-hero__wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 350px;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.ss-about-hero__video {
    width: 100%;
    height: 350px;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.ss-about-hero__video:hover {
    transform: translateY(-8px);
}

.ss-about-hero__video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.ss-about-hero__video-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: none;
    padding: 0;
}

.ss-about-hero__video-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.ss-about-hero__video-btn img {
    width: 40px;
    height: 40px;
}

.ss-about-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    box-sizing: border-box;
    min-width: 0;
}

.ss-about-hero__title {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.ss-about-hero__subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.95);
    margin: 0 0 32px;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

.ss-about-hero__cta {
    margin-top: 8px;
}

.ss-btn--large {
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 700;
}

.ss-about-hero__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

/* ============================================
   3. 视频模态框
   ============================================ */
.ss-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.ss-modal[aria-hidden="false"] {
    display: flex;
}

.ss-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.ss-modal__content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10000;
}

.ss-modal__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.ss-modal__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ss-modal__iframe {
    width: 100%;
    height: 675px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: none;
}

/* ============================================
   2.1 Company Introduction / Intro (新增：对接 page-about-us.php)
   ============================================ */
.ss-about-intro {
    padding: 80px 0;
    background: #fff;
}

.ss-about-intro__wrapper {
    display: flex;
    justify-content: center;
}

.ss-about-intro__content {
    width: 100%;
    max-width: 1200px;
}

.ss-about-intro__title {
    font-size: 34px;
    font-weight: 800;
    color: #1f2d3d;
    margin: 0 0 16px;
}

.ss-about-intro__description {
    color: #5a6c7d;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
}

.ss-about-intro__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 34px;
}

.ss-about-intro__stat {
    background: #f7f9fc;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
}

.ss-about-intro__stat-number {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary-color, #2b67f6);
    line-height: 1.1;
    margin-bottom: 6px;
}

.ss-about-intro__stat-label {
    color: #5a6c7d;
    font-weight: 600;
}

.ss-about-intro__features {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
    margin: 18px 0 34px;
}

.ss-about-intro__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.ss-about-intro__feature-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 12px 14px;
    color: #1f2d3d;
    box-shadow: 0 8px 22px rgba(0,0,0,0.04);
}

.ss-about-intro__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.ss-about-intro__video {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    background: #000;
}

.ss-about-intro__video-img {
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    display: block;
    opacity: 0.92;
}

.ss-about-intro__video-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255,255,255,0.92);
    color: var(--primary-color, #2b67f6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.ss-about-intro__video-btn:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: rgba(255,255,255,1);
}

.ss-about-intro__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* ============================================
   2.2 Why Choose Us (新增：对接 page-about-us.php)
   ============================================ */
.ss-about-why {
    padding: 80px 0;
    background: #f7f9fc;
}

.ss-about-why__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 34px;
}

.ss-about-why__title {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #1f2d3d;
}

.ss-about-why__subtitle {
    margin: 0;
    color: #5a6c7d;
}

.ss-about-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ss-about-why__card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.ss-about-why__card-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #1f2d3d;
}

.ss-about-why__card-desc {
    margin: 0;
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.75;
}

/* ============================================
   2.3 CTA (新增：对接 page-about-us.php)
   ============================================ */
.ss-about-cta {
    padding: 90px 0;
    background: linear-gradient(135deg, var(--primary-color, #2b67f6) 0%, #1a4fd3 100%);
    color: #fff;
}

.ss-about-cta__wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.ss-about-cta__title {
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 900;
    color: #fff;
}

.ss-about-cta__desc {
    margin: 0;
    opacity: 0.92;
    max-width: 720px;
    color: #fff;
}

.ss-about-cta__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ss-about-cta .ss-btn--secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
}

.ss-about-cta .ss-btn--secondary:hover {
    background: rgba(255,255,255,0.12);
}

/* ============================================
   4. Capabilities 区块 - 能力展示轮播
   ============================================ */
.ss-about-capa {
    padding: 80px 0;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.ss-about-capa .ss-container {
    width: 100%;
    max-width: 1230px;
    padding: 0 20px;
    box-sizing: border-box;
}

.ss-about-capa__swiper {
    width: 100%;
    max-width: 1230px;
    overflow: hidden;
    position: relative;
}

.ss-about-capa__swiper .swiper-wrapper {
    overflow: visible;
    padding-bottom: 60px;
    display: flex;
    align-items: stretch;
}

.ss-about-capa__card {
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    height: 100%;
}

.ss-about-capa__card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.ss-about-capa__card-link,
.ss-about-capa__card-title {
    padding: 16px 18px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
}

.ss-about-capa__card-link {
    text-decoration: none;
}

.ss-about-capa__card-link:hover {
    color: var(--primary-color, #2b67f6);
}

/* ============================================
   5. NEW - Manufacturing Process
   ============================================ */
.ss-about-process {
    padding: 80px 0;
    background: #fff;
}

.ss-about-process__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.ss-about-process__title {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #1f2d3d;
}

.ss-about-process__subtitle {
    margin: 0;
    color: #5a6c7d;
}

.ss-about-process__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.ss-about-process__item {
    background: #f7f9fc;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 18px 16px;
}

.ss-about-process__step {
    font-weight: 800;
    color: var(--primary-color, #2b67f6);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ss-about-process__item-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1f2d3d;
}

.ss-about-process__item-desc {
    margin: 0;
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================
   6. NEW - Factory Strength
   ============================================ */
.ss-about-strength {
    padding: 30px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.ss-about-strength__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 35px;
}

.ss-about-strength__title {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #1f2d3d;
}

.ss-about-strength__subtitle {
    margin: 0;
    color: #5a6c7d;
}

.ss-about-strength__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.ss-about-strength__card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.ss-about-strength__number {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary-color, #2b67f6);
    line-height: 1.1;
    margin-bottom: 6px;
}

.ss-about-strength__label {
    color: #5a6c7d;
    font-weight: 600;
}

/* ============================================
   7. NEW - FAQ
   ============================================ */
.ss-about-faq {
    padding: 30px 0;
    background: #fff;
}

.ss-about-faq__header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 35px;
}

.ss-about-faq__title {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #1f2d3d;
}

.ss-about-faq__subtitle {
    margin: 0;
    color: #5a6c7d;
}

.ss-about-faq__list {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.ss-about-faq__item {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.ss-about-faq__question {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 18px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    color: #1f2d3d;
}

.ss-about-faq__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #1f2d3d;
}

.ss-about-faq__question[aria-expanded="true"] .ss-about-faq__icon {
    transform: rotate(45deg);
}

.ss-about-faq__answer {
    padding: 0 10px 18px;
    color: #5a6c7d;
}

*/
/* ============================================
   8. Responsive
   ============================================ */
@media (max-width: 1200px) {
    .ss-about-process__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ss-about-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ss-about-intro__features { grid-template-columns: 1fr; }
    .ss-about-cta__wrapper { flex-direction: column; text-align: center; }
}

@media (max-width: 992px) {
    body.page-template-page-about-us-php .ss-page--about-us .ss-container,
    .ss-page--about-us .ss-container {
        padding: 0 20px;
    }

    .ss-modal__iframe { height: 520px; }

    .ss-about-process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ss-about-strength__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .ss-about-hero__title { font-size: 36px; }
    .ss-about-hero__subtitle { font-size: 18px; }
}

@media (max-width: 576px) {
    .ss-about-hero__wrapper { height: 240px; }
    .ss-about-hero__title { font-size: 28px; margin-bottom: 12px; }
    .ss-about-hero__subtitle { font-size: 16px; margin-bottom: 24px; }
    .ss-btn--large { padding: 14px 28px; font-size: 16px; }
    .ss-modal__iframe { height: 280px; }
    .ss-about-process__grid { grid-template-columns: 1fr; }
    .ss-about-strength__grid { grid-template-columns: 1fr; }
    .ss-about-why__grid { grid-template-columns: 1fr; }
    .ss-about-intro__stats { grid-template-columns: 1fr; }
}

/* 隐藏桌面端汉堡菜单按钮 */
@media (min-width: 992px) {
  .tw-header .tw-header__hamburger,
  .tw-header__hamburger,
  button.tw-header__hamburger,
  button#menu-toggle,
  #menu-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}
