/* =====================
   Index-only Styles
===================== */
section{ padding:56px 0 40px; }

.hero{ padding-top:60px; position:relative; overflow:hidden; }
.hero > *{ position:relative; z-index:2; }

.hero-grid{
  display:grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap:40px;
  align-items:center;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.06);
  background:#fff;
  font-size:11px;
  color: var(--muted);
  margin-bottom:16px;
}
.eyebrow-dot{
  width:6px;height:6px;border-radius:999px;background: var(--accent);
}

.hero-title{
  font-size:42px;
  font-weight:600;
  letter-spacing:-0.03em;
  margin-bottom:12px;
}
.hero-highlight{
  background: radial-gradient(circle at 0 0, #f7d9a6, #c99a5b 50%, #f7eedf 100%);
  -webkit-background-clip:text;
  color:transparent;
}
.hero-subtitle{
  font-size:16px;
  color: var(--muted);
  max-width:520px;
  margin-bottom:22px;
}
.hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  font-size:13px;
  color: var(--muted);
  margin-bottom:22px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:18px; }

.hero-card{
  background:#fff;
  border-radius:22px;
  padding:22px 22px 20px;
  border:1px solid var(--border);
  box-shadow: var(--shadow-soft);
  min-height:190px;
}
.hero-card-title{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:0.09em;
  font-weight:600;
  background: linear-gradient(90deg,#d5b277,#c99a5b);
  -webkit-background-clip:text;
  color:transparent;
  margin-bottom:12px;
}

/* ticker rows */
.hero-tickers{ display:flex; flex-direction:column; gap:8px; }
.hero-ticker-row{
  overflow:hidden;
  border-radius:999px;
  background:#f6f7fb;
  padding:6px 0;
}
.hero-ticker-track{
  display:inline-flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
  animation-name: heroTicker;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.hero-ticker-track--fast{ animation-duration: 20s; }
.hero-ticker-track--medium{ animation-duration: 26s; }
.hero-ticker-track--slow{ animation-duration: 32s; }
.hero-ticker-row:hover .hero-ticker-track{ animation-play-state: paused; }

.hero-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 14px;
  border-radius:999px;
  border:1px solid rgba(201,154,91,0.45);
  background:#fff;
  font-size:11px;
  color: var(--muted);
}
.hero-pill-dot{ width:6px;height:6px;border-radius:999px;background: var(--accent); }

@keyframes heroTicker{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* section header */
.section-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  margin-bottom:18px;
}
.section-title{
  font-size:20px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#a0a2ad;
}
.section-subtitle{
  font-size:15px;
  color: var(--muted);
  max-width:420px;
}
.section-link{
  position:relative;
  display:inline-block;
  color:inherit;
  letter-spacing:0.08em;
  transition: color .25s ease;
}
.section-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-6px;
  width:0;
  height:2px;
  background: var(--accent);
  transition: width .25s ease;
}
.section-link:hover{ color: var(--accent); }
.section-link:hover::after{ width:100%; }

/* grids + cards */
.grid-4{ display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:22px; }
.grid-3{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:22px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:22px; }

.card{
  background:#fff;
  border-radius: var(--radius);
  border:1px solid var(--border);
  padding:20px;
  box-shadow: var(--shadow-soft);
  font-size:14px;
  color: var(--muted);
  transition: .18s ease;
  position:relative;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(15,23,42,0.16);
}
.card-title{
  font-size:18px;
  font-weight:500;
  margin-bottom:6px;
  color: var(--text);
}
.card-title-cn{
  font-size:14px;
  color:#a0a2ad;
  margin-bottom:8px;
}
.card-link{
  font-size:13px;
  color: var(--accent);
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-top:6px;
}
.card-link .arrow{ font-size:13px; transform: translateY(1px); }

/* product category cards */
.product-card{
  border:none;
  background:transparent;
  color:#fff;
  border-radius:28px;
  box-shadow: 0 26px 50px rgba(15,23,42,0.35);
  overflow:hidden;
  padding:24px 24px 22px;
}
.product-card::before,
.product-card::after{
  content:"";
  position:absolute;
  inset:0;
}
.product-card::before{
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  transform: scale(1.03);
  transition: transform .25s ease;
  z-index:0;
}
.product-card::after{
  background: linear-gradient(to bottom, rgba(0,0,0,.35), rgba(0,0,0,.85));
  z-index:1;
}
.product-card:hover::before{ transform: scale(1.07); }
.product-card-inner{ position:relative; z-index:2; }
.product-card .card-title,
.product-card .card-title-cn,
.product-card .card-text,
.product-card .card-link{ color:#fff; }
.product-card .card-title-cn{ opacity:.92; }
.product-card .card-link{ color:#ffedb8; }

.product-card.fireproof::before{ background-image:url("../img/Home/prod-fireproof.jpg"); }
.product-card.metal::before{ background-image:url("../img/Home/prod-metal.jpg"); }
.product-card.pet::before{ background-image:url("../img/Home/prod-pet.jpg"); }
.product-card.acoustic::before{ background-image:url("../img/Home/prod-acoustic.jpg"); }

/* About watermark */
#about{ position:relative; overflow:hidden; }
#about::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-80px;
  width:620px;
  height:620px;
  background:url("assets/img/Home/Logo/logo-ds-hero.png") no-repeat center/contain;
  opacity:.05;
  pointer-events:none;
  z-index:1;
}
#about > *{ position:relative; z-index:2; }

/* responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: minmax(0,1fr); }
  .grid-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px){
  section{ padding:40px 0 30px; }
  .grid-4,.grid-3,.grid-2{ grid-template-columns: minmax(0,1fr); }
}
