/* 
Theme Name: Brite Custom Theme
Author: Cynthia and Woody at Dec. 2025
Description: My clean custom theme.
Version: 1.0
*/

:root {
    /* 品牌色系 */
    --primary: #222222;
    --accent: #D4AF37;            /* 稍微深一点的金色/黄，更有质感 */
    --white: #ffffff;
    --text-gray: #CCCCCC;         /* 浅灰文字，用于深色背景 */
    --bg-gray: #f0f0f0;           /* 匹配图片的浅灰色 */
    --radius: 12px;               /* 保持原有的圆润感 */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--primary);
    background-color: var(--white);
    line-height: 1.6;
    padding-top: 70px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* 按钮风格 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #4438e7;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
}
.btn:hover {
    transform: translateY(-2px);
    background: #4438e7;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================= Header ================= */
header {
    padding: 20px 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img{
  height: 65px;        /* 推荐 32–40px 之间 */
  width: auto;
  display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: #555;
}
.nav-links a:hover { color: var(--accent); }

/* ================= Hero Section (Original Single BG) ================= */
/* 注意：如果你的首页已经改为 hero-slider，请使用下方 “Hero Slider” 样式作为主样式。
   这里保留原 hero 作为兜底/兼容。*/
.hero {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
        url('https://placehold.co/1920x800/333/666?text=Construction+Site+Background');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    text-align: left;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    margin-bottom: 30px;
    max-width: 600px;
    font-size: 18px;
    color: #eeeeee;
    font-weight: 300;
}

/* ================= Hero Banner (ProductList) ================= */
.hero-banner {
    width: 100%;
    height: 350px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://placehold.co/1920x350/1a1a1a/1a1a1a');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: 0 20px;
}

.hero-banner h1 {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-banner p {
    font-size: 18px;
    font-weight: 300;
    color: #cccccc;
    max-width: 650px;
    line-height: 1.5;
}

/* ================= Categories Grid ================= */
.categories { padding: 80px 0; }

.cat-grid {
    display: grid;
    grid-template-columns: 40% 1fr;
    grid-template-rows: 280px 280px;
    gap: 24px;
}

.cat-card {
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
    transition: transform 0.3s;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.cat-card:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow);
}

.cat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
    transition: 0.3s;
}

.cat-card:hover::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.cat-content {
    z-index: 2;
    position: relative;
    width: 100%;
}

.cat-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cat-link-text {
    font-size: 14px;
    color: var(--white);
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 背景设置 - 这里是占位示例；你实际使用时已在模板中用 inline style 传图片 */
.cat-large {
    grid-row: 1 / 3;
    background-color: #D4AF37;
    background-image: url('https://placehold.co/600x800/D4AF37/333?text=Car+Equipments');
}
.cat-top-right {
    background-color: #333333;
    background-image: url('https://placehold.co/800x400/333/fff?text=Doors+%26+Windows');
}
.cat-bottom-right {
    background-color: #555555;
    background-image: url('https://placehold.co/800x400/555/fff?text=Plumbing+%26+Toilets');
}

/* ================= Category Grid (ProductList) ================= */
.product-grid-main {
    max-width: 1280px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--bg-gray);
    border-radius: 24px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 380px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background-color: #e8e8e8;
}

.category-icon {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-icon i {
    font-size: 100px;
    color: #333333;
    transition: 0.3s;
}

.card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
    margin-top: auto;
    margin-bottom: 10px;
    transition: 0.3s ease;
}

/* 查看更多按钮 */
.more-btn {
    position: absolute;
    bottom: 40px;
    background-color: var(--primary);
    color: white;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    cursor: pointer !important;
    z-index: 5;
}

.card:hover .more-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.card:hover h3 {
    transform: translateY(-30px);
    opacity: 0.2;
}

.more-btn:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ================= Midpoint Section ================= */
/*.midpoint-section {*/
/*    padding: 100px 0;*/
/*    background-color: #f9f9f9;*/
/*}*/

/*.midpoint-img-container {*/
/*    height: 400px;*/
/*    border-radius: var(--radius);*/
/*    box-shadow: var(--shadow);*/
/*    overflow: hidden;*/
/*    position: relative;*/
/*    background: #fff;*/
/*}*/

/*.midpoint-wrapper {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 60px;*/
/*    align-items: center;*/
/*}*/

/*.midpoint-img-container img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*}*/

/*.midpoint-text h2 {*/
/*    font-size: 42px;*/
/*    line-height: 1.2;*/
/*    margin-bottom: 20px;*/
/*}*/

/*.midpoint-sub {*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 2px;*/
/*    font-weight: 600;*/
/*    color: var(--accent);*/
/*    margin-bottom: 10px;*/
/*    display: block;*/
/*}*/

/*.feature-list { margin: 30px 0; }*/

/*.feature-item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 15px;*/
/*    margin-bottom: 15px;*/
/*    font-weight: 500;*/
/*}*/

/*.feature-icon {*/
/*    width: 32px;*/
/*    height: 32px;*/
/*    background: rgba(212, 175, 55, 0.2);*/
/*    color: #b58b00;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 14px;*/
/*}*/


/* ================= Our Partners Section ================= */
.partners-section{
  padding: 100px 0;
  background: #f9f9f9;
}

.partners-header{
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}

.partners-header .kicker{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #9a9a9a;
  margin-bottom: 12px;
}

.partners-header h2{
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.partners-header p{
  color: #777;
  font-size: 16px;
}

/* 2x2 cards */
.partners-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 30px;
}

/* Card */
.partner-card{
  position: relative;
  border-radius: var(--radius, 16px);
  box-shadow: var(--shadow, 0 10px 20px rgba(0,0,0,0.10));
  overflow: hidden;
  background: #fff;
  min-height: 320px;
  display: flex;
  align-items: stretch;
}

/* Background image (logo background) */
.partner-card::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--partner-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

/* subtle overlay to ensure text readable */
.partner-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.10) 55%, rgba(0,0,0,0.06));
}

