/* ═══════════════════════════════════════
   星光珠寶 · custom.css
   客製化服務頁面樣式
   ═══════════════════════════════════════ */

/* ── Hero 特化 ── */
.custom-hero {
  padding-bottom: 6rem;
}
.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.3s, color 0.3s;
}
.hero-scroll-btn:hover {
  background: var(--gold);
  color: var(--black);
}
.hero-scroll-btn i {
  animation: bounceDown 1.5s infinite;
}
@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ── 什麼是客製化 ── */
.s-what-is {
  padding: 6rem 0;
  background: var(--black);
}
.what-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 2;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.what-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.what-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.what-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.what-icon {
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  font-size: 1.2rem;
}
.what-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.what-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ── 步驟流程 ── */
.s-steps {
  padding: 6rem 0;
  background: #0a0a0a;
}
.steps-timeline {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}
.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 2.5rem;
  margin-bottom: 0;
}
.step-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-circle {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  background: var(--black);
  flex-shrink: 0;
  z-index: 1;
}
.step-vline {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 8px 0;
}
.step-content {
  padding-bottom: 3.5rem;
}
.step-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.step-content h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.step-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0.8rem;
}
.step-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gold);
  opacity: 0.75;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

/* ── 類型 ── */
.s-types {
  padding: 6rem 0;
  background: var(--black);
}
.types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.type-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}
.type-card:hover {
  border-color: var(--gold);
}
.type-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.type-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.type-card:hover .type-img img {
  transform: scale(1.06);
}
.type-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.type-card:hover .type-overlay {
  opacity: 1;
}
.type-overlay span {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.type-body {
  padding: 1.8rem;
}
.type-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.type-lead {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.type-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.type-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.type-features li:last-child { border: none; }
.type-features li i {
  color: var(--gold);
  font-size: 0.72rem;
  flex-shrink: 0;
}
.type-price {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--gold);
  padding: 0.6rem 1rem;
  border: 1px solid var(--gold);
  text-align: center;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ── 材質 ── */
.s-materials {
  background: var(--black);
  padding-bottom: 5rem;
}
.mat-hero {
  background: linear-gradient(135deg, #1a1408 0%, #0d0d0d 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  margin-bottom: 3rem;
}
.mat-lead {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  line-height: 2;
  max-width: 680px;
  margin: 0 auto;
}
.mat-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.mat-tab {
  padding: 0.8rem 1.8rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  margin-bottom: -1px;
}
.mat-tab.active,
.mat-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.mat-panel {
  display: none;
}
.mat-panel.active {
  display: block;
}
.mat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.mat-item {
  text-align: center;
}
.mat-swatch {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.diamond-swatch {
  background: linear-gradient(135deg, #e8f4f8, #b0d4e8, #e8f4f8);
}
.diamond-swatch i {
  color: #a0c8e0;
  font-size: 1.2rem;
}
.mat-item h4 {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.mat-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 創意總監角色 ── */
.s-director-role {
  padding: 6rem 0;
  background: #080808;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dir-role-box {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
}
.dir-role-img {
  position: relative;
}
.dir-role-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--border);
}
.dir-role-img::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--gold);
  opacity: 0.3;
  z-index: -1;
}
.dir-role-text h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin: 0.8rem 0 1rem;
  line-height: 1.4;
}
.dir-role-text p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}
.dir-role-text strong {
  color: var(--gold);
}

/* ── FAQ ── */
.s-faq {
  padding: 6rem 0;
  background: var(--black);
}
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 0;
  cursor: pointer;
  transition: color 0.3s;
}
.faq-q span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
}
.faq-q i {
  color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-q span {
  color: var(--gold);
}
.faq-item.open .faq-q i {
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding-bottom: 1.4rem;
}
.faq-a p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
}
.faq-a p strong {
  color: var(--gold);
}
.faq-item.open .faq-a {
  display: block;
}

/* ── CTA ── */
.s-custom-cta {
  background: linear-gradient(135deg, #12100a 0%, #1c1508 50%, #12100a 100%);
  border-top: 1px solid var(--gold-dark);
  border-bottom: 1px solid var(--gold-dark);
  padding: 6rem 0;
  text-align: center;
}
.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}
.cta-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 2.5rem;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: #06C755;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.3s;
}
.btn-line:hover { opacity: 0.85; }
.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition: border-color 0.3s, color 0.3s;
}
.btn-email:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.cta-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(201,169,110,0.6);
}
.cta-info i { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .what-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dir-role-box {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
  }
}
@media (max-width: 800px) {
  .types-grid {
    grid-template-columns: 1fr;
  }
  .dir-role-box {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .dir-role-img img {
    aspect-ratio: 4/3;
  }
  .mat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-timeline {
    padding: 0 1rem;
  }
  .step-item {
    grid-template-columns: 60px 1fr;
    gap: 0 1.5rem;
  }
}
@media (max-width: 600px) {
  .what-cards {
    grid-template-columns: 1fr;
  }
  .mat-tabs {
    gap: 0;
  }
  .mat-tab {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}
