/* ============================================================
   南宁OPC — 首页独有样式 (home.css)
   仅用于 index.html，依赖 css/common.css
   ============================================================ */

/* ========== Hero ========== */
.hero{
  position:relative;min-height:10vh;
  background:url('../images/opc-office-bg.jpg') center/cover no-repeat;
  display:flex;align-items:center;justify-content:flex-start;overflow:hidden;
  padding:80px 20px 80px 12vw;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(160deg,rgba(10,22,40,.5) 0%,rgba(13,34,64,.5) 50%,rgba(15,52,96,.5) 100%);
}
.hero-content{position:relative;z-index:2;text-align:left;max-width:800px}
.hero-badge{
  display:inline-flex;align-items:center;gap:5px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);
  border-radius:50px;padding:6px 20px;color:rgba(255,255,255,.9);
  font-size:.75rem;margin-bottom:28px;backdrop-filter:blur(8px);
}
.hero-badge .dot{width:8px;height:8px;background:var(--accent);border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.hero h1{
  font-size:clamp(2rem,3vw,2.2rem);font-weight:800;color:var(--white);
  line-height:1.3;margin-bottom:20px;letter-spacing:-.02em;
}
.hero h1 span{
  background:linear-gradient(135deg,var(--accent),var(--blue-300));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero p{
  font-size:1.1rem;color:rgba(255,255,255,.8);max-width:630px;
  margin:0 0 30px;line-height:1.8;
}
.hero-btns{display:flex;gap:16px;justify-content:flex-start;flex-wrap:wrap;margin-bottom:30px}
.hero-stats{
  display:flex;gap:50px;justify-content:flex-start;flex-wrap:wrap;
  padding-top:24px;border-top:1px solid rgba(255,255,255,.12);
}
.hero-stat-item{text-align:left;min-width:100px}
.hero-stat-item .hs-number{
  font-size:1.6rem;font-weight:800;color:var(--white);line-height:1.2;
}
.hero-stat-item .hs-plus{color:var(--accent)}
.hero-stat-item .hs-label{
  font-size:.72rem;color:rgba(255,255,255,.65);margin-top:3px;letter-spacing:.04em;
}

/* ========== Services Section ========== */
.services{background:var(--gray-50)}

/* ========== Activities Section ========== */
.activities{background:var(--white)}
.activities-more{text-align:center;margin-top:40px}
.activities-more .more-btn{
  display:inline-flex;align-items:center;gap:8px;padding:12px 32px;border-radius:10px;
  font-size:.92rem;font-weight:600;background:linear-gradient(135deg,var(--blue-500),var(--accent));
  color:var(--white);box-shadow:0 6px 20px rgba(26,115,232,.3);transition:var(--transition);
}
.activities-more .more-btn:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(26,115,232,.4)}

/* ========== News Section ========== */
.news-more{
  text-align:center;margin-top:40px;
}
.news-more a{
  display:inline-flex;align-items:center;gap:6px;
  color:var(--blue-500);font-weight:600;font-size:1rem;
  padding:12px 28px;border:2px solid var(--blue-200);border-radius:50px;
  transition:var(--transition);
}
.news-more a:hover{background:var(--blue-500);color:var(--white);border-color:var(--blue-500)}

/* ========== Office Showcase (home unique) ========== */
.office{background:linear-gradient(180deg,var(--white) 0%,var(--gray-50) 100%)}
.office-showcase{
  display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;
}
.office-image{
  position:relative;border-radius:var(--radius-xl);overflow:hidden;
  box-shadow:var(--shadow-xl);
}
.office-image .placeholder{
  width:100%;aspect-ratio:4/3;background:linear-gradient(135deg,var(--blue-700),var(--blue-500));
  display:flex;align-items:center;justify-content:center;font-size:5rem;color:rgba(255,255,255,.3);
  position:relative;
}
.office-image .badge-float{
  position:absolute;bottom:24px;right:24px;
  background:rgba(255,255,255,.95);padding:16px 20px;border-radius:var(--radius-md);
  box-shadow:var(--shadow-lg);
}
.office-image .badge-float .price{font-size:1.5rem;font-weight:800;color:var(--blue-600)}
.office-image .badge-float .unit{font-size:.8rem;color:var(--gray-500)}
.office-image .loc-tag{
  position:absolute;top:20px;left:20px;
  background:rgba(10,22,40,.7);backdrop-filter:blur(8px);
  color:var(--white);padding:8px 16px;border-radius:var(--radius-sm);
  font-size:.82rem;font-weight:600;display:flex;align-items:center;gap:6px;
}
.office-features{display:flex;flex-direction:column;gap:18px}
.office-features h2{font-size:1.9rem;font-weight:800;color:var(--gray-900);line-height:1.3}
.office-features>p{color:var(--gray-500);line-height:1.8;font-size:.95rem}

/* Highlights bar */
.office-highlights{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:56px;
  padding:36px 40px;background:linear-gradient(135deg,var(--blue-900),var(--blue-700));
  border-radius:var(--radius-xl);
}
.office-highlight-item{display:flex;align-items:center;gap:14px}
.office-highlight-item .oh-icon{
  width:48px;height:48px;border-radius:12px;
  background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;flex-shrink:0;
}
.office-highlight-item .oh-text{color:rgba(255,255,255,.9)}
.office-highlight-item .oh-text h5{font-size:.95rem;font-weight:700;margin-bottom:2px}
.office-highlight-item .oh-text span{font-size:.78rem;color:rgba(255,255,255,.5)}

/* ========== Tax Section ========== */
.tax{background:var(--white)}

/* ========== Policy Section (home unique) ========== */
.policy{background:var(--gray-50)}
.policy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.policy-card{
  background:var(--white);border-radius:var(--radius-lg);padding:28px;
  border-left:4px solid var(--blue-500);box-shadow:var(--shadow-sm);
  transition:var(--transition);display:flex;gap:20px;
}
.policy-card:hover{box-shadow:var(--shadow-lg);transform:translateX(4px)}
.policy-card .pc-date{
  flex-shrink:0;text-align:center;
  background:var(--blue-50);padding:12px 16px;border-radius:var(--radius-md);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-width:72px;
}
.policy-card .pc-date .day{font-size:1.8rem;font-weight:800;color:var(--blue-600);line-height:1}
.policy-card .pc-date .month{font-size:.75rem;color:var(--gray-500);margin-top:4px}
.policy-card .pc-content h4{font-size:1rem;font-weight:700;color:var(--gray-900);margin-bottom:8px}
.policy-card .pc-content h4:hover{color:var(--blue-500)}
.policy-card .pc-content p{font-size:.88rem;color:var(--gray-500);line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.policy-card .pc-tag{
  display:inline-block;margin-top:10px;font-size:.75rem;
  background:var(--blue-50);color:var(--blue-600);
  padding:3px 12px;border-radius:12px;font-weight:600;
}

/* ========== Home Responsive ========== */
@media (max-width: 1024px){
  .office-showcase{grid-template-columns:1fr;gap:40px}
}
@media (max-width: 768px){
  .hero h1{font-size:1.8rem}
  .hero p{font-size:1rem}
  .hero-stats{gap:20px}
  .hero-stat-item .hs-number{font-size:1.3rem}
  .office-highlights{grid-template-columns:repeat(2,1fr)}
  .policy-card{flex-direction:column}
}
@media (max-width: 480px){
  .hero-btns{flex-direction:column;align-items:center}
  .btn{width:100%;justify-content:center}
  .hero-stats{gap:16px}
  .hero-stat-item .hs-number{font-size:1.15rem}
  .hero-stat-item .hs-label{font-size:.68rem}
  .office-highlights{grid-template-columns:1fr}
}