/* content */
.partner-card-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.partner-name{
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.partner-sub{
  margin-top: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.45;
  max-width: 50ch;
  text-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* Button */
.partner-btn{
  margin-top: 18px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.90);
  color: #111;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.65);
  transition: transform .18s ease, background .18s ease;
}

.partner-btn:hover{
  transform: translateY(-1px);
  background: #fff;
}

/* Responsive */
@media (max-width: 900px){
  .partners-section{ padding: 70px 0; }
  .partners-grid{ grid-template-columns: 1fr; }
  .partner-card,
  .partner-card-inner{ min-height: 280px; }
}


/* ================= Lift Tabs Section ================= */
.products-section {
    padding: 60px 0 100px;
    text-align: center;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 600;
    color: #999;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--accent);
}

.tab-content {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    animation: fadeIn 0.5s;
}

.tab-content.active { display: grid; }

.product-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 20px;
    transition: 0.3s;
    text-align: left;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.prod-img {
    height: 180px;
    background: #f4f4f4;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= 极简专业报价模块 ================= */
.quote-minimal {
    padding: 40px 0;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
}

.quote-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.quote-content p {
    font-size: 14px;
    color: #888;
}

.quote-form {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    width: 450px;
}

.quote-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.quote-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 25px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.quote-form button:hover {
    background: var(--accent);
    color: var(--primary);
}

/* ================= PDF 预览安全区域 ================= */
.pdf-section {
    padding: 40px 0 80px;
    background-color: #fafafa;
}

.pdf-section .container {
    width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.pdf-scroll-container {
    width: 100%;
    height: 850px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #e4e4e4;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    position: relative;
}

.pdf-content-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    pointer-events: none;
}

.pdf-frame {
    width: 100%;
    height: 150%;
    border: none;
    margin-top: -50px;
    pointer-events: none;
}

/* ================= Footer ================= */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 80px 0 30px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul li { margin-bottom: 10px; }

/* ================= About Section ================= */
.about-main { padding: 60px 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.about-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.contact-header .contact-logo img{
    max-width: 280px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    
}
/* ================= Statistics ================= */
.stats-row {
    padding: 40px 0;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
}

.stat-item { position: relative; }

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #ddd;
}

.stat-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
}

/* ================= 响应式 ================= */
@media (max-width: 1100px) {
    .product-grid-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .cat-grid,
    .midpoint-wrapper,
    .tab-content,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .midpoint-section { background: #fff; }

    .cat-large {
        grid-row: auto;
        height: 300px;
    }

    .quote-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .quote-form { width: 100%; }

    .pdf-scroll-container { height: 600px; }

    .about-grid { grid-template-columns: 1fr; }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-item:not(:last-child)::after { display: none; }

    .nav-links { display: none; }
}

@media (max-width: 768px) {
    .product-grid-main { grid-template-columns: 1fr; }
    .hero-banner h1 { font-size: 32px; }
}

/* =========================================
   从 Header 中迁移过来的新样式
   ========================================= */

/* 1. Lift Tabs */
.lift-tabs-grid .cat-card {
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
button.cat-card {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    font-family: inherit;
}
.lift-tabs-grid .cat-card.active {
    transform: scale(1.01);
    box-shadow: var(--shadow);
}
.lift-tabs-grid .cat-card.active::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.42));
}
.lift-tabs-grid .cat-card.active .cat-link-text { opacity: 1; }

