/* =====================================================
   JHS — Section 3 Title (High-class / Premium)
   Scope ketat: hanya di dalam <section-3-title> … 
   ===================================================== */

section-3-title{ display:block; position:relative; }

/* ===== Tokens (bisa kamu tweak cepat) ===== */
section-3-title{
  --s3-bg: #0f1115;             /* latar gelap elegan */
  --s3-fg: #e5e7eb;             /* teks utama */
  --s3-muted: #a3a7b0;          /* teks sekunder */
  --s3-gold: #D6B65A;           /* aksen emas halus */
  --s3-red: #C20E1A;            /* aksen brand (hemat) */
  /* --s3-maxw: 980px;             lebar container */
  --s3-rad: 16px;               /* radius kartu */
}

/* ===== Layout dasar ===== */
/* ===== Background: gradien elegan + spotlight halus di judul ===== */
section-3-title .s3-hero{
  position: relative; /* penting utk ::before spotlight */
}

/* highlight tipis bagian atas agar nav/heading lebih “terbaca” */
section-3-title .s3-hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 28%);
}

/* ===== Capacity / tagline area – rapikan ===== */
#sec3-adv1 hr{ display:none !important; }               /* sembunyikan hr lama */
#capacity-service{ 
  margin-top: .25rem; 
  color: var(--s3-muted); 
  font-weight: 500;
}
#capacity-service .display-5{
  /* angka besar yang refined */
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800; 
  color: var(--s3-fg);
  letter-spacing: .02em;
}

/* matikan “bar biru” & ubah jadi chips elegan */
#capacity-service-2{ background: transparent !important; margin-top: .25rem; }
#capacity-service-2 span{
  display: inline-block;
  padding: .35rem .8rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, #C20E1A, #8B0F18);
  color: #fff;
  font-weight: 700;
  font-size: clamp(12px, 1.05vw, 14px);
  box-shadow: 0 10px 24px rgba(194,14,26,.33);
  margin: 4px 6px;
}

/* ===== Cards: sedikit lebih terang dan rapi ===== */
section-3-title .s3-card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 36px rgba(0,0,0,.28);
}
section-3-title .s3-card p{ color: #c5c9d1; } /* sedikit lebih terang */

/* ===== Spasi global agar tidak terasa “terhambur” ===== */
/* section-3-title .s3-inner{ max-width: 980px; } */
#sec3-adv2.s3-benefits, #sec3-adv3.s3-benefits{
  margin-top: clamp(20px, 3.5vw, 36px);
}


/* ===== Title premium ===== */
section-3-title .title-lux{
  /* gunakan serif JP bila tersedia untuk rasa "mincho" mewah */
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: .02em;
  font-size: clamp(28px, 3.6vw, 52px);
  text-rendering: optimizeLegibility;
  margin: 0 0 .5rem;
  position: relative;
  display: inline-block;
  /* shimmer tipis agar judul terasa crisp di atas video/latar gelap */
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* Optional garis tipis kiri–kanan yang memudar (sangat halus) */
section-3-title .title-lux::before,
section-3-title .title-lux::after{
  content:"";
  position:absolute; top: 52%;
  width: 24vw; max-width: 220px; height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(214,182,90,0), rgba(214,182,90,.55), rgba(214,182,90,0));
  opacity: .55;
}
section-3-title .title-lux::before{ right: 100%; margin-right: 1.2rem; }
section-3-title .title-lux::after{  left:  100%; margin-left:  1.2rem; }

/* Subheading EN kecil (opsional, kalau kamu pakai) */
section-3-title .title-en{
  display:block;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: clamp(12px, 1.05vw, 14px);
  opacity: .85;
  margin-bottom: .35rem;
}

/* Subheading JP / deskripsi singkat */
section-3-title .s3-subtitle{
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--s3-muted);
  line-height: 1.85;
  margin: .35rem auto 0;
  max-width: 860px;
}

/* Divider emas mewah */
section-3-title .s3-divider{
  height: 2px; width: 140px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--s3-gold), transparent);
  border-radius: 999px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}

/* ===== Grid "benefit" / poin singkat (opsional) ===== */
section-3-title .s3-benefits{
  margin-top: clamp(28px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(12px, 2vw, 20px);
}
section-3-title .s3-card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--s3-rad);
  box-shadow: 0 10px 34px rgba(0,0,0,.30);
  text-align: left;
  padding: 18px 20px;
}
section-3-title .s3-card .s3-card-title{
  font-weight: 700;
  margin-bottom: .35rem;
}
section-3-title .s3-card p{
  color: var(--s3-muted);
  margin: 0;
  line-height: 1.7;
}

/* ===== Micro animation (lembut) ===== */
section-3-title .reveal-up{
  opacity: 0; transform: translateY(10px);
  animation: s3Rise .45s cubic-bezier(.2,.6,.2,1) .05s forwards;
}
section-3-title .s3-benefits .s3-card:nth-child(2){ animation-delay: .12s; }
section-3-title .s3-benefits .s3-card:nth-child(3){ animation-delay: .18s; }
section-3-title .s3-benefits .s3-card:nth-child(4){ animation-delay: .24s; }

@keyframes s3Rise{
  to{ opacity:1; transform: translateY(0); }
}

/* ===== Responsif ===== */
@media (max-width: 576px){
  section-3-title .title-lux::before,
  section-3-title .title-lux::after{ display:none; } /* rapikan di layar kecil */
  section-3-title .s3-benefits{ grid-template-columns: 1fr; }
}

/* Metric premium */
.s3-metric .label{ color: var(--s3-muted); }
.s3-metric .num{
  line-height: 1; margin: .1rem 0;
  letter-spacing: .02em;
}
.s3-metric .num > span{
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 800; color: var(--s3-fg);
}
.s3-metric .num > small{
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--s3-muted);
  margin-left: .15em;
}