/* 注意：这里不要再覆盖 tab-content 的 display:grid 逻辑。
   你的 lift tabs 如果使用 grid 布局，请用上面的 .tab-content.active { display:grid }；
   这里仅保留“可见/不可见”的兜底不会破坏 grid。 */
.tab-content { display: none; }
.tab-content.active { display: block; }

/* 2. Hero Overlay (补充 style.css 原有的 hero) */
.hero {
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.70), rgba(0,0,0,0.35));
    z-index: 1;
}
.hero .hero-content {
    position: relative;
    z-index: 2;
}

/* 3. Midpoint Header */
/*.midpoint-header {*/
/*    max-width: 860px;*/
/*    margin: 0 auto 40px;*/
/*    text-align: center;*/
/*}*/
/*.midpoint-header .kicker {*/
/*    display: inline-block;*/
/*    font-size: 12px;*/
/*    letter-spacing: 2px;*/
/*    text-transform: uppercase;*/
/*    font-weight: 700;*/
/*    color: #9a9a9a;*/
/*    margin-bottom: 12px;*/
/*}*/
/*.midpoint-header h2 {*/
/*    font-size: 38px;*/
/*    line-height: 1.2;*/
/*    margin-bottom: 10px;*/
/*}*/
/*.midpoint-header p {*/
/*    color: #777;*/
/*    font-size: 16px;*/
/*}*/

/* 4. General Section Header */
.section-header {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}
.section-header .kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: #9a9a9a;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-header p {
    color: #777;
    font-size: 16px;
}

/* 5. Model Section */
.model-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}
.model-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
}
.model-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 28px;
}
.model-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
}
.model-card p {
    color: #666;
    margin-bottom: 18px;
}
.principles {
    display: grid;
    gap: 12px;
}
.principle {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.18);
}
.principle i {
    color: #b58b00;
    margin-top: 2px;
}
.principle span {
    font-weight: 600;
    color: #333;
}
.model-aside {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    min-height: 340px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow);
}
.model-aside .aside-content {
    position: absolute;
    inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}
.model-aside .badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    width: fit-content;
    margin-bottom: 10px;
    font-weight: 700;
}
.model-aside p {
    color: rgba(255,255,255,0.92);
    max-width: 360px;
}

/* 6. Industries Section */
.industries-section {
    padding: 90px 0;
    background: #f9f9f9;
}
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.industry-tile {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    transition: transform 0.25s ease;
    text-align: left;
}
.industry-tile:hover { transform: translateY(-4px); }
.industry-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(34,34,34,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
}
.industry-icon i { color: #333; }
.industry-tile h4 { font-size: 16px; margin-bottom: 8px; }
.industry-tile p { font-size: 14px; color: #777; }

/* 7. Partner Section */
.partner-section {
    padding: 90px 0;
    background: #121212;
    color: #e9e9e9;
}
.partner-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}
.partner-header .kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(212,175,55,0.95);
    margin-bottom: 12px;
}
.partner-header h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: #fff;
}
.partner-header p { color: rgba(255,255,255,0.78); font-size: 16px; }

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.partner-item {
    border-radius: var(--radius);
    padding: 18px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.partner-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 7px;
    flex: 0 0 10px;
}
.partner-item span { color: rgba(255,255,255,0.90); font-weight: 600; }

/* 8. Additional Responsive Fixes */
@media (max-width: 992px) {
    .model-wrapper, .industries-grid, .partner-grid { grid-template-columns: 1fr; }
    .model-aside { min-height: 260px; }
}

/* ================= 分类页面 (Category/Archive) ================= */
.category-hero {
    background: #222;
    color: white;
    padding: 80px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.category-hero::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}
.category-hero-content {
    position: relative;
    z-index: 2;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.post-card:hover { transform: translateY(-5px); }

.post-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #eee;
}

.post-content {
    padding: 25px;
    flex-grow: 1;
}
.post-content h2 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #222;
}
.post-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.read-more {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ================= Contact Section ================= */
.contact-section {
    padding: 90px 0;
    background: #ffffff;
}

.contact-header {
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}

.contact-header .kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: #9a9a9a;
    margin-bottom: 12px;
}

.contact-header h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.contact-header p {
    color: #777;
    font-size: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.contact-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    padding: 28px;
}

.contact-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-card .muted {
    color: #666;
    margin-bottom: 18px;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 20px 0;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(34,34,34,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 40px;
}

.contact-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #888;
    margin-bottom: 2px;
}

.contact-value {
    font-weight: 600;
    color: #222;
}

.contact-note {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.18);
    color: #333;
    font-weight: 600;
}

.contact-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.contact-form .field { margin-bottom: 12px; }

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 12px 12px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(212,175,55,0.55);
    box-shadow: 0 0 0 4px rgba(212,175,55,0.12);
}

.form-hint {
    margin-top: 12px;
    font-size: 13px;
    color: #777;
}

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form .field-row { grid-template-columns: 1fr; }
}

/* ================= Hero Slider ================= */
/* 关键改动：
   1) dots: 底部居中
   2) arrows: 左下角 / 右下角
   3) controls 不挡住 hero 文本：pointer-events 处理
*/
.hero-slider {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slides {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* overlay to ensure text readability */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.72), rgba(0,0,0,0.48));
}

/* 这里复用你已有 .hero-content，确保在 slider 上层 */
.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
    color: #fff;
}

.hero-kicker {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 15px;
}

.hero-text h1 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* dots: Header 底部正中 */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 6;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: 0.25s;
    padding: 0;
}

.hero-dot.active {
    background: var(--accent);
    border-color: rgba(212,175,55,0.85);
}

/* arrows: 左下角 / 右下角 */
.hero-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    display: flex;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 5;
    pointer-events: none; /* 不挡住 hero 内容 */
}

.hero-btn {
    pointer-events: auto; /* 只让按钮可点 */
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.25s;
}

.hero-btn:hover {
    background: rgba(0,0,0,0.55);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-controls {
        bottom: 20px;
        padding: 0 16px;
    }
    .hero-dots { bottom: 18px; }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
    .hero-slides { transition: none; }
    .hero-btn { transition: none; }
}