/* Chips elegan */
.s3-chips{
  margin-top: .35rem; display:flex; gap:10px; flex-wrap:wrap; justify-content:center;
}
.s3-chip{
  display:inline-block; padding:.38rem .85rem; border-radius:9999px;
  background: linear-gradient(180deg, #C20E1A, #8B0F18); color:#fff; font-weight:700;
  font-size: clamp(12px, 1.05vw, 14px);
  box-shadow: 0 10px 24px rgba(194,14,26,.33);
}

/* =============== Quiet Luxury Metric =============== */
.metric-prestige{
  --gold: #d65a5a;
  --ink: #1a1d22;              /* teks utama (sesuaikan brand) */
  --muted: #8a8f98;            /* teks kecil */
  --fade: rgba(0,0,0,.06);     /* garis halus */
  display:inline-block; text-align:center;
  padding: 6px 10px;
}

.metric-prestige .metric-line{
  display:inline-flex; align-items:flex-end; gap: .9rem;
  line-height:1;
}

/* “年間 / の実績” kecil, elegan */
.metric-prestige .cap{
  font-weight:700; letter-spacing:.08em; color: #a96565;
  font-size: 35px;
  position: relative; top: -0.2em;
}
.metric-prestige .cap-after::after{
  content:"！"; margin-left:.05em; color: var(--muted);
}

/* angka utama: besar, tegas, tanpa efek berlebihan */
.metric-prestige .num{
  display:inline-flex; align-items:baseline; gap:.35rem;
}
.metric-prestige .num .k{
  font-weight: 800; letter-spacing: .01em; color: #d6b65a;
  font-variant-numeric: tabular-nums;
  font-size: clamp(56px, 7vw, 108px);
  text-shadow: 0 3px #fff;
}
.metric-prestige .num .unit{
  font-weight:700; color: #a96565;
  font-size: 35px;
  transform: translateY(-.12em);
}

/* garis tipis emas sangat halus */
.metric-prestige .hairline{
  width: clamp(120px, 18vw, 200px); height: 2px;
  margin: 10px auto 8px; border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 1px 0 var(--fade);
  opacity:.9;
}

/* subnote kecil uppercase */
.metric-prestige .note{
  font-weight: 600; letter-spacing:.18em; color: var(--muted);
  font-size: clamp(11px, .95vw, 13px);
  text-transform: uppercase;
  opacity:.9;
}

/* responsif */
@media (max-width:576px){
  .metric-prestige .metric-line{ gap:.6rem; }
}

.metric-prestige .ribbon{
  display:inline-block; margin-bottom:8px;
  padding: .28rem .7rem; border-radius:9999px;
  background: linear-gradient(180deg, #b9963f, #e2c56f);
  color:#1c1b17; font-weight:800; letter-spacing:.12em;
  font-size: clamp(10px, .9vw, 12px);
  box-shadow: 0 6px 18px rgba(214,182,90,.28), inset 0 1px 0 rgba(255,255,255,.55);
}

/* ===== base ===== */
.metric-prestige{
  --red:#b80018;
  --ink:#1a1d22; --muted:#8a8f98;
  display:inline-block; text-align:center; padding:6px 10px;
  position: relative;
}
.metric-prestige .metric-line{
  display:inline-flex; align-items:flex-end; gap:.9rem; line-height:1;
}
/* angka + unit */
.metric-prestige .num{
  position:relative; /* penting utk pseudo panggung */
  display:inline-flex; align-items:baseline; gap:.35rem;
  z-index:1;
}

/* Panggung merah (bukan kotak): gradien naik + ujung membulat */
.metric-prestige::before{
  content:"";
  position:absolute;
  left:-2.5%;
  bottom:-10px;
  width: 105%;  /* lebih lebar dari teks, bisa 140% kalau mau lebih panjang */
  height:clamp(22px,4.5vw,58px);

  background:linear-gradient(to top,
              rgba(184,0,24,.90) 0%,
              rgba(184,0,24,.45) 40%,
              rgba(184,0,24,.18) 75%,
              rgba(184,0,24,0) 100%);
  filter:blur(.5px);
  z-index:-99;
}
/* Shadow elips lembut di bawah panggung */
.metric-prestige::after{
  content:""; position:absolute; left:-26px; right:-26px; bottom:15px;
  height:clamp(10px,2.8vw,22px);
  background:radial-gradient(ellipse at 50% 50%,
              rgba(0,0,0,.20) 0%,
              rgba(0,0,0,.12) 45%,
              rgba(0,0,0,0) 70%);
  transform:translateY(65%);
  border-radius:9999px;
  z-index:-999; pointer-events:none;
}

/* angka stabil (ghost width) */
.metric-prestige .k-box{ position:relative; display:inline-block; line-height:1; }
.metric-prestige .k{
  position:absolute; inset:0; display:inline-block;
  font-weight:800; letter-spacing:.01em; color:var(--ink);
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1, "lnum" 1;
  font-size:clamp(56px,7vw,108px);
  white-space:nowrap; text-align:center;
}
.metric-prestige .k-ghost{
  visibility:hidden; user-select:none;
  font-weight:800; font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1, "lnum" 1;
  font-size:clamp(56px,7vw,108px);
}

.metric-prestige .unit{
  font-weight:700; color:var(--muted);
  font-size:clamp(16px,1.6vw,20px);
  transform:translateY(-.12em);
}

/* pastikan style lama (hairline) tidak aktif */
.metric-prestige .hairline{ display:none !important; }

@media (max-width:576px){
  .metric-prestige .metric-line{ gap:.6rem; }
}
