/* ==========================================================================
   Fahmi Dev — Jasa Pembuatan Website & SEO
   Design system: korporat oranye + putih, tegas & terpercaya
   ========================================================================== */

:root {
  --orange-50:  #FFF6EF;
  --orange-100: #FFE9D8;
  --orange-200: #FFD3B0;
  --orange-400: #FB8A3C;
  --orange-500: #F97316;
  --orange-600: #E8590C;
  --orange-700: #C2410C;
  --ink:        #101828;
  --ink-2:      #344054;
  --body:       #475467;
  --body-soft:  #525E6E;
  --line:       #E5E8ED;
  --line-soft:  #EFF1F5;
  --bg:         #FFFFFF;
  --bg-soft:    #F8F9FB;
  --bg-warm:    #FFFBF7;
  --green:      #047857;
  --radius-sm:  10px;
  --radius:     14px;
  --radius-lg:  20px;
  --radius-xl:  26px;
  --shadow-xs:  0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm:  0 2px 8px rgba(16, 24, 40, .06);
  --shadow-md:  0 10px 28px rgba(16, 24, 40, .08);
  --shadow-lg:  0 24px 60px rgba(16, 24, 40, .12);
  --shadow-orange: 0 10px 24px rgba(232, 89, 12, .22);
  --wrap: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}

main, .section, .site-footer, .cta-band {
  max-width: 100%;
  overflow-x: clip;
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.022em;
}
h1 { font-size: clamp(2.15rem, 4.4vw, 3.55rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.65rem, 2.9vw, 2.4rem); letter-spacing: -.028em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1.15em; }
a  { color: var(--orange-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--orange-600); }
ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { color: var(--ink-2); font-weight: 700; }
small { font-size: .82rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

::selection { background: var(--orange-200); color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(249, 115, 22, .5);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 10px 10px; font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: #101828; color: #C9D0DA; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.055rem; margin-bottom: 0; color: var(--body); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-700); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.eyebrow--light { color: #FFD9BE; }
.eyebrow--light::before { background: #FFB77B; }
.eyebrow--center { justify-content: center; }

.lead { font-size: 1.1rem; color: var(--body); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: inherit; font-size: .97rem; font-weight: 700; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .16s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(180deg, #C8440A, #B53B08);
  color: #fff; box-shadow: var(--shadow-orange);
}
.btn--primary:hover { background: linear-gradient(180deg, #B53B08, #9A3412); color: #fff; box-shadow: 0 14px 30px rgba(181, 59, 8, .32); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1B2434; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--orange-200); color: var(--orange-700); }
.btn--light { background: #fff; color: var(--orange-700); box-shadow: 0 8px 22px rgba(80, 24, 0, .18); }
.btn--light:hover { color: var(--orange-700); }
.btn--outline-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow { font-weight: 700; font-size: .94rem; display: inline-flex; align-items: center; gap: 7px; }
.link-arrow::after { content: "→"; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  width: 100%; max-width: 100%;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(16, 24, 40, .07); border-color: transparent; }
.header-inner { display: flex; align-items: center; gap: 26px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark { display: inline-flex; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.14rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.brand-text strong span { color: var(--orange-700); }
.brand-text small { font-size: .655rem; letter-spacing: .16em; text-transform: uppercase; color: var(--body-soft); font-weight: 700; margin-top: 2px; }

.nav { margin-left: 8px; }
.nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
  display: block; padding: 9px 13px; border-radius: 8px;
  color: var(--ink-2); font-size: .93rem; font-weight: 600;
}
.nav a:hover { background: var(--orange-50); color: var(--orange-700); }
.nav a.is-active { color: var(--orange-700); background: var(--orange-50); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 700; color: var(--ink-2); white-space: nowrap;
}
.header-phone svg { color: var(--orange-600); }

.burger {
  display: none; width: 42px; height: 42px; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .18s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 74px 0 84px; background: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 88% -6%, rgba(249, 115, 22, .14), transparent 62%),
    radial-gradient(560px 340px at 0% 100%, rgba(255, 237, 222, .85), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(16, 24, 40, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(16, 24, 40, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 78% 22%, #000 0%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle at 78% 22%, #000 0%, transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 15px 6px 8px; font-size: .8rem; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-xs); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(14, 159, 110, .14); }
.hero-badge span strong { color: var(--ink); }

.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--orange-700); position: relative; white-space: nowrap; }
.hero-sub { font-size: 1.085rem; max-width: 560px; margin-bottom: 30px; }
.hero-highlights { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.hero-highlights li { display: flex; align-items: flex-start; gap: 9px; font-size: .93rem; font-weight: 600; color: var(--ink-2); margin: 0; }
.hero-highlights svg { flex-shrink: 0; margin-top: 3px; color: var(--green); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: .82rem; color: var(--body-soft); margin: 18px 0 0; display: flex; align-items: center; gap: 8px; }

/* Hero visual: browser mockup */
.hero-visual { position: relative; }
.browser {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 14px; background: #F7F8FA; border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D6DAE1; display: block; }
.browser-bar i:nth-child(1) { background: #FF7676; }
.browser-bar i:nth-child(2) { background: #FFC061; }
.browser-bar i:nth-child(3) { background: #4BD37B; }
.browser-bar .url {
  margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; font-size: .7rem; color: var(--body-soft); padding: 4px 10px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.browser-body { padding: 20px; background: linear-gradient(180deg, #FFFFFF, #FDFCFB); }

.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mock-head .sk { height: 9px; border-radius: 5px; background: #EDEFF3; }
.mock-head .sk--w60 { width: 60%; }
.mock-hero { background: linear-gradient(135deg, #101828, #263449); border-radius: 12px; padding: 18px; color: #fff; margin-bottom: 16px; }
.mock-hero .tag { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: #FFB77B; font-weight: 800; }
.mock-hero .t1 { height: 12px; width: 78%; background: rgba(255,255,255,.9); border-radius: 5px; margin: 10px 0 8px; }
.mock-hero .t2 { height: 8px; width: 55%; background: rgba(255,255,255,.4); border-radius: 5px; }
.mock-hero .btn-sk { margin-top: 14px; width: 96px; height: 22px; border-radius: 6px; background: linear-gradient(90deg, var(--orange-500), var(--orange-600)); }

.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-tile { border: 1px solid var(--line); border-radius: 9px; padding: 11px; background: #fff; }
.mock-tile .ic { width: 20px; height: 20px; border-radius: 6px; background: var(--orange-100); margin-bottom: 8px; }
.mock-tile .l1 { height: 6px; background: #EDEFF3; border-radius: 4px; margin-bottom: 5px; }
.mock-tile .l2 { height: 6px; width: 65%; background: #F4F5F7; border-radius: 4px; }

.mock-seo { border: 1px solid var(--line); border-radius: 11px; padding: 13px; background: #fff; display: grid; grid-template-columns: 74px 1fr; gap: 14px; align-items: center; }
.gauge {
  width: 70px; height: 70px; border-radius: 50%;
  background: conic-gradient(var(--green) 0 94%, #EDEFF3 94% 100%);
  display: grid; place-items: center; position: relative;
}
.gauge::before { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.gauge b { position: relative; font-size: 1.12rem; color: var(--ink); font-weight: 800; }
.rank-list { display: grid; gap: 7px; }
.rank-row { display: flex; align-items: center; gap: 8px; font-size: .68rem; color: var(--body); }
.rank-row .bar { flex: 1; height: 6px; border-radius: 4px; background: #EFF1F5; overflow: hidden; }
.rank-row .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--orange-400), var(--orange-600)); }
.rank-row .pos { font-weight: 800; color: var(--green); width: 26px; text-align: right; }

.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--shadow-md); padding: 12px 15px; display: flex; align-items: center; gap: 11px;
  font-size: .78rem;
}
.float-card strong { display: block; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.float-card span { color: var(--body-soft); font-size: .72rem; }
.float-card--traffic { left: -22px; bottom: 34px; }
.float-card--traffic .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(14, 159, 110, .12); color: var(--green); }
.float-card--rank { right: -14px; top: -18px; }
.float-card--rank .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); }

/* ---------- Trust / Logo Klien ---------- */
.trust { padding: 42px 0 46px; border-bottom: 1px solid var(--line-soft); background: var(--bg-soft); }
.trust-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--body-soft); text-align: center; margin-bottom: 22px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 18px 20px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-200, #FED7AA);
}
.trust-card img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .22s ease;
}
.trust-card:hover img { transform: scale(1.03); }
.trust-card span {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -.01em;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .trust-card { min-height: 74px; padding: 14px; }
  .trust-card img { max-height: 38px; }
  .trust-card span { font-size: .82rem; }
}

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-xs); }
.stat b { display: block; font-size: 1.75rem; color: var(--ink); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--body); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #DCE0E6; }
.card h3 { margin-bottom: 9px; }
.card p { color: var(--body); font-size: .94rem; margin-bottom: 0; }

.feature .icon-box {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-50); color: var(--orange-600); border: 1px solid var(--orange-100);
  margin-bottom: 17px;
}
.feature h3 { font-size: 1.06rem; }
.feature p { font-size: .9rem; }

/* Service cards */
.service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-card .icon-box { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(145deg, var(--orange-50), #fff); border: 1px solid var(--orange-100); color: var(--orange-600); margin-bottom: 18px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: .92rem; margin-bottom: 16px; }
.service-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.service-list li { margin: 0; font-size: .86rem; display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); }
.service-list li::before { content: "✓"; color: var(--green); font-weight: 800; flex-shrink: 0; }
.service-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line); }
.service-price { font-size: .86rem; font-weight: 800; color: var(--orange-700); }
.service-foot a { font-size: .85rem; font-weight: 700; }

/* ---------- Pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 34px; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card--popular { border: 2px solid var(--orange-500); box-shadow: 0 18px 44px rgba(232, 89, 12, .14); }
.pop-badge {
  position: absolute; top: -13px; left: 26px;
  background: linear-gradient(180deg, #C8440A, #B53B08); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(232, 89, 12, .3);
}
.price-card .plan-name { font-size: 1.02rem; font-weight: 800; color: var(--ink); margin: 0 0 3px; }
.price-card .plan-target { font-size: .82rem; color: var(--body-soft); margin: 0 0 18px; }
.price-amount { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.price-amount b { font-size: 1.95rem; letter-spacing: -.035em; color: var(--ink); font-weight: 800; line-height: 1; }
.price-amount span { font-size: .8rem; color: var(--body-soft); }
.price-card .plan-note { font-size: .78rem; color: var(--green); font-weight: 700; margin: 0 0 20px; }
.price-card .btn { margin-bottom: 20px; }
.mini-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.mini-list li { margin: 0; font-size: .87rem; display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); }
.mini-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--orange-500); }
.mini-list li.is-off { color: var(--body-soft); }
.mini-list li.is-off svg { color: #C7CCD4; }

/* Tabel harga */
.table-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.price-table { width: 100%; min-width: 790px; border-collapse: collapse; font-size: .9rem; }
.price-table caption { text-align: left; padding: 20px 24px 0; font-size: .82rem; color: var(--body-soft); }
.price-table thead th {
  padding: 24px 20px; text-align: center; vertical-align: bottom;
  border-bottom: 1px solid var(--line); background: #FCFCFD;
}
.price-table thead th:first-child { text-align: left; width: 30%; padding-left: 24px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--body-soft); font-weight: 800; }
.price-table thead th.is-pop { background: var(--orange-50); }
.th-plan { display: block; font-family: var(--font); font-size: 1.04rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.th-target { display: block; font-size: .74rem; font-weight: 600; color: var(--body-soft); text-transform: none; letter-spacing: 0; margin-top: 3px; }
.th-price { display: block; font-size: 1.22rem; font-weight: 800; color: var(--orange-700); letter-spacing: -.02em; margin: 12px 0 2px; }
.th-unit { display: block; font-size: .7rem; color: var(--body-soft); font-weight: 600; margin-bottom: 14px; }
.th-badge { display: inline-block; background: var(--orange-700); color: #fff; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; margin-bottom: 8px; }
.price-table tbody th, .price-table tbody td { padding: 13px 20px; border-bottom: 1px solid var(--line-soft); text-align: center; color: var(--ink-2); vertical-align: middle; }
.price-table tbody th { text-align: left; font-weight: 600; color: var(--body); padding-left: 24px; font-size: .875rem; }
.price-table tbody td.is-pop { background: #FFFBF7; font-weight: 600; }
.price-table tbody tr:hover td, .price-table tbody tr:hover th { background: #FCFCFD; }
.price-table tbody tr:hover td.is-pop { background: #FFF6EE; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table .group-row th {
  background: var(--bg-soft); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 800; color: var(--body-soft); padding-block: 10px; text-align: left; padding-left: 24px;
}
.tick { color: var(--green); }
.cross { color: #B9BFC9; }
.dash { color: var(--body-soft); font-size: .84rem; }
.price-table tfoot td, .price-table tfoot th { padding: 20px; border-top: 1px solid var(--line); background: #FCFCFD; }
.price-table tfoot td.is-pop { background: #FFF6EE; }
.price-note { font-size: .84rem; color: var(--body-soft); margin-top: 16px; display: flex; gap: 8px; align-items: flex-start; }
.price-note svg { flex-shrink: 0; margin-top: 2px; color: var(--orange-500); }

/* ---------- Proses / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-xs); }
.step-num {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: 16px;
}
.step:nth-child(2) .step-num { background: var(--orange-600); }
.step h3 { font-size: 1rem; margin-bottom: 7px; }
.step p { font-size: .87rem; margin: 0; }

/* ---------- Portofolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  font-family: inherit; font-size: .87rem; font-weight: 700; cursor: pointer;
  padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--orange-200); color: var(--orange-700); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xs); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; padding: 20px 20px 0; display: flex; align-items: flex-end; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16,24,40,.14)); }
.thumb--a { background: linear-gradient(135deg, #FFE0C7, #FDC49A); }
.thumb--b { background: linear-gradient(135deg, #DDE7F5, #BFD3EC); }
.thumb--c { background: linear-gradient(135deg, #D8F1E6, #B6E3CF); }
.thumb--d { background: linear-gradient(135deg, #E8E1F8, #CFC2EE); }
.thumb--e { background: linear-gradient(135deg, #FBE3D6, #F6C9B4); }
.thumb--f { background: linear-gradient(135deg, #E2ECF7, #C6DAEE); }
.thumb--img { padding: 0; display: block; }
.thumb--img::after { display: none; }
.thumb--img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.project-card:hover .thumb--img img { transform: scale(1.03); }
.thumb-browser {
  position: relative; z-index: 1; width: 100%; background: #fff; border-radius: 10px 10px 0 0;
  box-shadow: 0 -2px 20px rgba(16, 24, 40, .13); overflow: hidden;
}
.thumb-top { display: flex; gap: 4px; padding: 8px 10px; background: #F7F8FA; border-bottom: 1px solid #EDEFF3; }
.thumb-top i { width: 6px; height: 6px; border-radius: 50%; background: #D6DAE1; }
.thumb-body { padding: 12px; display: grid; gap: 8px; }
.thumb-body .b1 { height: 30px; border-radius: 5px; background: var(--ink); }
.thumb-body .b2 { height: 7px; border-radius: 4px; background: #E9ECF1; width: 84%; }
.thumb-body .b3 { height: 7px; border-radius: 4px; background: #F1F3F6; width: 62%; }
.thumb-body .b4 { display: flex; gap: 7px; }
.thumb-body .b4 span { flex: 1; height: 26px; border-radius: 5px; background: #F5F6F9; border: 1px solid #EDEFF3; }
.project-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.project-cat { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); margin-bottom: 8px; }
.project-body h3 { font-size: 1.06rem; margin-bottom: 8px; }
.project-body p { font-size: .89rem; margin-bottom: 16px; }
.project-result { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 9px; padding: 11px 13px; font-size: .82rem; color: var(--ink-2); font-weight: 600; margin-bottom: 16px; display: flex; gap: 8px; align-items: flex-start; }
.project-result svg { flex-shrink: 0; margin-top: 2px; color: var(--green); }
.project-live-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 9px 14px;
  margin-top: -4px;
  border-radius: 9px;
  border: 1.5px solid var(--orange-200, #FED7AA);
  background: var(--orange-50);
  color: var(--orange-700);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.project-live-btn:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: #fff;
}
.project-live-btn svg { flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.chip { font-size: .72rem; font-weight: 700; color: var(--ink-2); background: #F4F5F7; border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px 10px; }
.metrics { display: flex; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.metrics div { flex: 1; }
.metrics b { display: block; font-size: 1rem; color: var(--ink); letter-spacing: -.02em; }
.metrics span { font-size: .7rem; color: var(--body-soft); line-height: 1.3; display: block; }

/* ---------- Bagian Pengantar & Cakupan SEO Portofolio ---------- */
.porto-intro-copy {
  margin-top: 14px;
  max-width: 78ch;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--body);
}
.porto-intro-copy a { color: var(--orange-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.porto-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.porto-seo-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  max-width: 100%;
}
.porto-seo-card h3 { font-size: 1.18rem; margin: 0; }
.porto-seo-card > p { font-size: .92rem; line-height: 1.7; margin: 0; }
.porto-industry-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--body);
}
.porto-industry-list li strong { color: var(--ink); }
.porto-industry-list li em { font-style: normal; color: var(--ink-2); font-weight: 600; }
.porto-area-groups { display: grid; gap: 12px; }
.porto-area-group {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 15px;
}
.porto-area-group h3,
.porto-area-group h4 { font-size: .92rem; margin: 0 0 6px; color: var(--ink); }
.porto-area-group p { font-size: .87rem; line-height: 1.65; margin: 0; color: var(--body); }
.porto-area-group strong { font-weight: 600; color: var(--ink-2); }
.porto-card-foot {
  margin-top: auto !important;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: .88rem !important;
}
.porto-card-foot a { color: var(--orange-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 820px) {
  .porto-seo-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Testimoni & Slider Card ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.stars { color: #B45309; letter-spacing: 2px; font-size: .9rem; margin-bottom: 12px; }
.quote-card blockquote { margin: 0 0 20px; font-size: .95rem; color: var(--ink-2); line-height: 1.7; }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-700); font-weight: 800; font-size: .82rem; border: 1px solid var(--orange-100); }
.quote-person b { display: block; font-size: .89rem; color: var(--ink); }
.quote-person span { font-size: .78rem; color: var(--body-soft); }

.testi-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.testi-head-copy { max-width: 680px; }
.testi-head-copy h2 { margin-bottom: 8px; }
.testi-head-copy > p:not(.eyebrow) { margin: 0 0 12px; }
.testi-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .82rem;
  color: var(--body);
  box-shadow: var(--shadow-xs);
}
.testi-rating-pill .testi-stars { color: #B45309; letter-spacing: 1px; font-size: .86rem; }
.testi-rating-pill strong { color: var(--ink); }
.testi-controls { display: flex; gap: 10px; flex-shrink: 0; }
.testi-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.testi-nav-btn:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
  color: #fff;
  transform: translateY(-1px);
}
.testi-slider { position: relative; min-width: 0; max-width: 100%; }
.testi-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 10px;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-slide {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.testi-slide:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.testi-dots { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.testi-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #98A2B3;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.testi-dot.is-active { width: 28px; background: var(--orange-700); }
.testi-counter { font-size: .8rem; font-weight: 700; color: var(--body-soft); }
@media (max-width: 980px) {
  .testi-slide { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
  .testi-slide { flex: 0 0 100%; }
  .testi-track { gap: 14px; }
  .testi-head { align-items: flex-start; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-xs); overflow: hidden; }
.faq-item[open] { border-color: var(--orange-200); box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 19px 54px 19px 22px; position: relative;
  font-weight: 700; color: var(--ink); font-size: .97rem; line-height: 1.45;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 7px; background: var(--orange-50); color: var(--orange-700);
  display: grid; place-items: center; font-size: 1rem; font-weight: 700; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--orange-700); }
.faq-answer { padding: 0 22px 20px; font-size: .93rem; color: var(--body); }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, #9A3412, #C2410C 55%, #B53B08); color: #fff; padding: 62px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .08); right: -120px; top: -180px;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; max-width: 620px; margin-bottom: 10px; }
.cta-sub { color: #FFF7ED; margin: 0; max-width: 560px; font-size: .98rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: #0B1220; color: #CBD5E1; padding: 64px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .85fr .85fr 1.1fr; gap: 44px; padding-bottom: 44px; }
.brand--footer .brand-text strong { color: #fff; }
.brand--footer .brand-text small { color: #B6C2D2; }
.footer-brand p { margin: 18px 0 22px; font-size: .88rem; line-height: 1.7; color: #CBD5E1; }
.footer-stats { display: flex; gap: 26px; margin: 0; }
.footer-stats div { margin: 0; }
.footer-stats dt { font-size: 1.15rem; font-weight: 800; color: #fff; }
.footer-stats dd { margin: 0; font-size: .74rem; color: #B6C2D2; text-transform: uppercase; letter-spacing: .08em; }
.footer-col h3 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col li { margin: 0; font-size: .88rem; display: flex; gap: 9px; align-items: flex-start; line-height: 1.55; }
.footer-col li svg { flex-shrink: 0; margin-top: 3px; color: var(--orange-400); }
.footer-col a { color: #CBD5E1; }
.footer-col a:hover { color: #FFD3B0; }
.footer-contact small { color: #B6C2D2; display: block; font-size: .76rem; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 22px 26px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .8rem; color: #B6C2D2;
}
.footer-bottom p { margin: 0; }
.footer-seo-line { max-width: 560px; text-align: right; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  background: #15803D; color: #fff; padding: 13px 18px 13px 15px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; box-shadow: 0 12px 28px rgba(21, 128, 61, .38);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.wa-float:hover { background: #166534; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(21, 128, 61, .44); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-warm), #fff); border-bottom: 1px solid var(--line-soft); padding: 48px 0 58px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 320px at 85% 0%, rgba(249, 115, 22, .12), transparent 65%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 880px; margin-bottom: 16px; font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
.page-hero p { max-width: 720px; font-size: 1.045rem; margin-bottom: 0; }
.page-hero--article { padding: 64px 0 42px; overflow-x: clip; overflow-y: visible; scroll-margin-top: 96px; }
.page-hero--article h1 {
  max-width: 920px;
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  line-height: 1.24;
  letter-spacing: -.025em;
  display: block;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  -webkit-line-clamp: unset;
  word-break: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .page-hero--article { padding: 36px 0 28px; }
}

.breadcrumbs { margin-bottom: 20px; font-size: .82rem; color: var(--body-soft); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: baseline; }
.breadcrumbs li { margin: 0; display: flex; align-items: baseline; gap: 6px; max-width: 100%; }
.breadcrumbs li + li::before { content: "/"; color: #C5CAD3; }
.breadcrumbs a { color: var(--body); }
.breadcrumbs a:hover { color: var(--orange-600); }
.breadcrumbs li[aria-current] { color: var(--ink-2); font-weight: 600; overflow-wrap: break-word; word-break: break-word; }

/* ---------- About page ---------- */
.about-media { position: relative; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.about-card-top { background: linear-gradient(135deg, #101828, #263449); padding: 30px; color: #fff; }
.about-card-top .name { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 3px; }
.about-card-top .role { font-size: .85rem; color: #FFB77B; font-weight: 700; letter-spacing: .04em; }
.about-card-top p { font-size: .9rem; color: rgba(255,255,255,.8); margin: 14px 0 0; }
.about-card-body { padding: 26px 30px; }
.about-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.about-facts li { margin: 0; display: flex; justify-content: space-between; gap: 12px; font-size: .87rem; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.about-facts li:last-child { border: 0; padding-bottom: 0; }
.about-facts b { color: var(--ink); }

.value-list { display: grid; gap: 18px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .vi { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); border: 1px solid var(--orange-100); }
.value-item h3 { font-size: 1rem; margin-bottom: 4px; }
.value-item p { font-size: .89rem; margin: 0; }

.skill-bars { display: grid; gap: 16px; }
.skill-bar { display: grid; gap: 7px; }
.skill-bar .lbl { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.skill-bar .track { height: 8px; border-radius: 999px; background: #EFF1F5; overflow: hidden; }
.skill-bar .track i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--orange-400), var(--orange-600)); }

.timeline { position: relative; padding-left: 28px; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--orange-400), var(--line)); }
.timeline-item { position: relative; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--orange-500); }
.timeline-item .year { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); }
.timeline-item h3 { font-size: 1rem; margin: 4px 0 5px; }
.timeline-item p { font-size: .89rem; margin: 0; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-xs); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-cover { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; overflow: hidden; }
.post-cover--a { background: linear-gradient(135deg, #FFE0C7, #FBAF7C); }
.post-cover--b { background: linear-gradient(135deg, #DDE7F5, #A9C5E8); }
.post-cover--c { background: linear-gradient(135deg, #D8F1E6, #A5DDC4); }
.post-cover--d { background: linear-gradient(135deg, #E8E1F8, #C3B0EC); }
.post-cover--e { background: linear-gradient(135deg, #FBE3D6, #F6C9B4); }
.post-cover--f { background: linear-gradient(135deg, #E2ECF7, #C6DAEE); }
.post-cover span { position: relative; z-index: 1; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(16, 24, 40, .62); background: rgba(255,255,255,.72); padding: 6px 13px; border-radius: 999px; backdrop-filter: blur(4px); }
.post-cover--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.post-card:hover .post-cover--img img { transform: scale(1.03); }
.post-cover--img span { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 2px 8px rgba(16, 24, 40, .12); }
.post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .76rem; color: var(--body-soft); display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.post-meta .dotsep { width: 3px; height: 3px; border-radius: 50%; background: #C5CAD3; }
.post-body h3 { font-size: 1.04rem; line-height: 1.35; margin-bottom: 9px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--orange-700); }
.post-body p { font-size: .88rem; margin-bottom: 16px; }
.post-body .link-arrow { margin-top: auto; }

.featured-post-body { padding: 34px; min-width: 0; }

/* ---------- Artikel ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.article { width: 100%; max-width: 760px; min-width: 0; }
.article-header { margin-bottom: 26px; }
.article-header h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 14px; overflow-wrap: break-word; word-wrap: break-word; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; font-size: .82rem; color: var(--body-soft); align-items: center; }
.article-meta .author { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; }
.article-meta .author .avatar { width: 30px; height: 30px; font-size: .7rem; }
.article-cover { width: 100%; max-width: 100%; margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; position: relative; }
.article-cover--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prose { width: 100%; max-width: 100%; min-width: 0; font-size: 1.02rem; line-height: 1.8; color: #414B5A; overflow-wrap: break-word; word-wrap: break-word; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose p, .prose li, .prose blockquote { max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; scroll-margin-top: 100px; color: var(--ink); line-height: 1.32; }
.prose h3 { font-size: 1.14rem; margin: 28px 0 10px; color: var(--ink); line-height: 1.38; }
.prose h4 { font-size: 1rem; margin: 22px 0 8px; color: var(--ink-2); font-weight: 700; line-height: 1.4; }
.prose p { margin-bottom: 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.4em; max-width: 100%; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose ul ul, .prose ol ul { list-style: circle; margin: .45em 0 .45em; }
.prose ol ol, .prose ul ol { list-style: lower-alpha; margin: .45em 0 .45em; }
.prose li { margin-bottom: .55em; }
.prose li > p:last-child { margin-bottom: 0; }
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose em, .prose i { font-style: italic; }
.prose a { text-decoration: underline; text-underline-offset: 2px; color: var(--orange-700); overflow-wrap: anywhere; word-wrap: break-word; }
.prose a:hover { color: var(--orange-600); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--bg-soft); border: 1px solid var(--line-soft); padding: 2px 6px; border-radius: 6px; color: var(--ink-2); overflow-wrap: anywhere; word-break: break-word; }
.prose pre { max-width: 100%; margin: 22px 0; padding: 16px 18px; background: #101828; color: #E6ECF5; border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .86rem; line-height: 1.6; }
.prose pre code { background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit; overflow-wrap: normal; word-break: normal; }
.prose blockquote { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--orange-500); background: var(--bg-warm); border-radius: 0 12px 12px 0; font-size: .98rem; color: var(--ink-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: .88rem; margin: 24px 0; border-radius: 10px; overflow: hidden; }
.prose table th { background: var(--bg-soft); text-align: left; font-weight: 700; color: var(--ink); }
.prose table th, .prose table td { border: 1px solid var(--line); padding: 10px 13px; vertical-align: top; overflow-wrap: break-word; }
.prose table tbody tr:nth-child(even) { background: rgba(248, 250, 252, .7); }
.prose img, .prose video { max-width: 100%; width: 100%; height: auto; border-radius: 12px; display: block; margin: 22px 0; }
.prose figure { max-width: 100%; margin: 26px 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin-top: 8px; font-size: .82rem; color: var(--body-soft); text-align: center; }
.prose .video-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #101828;
  box-shadow: var(--shadow-sm);
}
.prose .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  display: block;
}
.prose iframe[src*="youtube.com"],
.prose iframe[src*="youtube-nocookie.com"],
.prose iframe[src*="youtu.be"],
.prose iframe[src*="vimeo.com"] {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 12px;
  display: block;
  margin: 26px 0;
  background: #101828;
  box-shadow: var(--shadow-sm);
}
.prose .video-embed iframe[src*="youtube.com"],
.prose .video-embed iframe[src*="youtube-nocookie.com"],
.prose .video-embed iframe[src*="youtu.be"],
.prose .video-embed iframe[src*="vimeo.com"] {
  height: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 992px) {
  .prose table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .prose table th, .prose table td { white-space: normal; min-width: 110px; }
}
.custom-page-card { padding: 36px 40px; max-width: 880px; margin: 0 auto; }
@media (max-width: 720px) { .custom-page-card { padding: 24px 20px; } }
.callout { background: var(--orange-50); border: 1px solid var(--orange-100); border-radius: 12px; padding: 18px 20px; margin: 24px 0; font-size: .94rem; }
.callout strong { color: var(--orange-700); }
.article-cta { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin: 38px 0; box-shadow: var(--shadow-sm); }
.article-cta h3 { font-size: 1.1rem; }
.article-cta p { font-size: .92rem; }
.ad-slot {
  margin: 26px 0;
  padding: 12px 14px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  text-align: center;
  overflow: hidden;
}
.ad-slot-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--body-soft);
  margin-bottom: 8px;
}
.ad-slot-inner { width: 100%; overflow-x: auto; }
.ad-slot-inner ins.adsbygoogle { display: block; margin: 0 auto; max-width: 100%; }
.article-foot { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; font-size: .88rem; }

.sidebar { display: grid; gap: 22px; position: sticky; top: 96px; min-width: 0; width: 100%; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-xs); min-width: 0; max-width: 100%; overflow-wrap: break-word; }
.side-card h3 { font-size: .95rem; margin-bottom: 14px; }
.side-card--cta { background: linear-gradient(160deg, #101828, #263449); border-color: transparent; }
.side-card--cta h3 { color: #fff; }
.side-card--cta p { font-size: .87rem; color: #C9D0DA; margin-bottom: 16px; }
.side-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.side-links li { margin: 0; font-size: .885rem; }
.side-links a { color: var(--ink-2); font-weight: 600; }
.side-links a:hover { color: var(--orange-700); }
.side-links .sm { display: block; font-size: .75rem; color: var(--body-soft); font-weight: 500; margin-top: 2px; }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 15px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-xs); }
.contact-card .ci { width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); border: 1px solid var(--orange-100); }
.contact-card h3 { font-size: .93rem; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: .9rem; margin: 0; color: var(--body); }
.contact-card a:hover { color: var(--orange-700); }
.contact-card small { display: block; color: var(--body-soft); font-size: .78rem; margin-top: 3px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card > p { font-size: .9rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink-2); }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .93rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px; width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange-400); box-shadow: 0 0 0 3px rgba(249, 115, 22, .14);
}
.field .hint { font-size: .76rem; color: var(--body-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #E02424; box-shadow: 0 0 0 3px rgba(224, 36, 36, .1); }
.field .err { font-size: .76rem; color: #C81E1E; font-weight: 600; }
.form-foot { margin-top: 20px; display: grid; gap: 12px; }
.form-foot small { color: var(--body-soft); font-size: .78rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; overflow: hidden; }
.alert { border-radius: 11px; padding: 14px 18px; font-size: .9rem; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.alert--success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert--error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.alert svg { flex-shrink: 0; margin-top: 2px; }

/* ---------- Admin ---------- */
.admin-shell { max-width: 1000px; margin: 0 auto; padding: 48px 24px 80px; }
.login-card { max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.lead-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .88rem; }
.lead-table th { background: var(--bg-soft); text-align: left; padding: 12px 14px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--body-soft); }
.lead-table td { padding: 13px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.badge-status { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--orange-50); color: var(--orange-700); }

/* ---------- Utility ---------- */
[hidden] { display: none !important; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 32px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .nav a { padding: 9px 10px; font-size: .89rem; }
  .hero-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .footer-contact { grid-column: 1 / -1; }
  .float-card--traffic { left: -8px; }
}

@media (max-width: 992px) {
  .section { padding: 62px 0; }
  .hero { padding: 52px 0 64px; }
  .hero-grid, .split, .contact-grid, .article-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .article, .sidebar, .side-card, .contact-cards, .form-card, .card, .price-card, .post-card, .project-card, .service-card { min-width: 0; max-width: 100%; }
  .hero-visual { max-width: 540px; width: 100%; margin: 12px auto 0; }
  .grid--3, .grid--4, .price-cards, .project-grid, .post-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { gap: 36px; }
  .sidebar { position: static; width: 100%; grid-template-columns: minmax(0, 1fr); }
  .article { width: 100%; max-width: 100%; }
  .nav { display: none; }
  .burger { display: flex; flex-shrink: 0; }
  .nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16, 24, 40, .1); padding: 12px 16px 18px;
  }
  .nav.is-open ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav.is-open a { padding: 12px 14px; font-size: .97rem; }
  .header-inner { justify-content: space-between; gap: 14px; }
  .header-actions { gap: 10px; flex-shrink: 0; }
  .header-actions .btn--primary { display: none; }
  .cta-inner { gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .footer-seo-line { text-align: left; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .wrap { width: 100%; max-width: 100%; padding-inline: 16px; }
  .site-header { width: 100%; max-width: 100%; }
  .header-inner { width: 100%; min-height: 62px; gap: 12px; justify-content: space-between; }
  .brand { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text small { max-width: 100%; }
  .header-actions { margin-left: 0; flex-shrink: 0; gap: 8px; }
  .hero h1, .page-hero h1, .section-head h2, .card h3, .post-body h3, .project-body h3 { overflow-wrap: break-word; word-wrap: break-word; }
  .hero h1 .hl { white-space: normal; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .grid--2, .grid--3, .grid--4, .price-cards, .project-grid, .post-grid, .steps, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-highlights { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer-brand, .footer-contact, .footer-col { min-width: 0; overflow-wrap: break-word; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .hero-visual { display: none; }
  .hero-sub { font-size: 1rem; }
  .card, .form-card, .article-cta, .side-card { padding: 20px 18px; }
  .featured-post-body { padding: 22px 18px; }
  .price-card { padding: 24px 20px; }
  .cta-band { padding: 44px 0; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .wa-float-text { display: none; }
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .article-layout { gap: 28px; }
  .metrics { flex-wrap: wrap; gap: 12px; }
  .section-head { margin-bottom: 30px; }
  .prose { font-size: .98rem; }
  .prose blockquote { padding: 15px 16px; }
  .table-wrap { width: 100%; max-width: 100%; border-radius: var(--radius); overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .contact-card { padding: 16px; }
  .contact-card > div { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 440px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .wa-float, .cta-band, .site-footer, .filters { display: none; }
  body { color: #000; }
}

/* ==========================================================================
   PANEL ADMIN & LOGIN
   ========================================================================== */

/* ---------- Login ---------- */
.login-page {
  min-height: 100vh; display: grid; place-items: center; padding: 28px 18px;
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(249, 115, 22, .16), transparent 60%),
    radial-gradient(600px 380px at 90% 100%, rgba(232, 89, 12, .12), transparent 62%),
    #F7F8FA;
}
.login-wrap { width: 100%; max-width: 940px; }
.login-panel {
  display: grid; grid-template-columns: 1fr 1fr; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(16, 24, 40, .14);
}
.login-brand {
  background: linear-gradient(160deg, #101828, #22303F 60%, #2C1B10);
  padding: 40px 36px; display: flex; flex-direction: column; color: #C9D0DA;
}
.login-brand h1 {
  color: #fff; font-size: 1.9rem; margin: 34px 0 12px; letter-spacing: -.03em;
}
.login-brand h1 span { color: var(--orange-500); }
.login-brand p { font-size: .93rem; color: #A9B3C1; line-height: 1.7; }
.login-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.login-points li { margin: 0; display: flex; gap: 9px; align-items: flex-start; font-size: .87rem; color: #C9D0DA; }
.login-points svg { color: #4ADE80; flex-shrink: 0; margin-top: 2px; }
.login-back { margin-top: auto; padding-top: 28px; font-size: .85rem; font-weight: 700; color: #FFB77B; }
.login-back:hover { color: #FFD3B0; }

.login-form { padding: 40px 36px; }
.login-form h2 { font-size: 1.3rem; margin-bottom: 5px; }
.login-sub { font-size: .89rem; color: var(--body); margin-bottom: 22px; }
.login-form form { display: grid; gap: 14px; }
.login-note { font-size: .76rem; color: var(--body-soft); margin: 18px 0 0; line-height: 1.6; }
.login-note code { background: #F4F5F7; padding: 1px 5px; border-radius: 4px; font-size: .72rem; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 7px; cursor: pointer; color: var(--body-soft);
}
.pw-toggle:hover { background: #F4F5F7; color: var(--ink-2); }

/* ---------- Admin shell ---------- */
.admin-page { background: #F5F6F8; min-height: 100vh; }

.admin-top {
  background: #101828; color: #fff; position: sticky; top: 0; z-index: 50;
}
.admin-top-inner {
  max-width: 1280px; margin-inline: auto; padding: 12px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.admin-brand { display: flex; align-items: center; gap: 11px; }
.admin-brand span strong { display: block; color: #fff; font-size: .98rem; letter-spacing: -.02em; }
.admin-brand span small { display: block; color: #8B94A5; font-size: .74rem; }
.admin-top-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-user {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; color: #C9D0DA; background: rgba(255, 255, 255, .08);
  padding: 6px 12px; border-radius: 999px;
}
.admin-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: .84rem; font-weight: 700; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #E6EAF0; border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.admin-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.admin-ghost--danger { color: #FFB4B4; border-color: rgba(255, 120, 120, .3); }
.admin-ghost--danger:hover { background: rgba(255, 80, 80, .18); color: #FFD5D5; }
.inline-form { display: inline; margin: 0; }

.admin-grid {
  max-width: 1280px; margin-inline: auto; padding: 22px;
  display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 24px;
  align-items: start;
}

.admin-nav {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow-xs);
  position: sticky; top: 82px; display: grid; gap: 3px;
}
.admin-nav-title {
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 800; color: var(--body-soft); margin: 4px 6px 8px;
}
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px;
  border-radius: 9px; font-size: .875rem; font-weight: 600; color: var(--ink-2);
}
.admin-nav a:hover { background: var(--orange-50); color: var(--orange-700); }
.admin-nav a.is-active { background: var(--ink); color: #fff; }
.admin-nav a.is-active svg { color: var(--orange-400); }
.admin-nav a span { flex: 1; }
.nav-count { font-size: .7rem; font-weight: 800; color: var(--body-soft); background: #F1F3F6; padding: 2px 7px; border-radius: 999px; }
.admin-nav a.is-active .nav-count { background: rgba(255, 255, 255, .16); color: #fff; }
.nav-badge { font-size: .7rem; font-weight: 800; color: #fff; background: var(--orange-600); padding: 2px 7px; border-radius: 999px; }

.admin-main { min-width: 0; }
.admin-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.admin-head h1 { font-size: 1.45rem; margin-bottom: 4px; }
.admin-head p { font-size: .88rem; color: var(--body); margin: 0; max-width: 620px; }
.admin-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-head-actions .admin-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.admin-head-actions .admin-ghost:hover { background: #FCF2EA; color: var(--orange-700); }

.admin-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px;
}
.admin-stats > div {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-xs);
}
.admin-stats b { display: block; font-size: 1.45rem; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.admin-stats span { font-size: .78rem; color: var(--body-soft); }

.admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-xs); margin-bottom: 14px;
}
.admin-form .admin-card { margin-bottom: 12px; }
.admin-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.afield { display: grid; gap: 6px; align-content: start; }
.afield--wide { grid-column: 1 / -1; }
.afield label { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.afield input[type="text"], .afield input[type="password"], .afield input[type="date"], .afield input[type="datetime-local"], .afield input[type="url"], .afield input[type="number"], .afield input[type="file"],
.afield select, .afield textarea {
  font-family: inherit; font-size: .89rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; width: 100%;
}
.afield textarea { resize: vertical; line-height: 1.6; }
.afield textarea.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .82rem; }
.afield input:focus, .afield select:focus, .afield textarea:focus {
  outline: none; border-color: var(--orange-400); box-shadow: 0 0 0 3px rgba(249, 115, 22, .13);
}
.ahint { font-size: .74rem; color: var(--body-soft); line-height: 1.5; }
.acheck { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.acheck input { width: 16px; height: 16px; accent-color: var(--orange-600); }

.admin-acc { padding: 0; overflow: hidden; }
.admin-acc > summary {
  display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none;
  padding: 15px 20px; font-weight: 700; color: var(--ink); font-size: .93rem;
}
.admin-acc > summary::-webkit-details-marker { display: none; }
.admin-acc > summary:hover { background: #FCFCFD; }
.admin-acc[open] > summary { border-bottom: 1px solid var(--line-soft); background: #FCFCFD; }
.acc-num {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; display: grid; place-items: center;
  background: var(--orange-50); color: var(--orange-700); font-size: .75rem; font-weight: 800;
}
.acc-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-caret { color: var(--body-soft); transform: rotate(90deg); transition: transform .2s ease; }
.admin-acc[open] .acc-caret { transform: rotate(-90deg); }
.admin-acc .admin-fields { padding: 20px; }
.admin-acc-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid var(--line-soft);
  background: #FCFCFD;
}
.admin-acc-foot .admin-ghost--danger {
  background: #fff;
  color: #B42318;
  border-color: #F3D3D0;
  font-size: .8rem;
  padding: 7px 14px;
}
.admin-acc-foot .admin-ghost--danger:hover {
  background: #FEF3F2;
  color: #912018;
  border-color: #ECAFA9;
}

.admin-savebar {
  position: sticky; bottom: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 18px; margin-top: 8px; box-shadow: 0 -6px 22px rgba(16, 24, 40, .07);
}
.admin-savebar span { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--body-soft); }

.admin-danger-zone {
  margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px;
}
.admin-danger-zone .admin-ghost {
  background: #fff; color: #B42318; border-color: #F3D3D0; font-size: .78rem; padding: 7px 11px;
}
.admin-danger-zone .admin-ghost:hover { background: #FEF3F2; color: #912018; }

.admin-note {
  background: var(--orange-50); border: 1px solid var(--orange-100);
  border-radius: var(--radius); padding: 18px 20px;
}
.admin-note h3 { display: flex; align-items: center; gap: 8px; font-size: .92rem; margin-bottom: 6px; color: var(--orange-700); }
.admin-note p { font-size: .85rem; margin: 0; color: #6B4A33; }
.admin-note code { background: rgba(255,255,255,.7); padding: 1px 5px; border-radius: 4px; font-size: .78rem; }

.admin-empty {
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 46px 24px; text-align: center; color: var(--body);
}
.admin-empty svg { color: var(--orange-400); margin-bottom: 10px; }
.admin-empty h2 { font-size: 1.05rem; margin-bottom: 6px; }
.admin-empty p { font-size: .88rem; margin: 0; }

.admin-form-foot { margin-top: 20px; display: flex; justify-content: flex-end; }
.admin-foot { font-size: .76rem; color: var(--body-soft); margin: 26px 0 8px; text-align: center; }
.admin-foot code { background: #EDEFF3; padding: 1px 5px; border-radius: 4px; }

/* ---------- Lead cards ---------- */
.lead-list { display: grid; gap: 12px; }
.lead-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-xs); overflow: hidden;
}
.lead-card--new { border-left: 4px solid var(--orange-500); }
.lead-card > header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: #FCFCFD;
}
.lead-card > header strong { font-size: .94rem; color: var(--ink); }
.lead-meta { display: block; font-size: .75rem; color: var(--body-soft); margin-top: 2px; }
.badge-status { font-size: .7rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #F0F2F5; color: var(--body); text-transform: capitalize; }
.badge-status--new { background: var(--orange-50); color: var(--orange-700); }
.lead-body { padding: 16px 18px; }
.lead-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0 0 14px; }
.lead-body dl > div { display: flex; gap: 8px; font-size: .84rem; min-width: 0; }
.lead-body dt { color: var(--body-soft); min-width: 62px; flex-shrink: 0; margin: 0; }
.lead-body dd { margin: 0; color: var(--ink-2); font-weight: 600; overflow-wrap: anywhere; }
.lead-message {
  font-size: .88rem; color: var(--ink-2); background: #F8F9FB;
  border: 1px solid var(--line-soft); border-radius: 9px; padding: 12px 14px; margin: 0;
  line-height: 1.65;
}
.lead-card > footer {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  padding: 12px 18px; border-top: 1px solid var(--line-soft); background: #FCFCFD;
}
.lead-card > footer .admin-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.lead-card > footer .admin-ghost:hover { background: #F7F8FA; }
.lead-card > footer .admin-ghost--danger { color: #B42318; border-color: #F3D3D0; }

@media (max-width: 1000px) {
  .admin-grid { grid-template-columns: 1fr; gap: 16px; }
  .admin-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 10px; }
  .admin-nav-title { display: none; }
  .admin-nav a { flex: 0 0 auto; white-space: nowrap; font-size: .84rem; }
  .admin-nav a span { flex: 0 0 auto; }
}

@media (max-width: 760px) {
  .login-panel { grid-template-columns: 1fr; }
  .login-brand { padding: 28px 24px; }
  .login-brand h1 { margin: 22px 0 8px; font-size: 1.6rem; }
  .login-back { padding-top: 18px; }
  .login-form { padding: 26px 22px 30px; }
  .admin-fields { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-top-inner { padding: 10px 16px; }
  .admin-user { display: none; }
  .admin-grid { padding: 14px; }
  .lead-body dl { grid-template-columns: 1fr; }
  .admin-savebar { flex-direction: column; align-items: stretch; }
  .admin-savebar .btn { width: 100%; }
  .admin-acc .admin-fields { padding: 16px; }
  .admin-card { padding: 18px; }
  .admin-head h1 { font-size: 1.25rem; }
}

/* ==========================================================================
   PWA / TAMPILAN APLIKASI DI MOBILE
   ========================================================================== */

/* ---------- Bottom tab bar (hanya mobile) ---------- */
.app-tabbar { display: none; }

.app-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  width: 100%; max-width: 100%;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -6px 24px rgba(16, 24, 40, .08);
}
.app-tabbar a {
  flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 2px; border-radius: 10px; color: #8A93A3; text-decoration: none;
  font-size: .68rem; font-weight: 700; letter-spacing: -.01em;
  transition: color .16s ease, background .16s ease;
}
.app-tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-tabbar a svg { color: #8A93A3; transition: color .16s ease, transform .16s ease; }
.app-tabbar a:active { background: var(--orange-50); }
.app-tabbar a.is-active { color: var(--orange-700); background: var(--orange-50); }
.app-tabbar a.is-active svg { color: var(--orange-600); transform: translateY(-1px); }

/* ---------- Banner install ---------- */
.install-bar {
  position: fixed; left: 12px; right: 12px; z-index: 96;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 18px 40px rgba(16, 24, 40, .18);
  transform: translateY(14px); opacity: 0; transition: transform .24s ease, opacity .24s ease;
}
.install-bar.is-in { transform: none; opacity: 1; }
.install-bar[hidden] { display: none !important; }
.install-icon img { border-radius: 11px; display: block; }
.install-copy { flex: 1; min-width: 0; }
.install-copy strong { display: block; font-size: .87rem; color: var(--ink); line-height: 1.3; }
.install-copy span { display: block; font-size: .75rem; color: var(--body-soft); margin-top: 2px; }
.install-actions { display: flex; align-items: center; gap: 4px; }
.install-close {
  width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer;
  color: var(--body-soft); font-size: 1.3rem; line-height: 1; border-radius: 8px;
}
.install-close:hover { background: #F4F5F7; color: var(--ink); }

/* ---------- Footer: link admin ---------- */
.footer-admin { color: #7E8899; text-decoration: none; }
.footer-admin:hover { color: #FFB77B; }

/* ---------- Penyesuaian mobile: nuansa aplikasi ---------- */
@media (max-width: 720px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }

  .app-tabbar { display: flex; }

  /* header lebih ringkas seperti app bar */
  .site-header { border-bottom-color: #EDEFF3; }
  .header-inner { min-height: 60px; }
  .brand-text strong { font-size: 1.06rem; }

  /* tombol WA naik ke atas tab bar */
  .wa-float {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    right: 14px; padding: 12px;
    box-shadow: 0 10px 22px rgba(37, 211, 102, .34);
  }

  /* jarak bawah section agar tidak tertutup tab bar */
  .site-footer { padding-bottom: 12px; }
  .cta-band { padding-bottom: 40px; }

  /* target sentuh lebih besar */
  .btn { padding: 13px 22px; }
  .faq-item summary { padding: 16px 50px 16px 18px; }
  .filter-btn { padding: 10px 16px; }

  /* kartu lebih "padat" seperti kartu app */
  .card, .price-card, .post-card, .project-card { border-radius: 16px; }
}

/* Mode standalone (sudah dipasang sebagai aplikasi) */
@media (display-mode: standalone) {
  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overscroll-behavior-y: contain;
  }
  .site-header {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .wa-float { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .footer-admin { display: none; }
}

@media (display-mode: standalone) and (max-width: 720px) {
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .wa-float { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* Di layar lebar, banner install disembunyikan (aplikasi dipasang dari mobile) */
@media (min-width: 721px) {
  .install-bar { display: none !important; }
}

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.page-hero--compact { padding: 34px 0 40px; }
.page-hero--compact h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.checkout-group { margin-bottom: 40px; }
.checkout-group-title {
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--body-soft); font-weight: 800; margin-bottom: 16px;
}
.checkout-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.checkout-plan {
  display: flex; flex-direction: column; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; text-decoration: none; box-shadow: var(--shadow-xs);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.checkout-plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--orange-200); }
.cp-name { font-weight: 800; color: var(--ink); font-size: 1.05rem; letter-spacing: -.02em; }
.cp-desc { font-size: .85rem; color: var(--body-soft); line-height: 1.5; min-height: 2.4em; }
.cp-price { font-size: 1.3rem; font-weight: 800; color: var(--orange-700); letter-spacing: -.03em; margin-top: 4px; }
.cp-price small { font-size: .72rem; font-weight: 600; color: var(--body-soft); letter-spacing: 0; }
.cp-cta { margin-top: auto; padding-top: 14px; font-size: .85rem; font-weight: 700; color: var(--orange-700); display: inline-flex; align-items: center; gap: 6px; }
.checkout-help { font-size: .9rem; color: var(--body); margin-top: 8px; }

.checkout-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }
.form-card--checkout h2 { font-size: 1.12rem; margin: 4px 0 6px; }
.form-card--checkout > p { font-size: .88rem; margin-bottom: 18px; }

.pay-methods { display: grid; gap: 12px; margin: 14px 0 18px; }
.pay-method {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  background: #fff; cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.pay-method:hover { border-color: var(--orange-200); background: #FFFCF9; }
.pay-method:has(input:checked) { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(249,115,22,.12); background: #FFFCF9; }
.pay-method input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--orange-600); flex-shrink: 0; }
.pm-body { display: grid; gap: 5px; }
.pm-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.pm-title svg { color: var(--orange-600); }
.pm-desc { font-size: .84rem; color: var(--body); line-height: 1.55; }
.pm-banks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pm-bank { font-size: .74rem; font-weight: 700; color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 999px; padding: 3px 9px; }

.channel-picker { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; background: var(--bg-soft); }
.channel-label { font-size: .84rem; font-weight: 700; color: var(--ink-2); margin: 0 0 12px; }
.channel-group + .channel-group { margin-top: 14px; }
.channel-group-title { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--body-soft); margin: 0 0 8px; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.channel-item {
  display: flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px;
  font-size: .82rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.channel-item:hover { border-color: var(--orange-200); }
.channel-item input { accent-color: var(--orange-600); }
.channel-item:has(input:checked) { border-color: var(--orange-500); background: #FFF7F1; }
.err--block { display: block; font-size: .8rem; color: #C81E1E; font-weight: 600; margin-bottom: 10px; }

.checkout-summary { position: sticky; top: 96px; display: grid; gap: 16px; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.summary-card--soft { background: var(--bg-soft); }
.summary-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--body-soft); margin: 0 0 8px; }
.summary-card h2 { font-size: 1.2rem; margin-bottom: 4px; }
.summary-desc { font-size: .84rem; color: var(--body-soft); margin-bottom: 16px; }
.summary-rows { margin: 0; display: grid; gap: 10px; }
.summary-rows > div { display: flex; justify-content: space-between; gap: 12px; font-size: .87rem; }
.summary-rows dt { color: var(--body-soft); margin: 0; }
.summary-rows dd { margin: 0; font-weight: 700; color: var(--ink-2); }
.summary-total { border-top: 1px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.summary-total dt { color: var(--ink); font-weight: 700; }
.summary-total dd { font-size: 1.15rem; color: var(--orange-700); }
.summary-note { display: flex; gap: 8px; align-items: flex-start; font-size: .78rem; color: var(--body-soft); margin: 16px 0; line-height: 1.55; }
.summary-note svg { flex-shrink: 0; margin-top: 2px; color: var(--orange-500); }
.summary-card h3 { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 10px; }

/* ==========================================================================
   INVOICE
   ========================================================================== */
.invoice-page { padding: 40px 0 72px; background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); min-height: 60vh; }
.invoice-flash { max-width: 820px; margin: 0 auto 18px; }

.invoice-lookup { max-width: 460px; margin: 0 auto; }
.lookup-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); }
.lookup-card h1 { font-size: 1.4rem; margin-bottom: 8px; }
.lookup-card > p { font-size: .9rem; color: var(--body); }
.lookup-card code { background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; font-size: .8rem; }
.lookup-help { font-size: .82rem; color: var(--body-soft); margin: 16px 0 0; }

.invoice-sheet {
  max-width: 820px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-md);
}
.invoice-head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 2px solid var(--ink); }
.invoice-brand { display: flex; gap: 12px; align-items: flex-start; }
.invoice-brand .invoice-brand-img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; display: block; }
.invoice-brand strong { display: block; font-size: 1.05rem; color: var(--ink); letter-spacing: -.02em; }
.invoice-brand span { display: block; font-size: .78rem; color: var(--body-soft); line-height: 1.6; }
.invoice-meta { text-align: right; }
.invoice-title { font-size: .72rem; letter-spacing: .18em; font-weight: 800; color: var(--body-soft); margin: 0 0 4px; }
.invoice-no { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin: 0 0 8px; letter-spacing: -.01em; }

.status-pill { display: inline-block; font-size: .72rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.status-pill--pending { background: #FFF4E5; color: #B45309; }
.status-pill--paid { background: #ECFDF5; color: #047857; }
.status-pill--expired { background: #F3F4F6; color: #4B5563; }
.status-pill--cancelled { background: #FEF2F2; color: #B91C1C; }
.status-pill--failed { background: #FEF2F2; color: #B91C1C; }

.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px 0; }
.inv-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 800; color: var(--body-soft); margin: 0 0 8px; }
.inv-strong { font-weight: 800; color: var(--ink); font-size: .98rem; margin: 0 0 2px; }
.invoice-parties p { font-size: .85rem; margin: 0 0 2px; color: var(--body); }
.inv-rows { margin: 0; display: grid; gap: 5px; }
.inv-rows > div { display: flex; justify-content: space-between; gap: 14px; font-size: .82rem; }
.inv-rows dt { color: var(--body-soft); margin: 0; }
.inv-rows dd { margin: 0; font-weight: 600; color: var(--ink-2); text-align: right; }

.invoice-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.invoice-items { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 4px; }
.invoice-items thead th { background: var(--bg-soft); text-align: left; padding: 10px 14px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--body-soft); }
.invoice-items thead th.num { text-align: right; }
.invoice-items tbody td { padding: 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.invoice-items tbody td.num { text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.inv-item-desc { display: block; font-size: .78rem; color: var(--body-soft); margin-top: 4px; }
.invoice-items tfoot th, .invoice-items tfoot td { padding: 8px 14px; font-size: .86rem; }
.invoice-items tfoot th { text-align: left; font-weight: 600; color: var(--body); }
.invoice-items tfoot td.num { text-align: right; font-weight: 700; color: var(--ink-2); }
.invoice-items tfoot .inv-total th { font-size: 1rem; font-weight: 800; color: var(--ink); padding-top: 14px; border-top: 2px solid var(--ink); }
.invoice-items tfoot .inv-total td { font-size: 1.2rem; font-weight: 800; color: var(--orange-700); padding-top: 14px; border-top: 2px solid var(--ink); }

.invoice-pay { margin-top: 26px; padding: 24px; background: var(--bg-warm); border: 1px solid var(--orange-100); border-radius: var(--radius); }
.invoice-pay h2 { display: flex; align-items: center; gap: 9px; font-size: 1.05rem; margin-bottom: 8px; }
.inv-pay-lead { font-size: .9rem; color: var(--body); margin-bottom: 18px; }
.inv-amount { color: var(--orange-700); font-size: 1.15rem; }

.bank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.bank-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: grid; gap: 3px; }
.bank-name { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-700); }
.bank-number { font-size: 1.15rem; font-weight: 800; color: var(--ink); letter-spacing: .04em; font-family: ui-monospace, Menlo, Consolas, monospace; }
.bank-holder { font-size: .82rem; color: var(--body); }
.bank-branch, .bank-note { font-size: .75rem; color: var(--body-soft); }
.bank-card .btn { margin-top: 8px; justify-self: start; }

.pay-instructions { display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; margin-bottom: 18px; }
.pay-instructions svg { color: var(--orange-600); flex-shrink: 0; margin-top: 2px; }
.pay-instructions p { font-size: .86rem; margin-bottom: 8px; }
.pay-instructions ol { margin: 0; padding-left: 18px; font-size: .85rem; }
.pay-instructions li { margin-bottom: 4px; }

.pay-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px dashed var(--orange-200); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.pay-code-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--body-soft); }
.pay-code-value { font-size: 1.35rem; font-weight: 800; letter-spacing: .08em; color: var(--ink); font-family: ui-monospace, Menlo, Consolas, monospace; }
.pay-qr { text-align: center; margin-bottom: 16px; }
.pay-qr img,
.pay-qr svg { margin: 0 auto 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 8px; display: block; max-width: 100%; height: auto; }
.pay-qr-box { display: inline-block; max-width: 100%; }
.pay-qr-meta { font-size: .82rem !important; color: var(--ink-2) !important; margin: 6px 0 4px !important; }
.pay-qr-exp { font-size: .78rem !important; color: var(--body-soft) !important; margin: 0 !important; }
.pay-qr p { font-size: .8rem; color: var(--body-soft); margin: 0; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.inv-warn { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: #B45309; margin: 14px 0 0; }

.invoice-paid, .invoice-expired { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 22px; border-radius: var(--radius); }
.invoice-paid { background: #ECFDF5; border: 1px solid #A7F3D0; }
.invoice-paid svg { color: #047857; flex-shrink: 0; }
.invoice-expired { background: #F9FAFB; border: 1px solid var(--line); }
.invoice-expired svg { color: var(--body-soft); flex-shrink: 0; }
.invoice-paid h2, .invoice-expired h2 { font-size: 1.05rem; margin-bottom: 5px; }
.invoice-paid p, .invoice-expired p { font-size: .88rem; margin: 0; }

.invoice-foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.invoice-foot p { font-size: .78rem; color: var(--body-soft); margin-bottom: 6px; }
.inv-thanks { color: var(--ink-2); font-weight: 600; }
.invoice-toolbar { max-width: 820px; margin: 18px auto 0; display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }

/* ==========================================================================
   ADMIN — pesanan, sosmed, catatan
   ========================================================================== */
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-filters .filter-btn { font-size: .8rem; padding: 7px 13px; }
.admin-toolbar-right { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: var(--body); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.admin-chip .is-on { color: #047857; }

.order-head-right { display: flex; align-items: center; gap: 12px; }
.order-total { font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 22px; margin: 0 0 12px; }
.order-grid > div { display: flex; gap: 8px; font-size: .84rem; min-width: 0; }
.order-grid dt { color: var(--body-soft); min-width: 76px; flex-shrink: 0; margin: 0; }
.order-grid dd { margin: 0; color: var(--ink-2); font-weight: 600; overflow-wrap: anywhere; }
.order-grid code { font-size: .76rem; background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; }
.order-admin-note { display: flex; gap: 7px; font-size: .8rem; color: #92400E; background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 8px; padding: 10px 12px; margin: 10px 0 0; }

.admin-note--info { background: #EFF6FF; border-color: #BFDBFE; }
.admin-note--info h3 { color: #1D4ED8; }
.admin-note--info p, .admin-note--info li { color: #1E3A8A; font-size: .84rem; }
.admin-note--info code { background: rgba(255,255,255,.8); }
.admin-steps { margin: 8px 0 10px; padding-left: 20px; display: grid; gap: 6px; }

.admin-card-title { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 0 0 4px; }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }

.social-post-list { display: grid; gap: 2px; margin-top: 12px; }
.social-post-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.social-post-row:last-child { border-bottom: 0; }
.spr-main { min-width: 0; }
.spr-main strong { display: block; font-size: .88rem; color: var(--ink); line-height: 1.4; }
.spr-main .dash { font-size: .76rem; }
.spr-actions { display: flex; gap: 7px; flex-shrink: 0; align-items: center; }

.social-log { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 9px; overflow: hidden; }
.social-log-row { display: grid; grid-template-columns: 82px 86px 72px 1fr; gap: 10px; align-items: center; background: #fff; padding: 9px 12px; font-size: .78rem; }
.sl-time { color: var(--body-soft); font-variant-numeric: tabular-nums; }
.sl-platform { font-weight: 700; color: var(--ink-2); }
.sl-status { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 2px 7px; text-align: center; }
.sl-status--sukses { background: #ECFDF5; color: #047857; }
.sl-status--gagal { background: #FEF2F2; color: #B91C1C; }
.sl-msg { color: var(--body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Responsif ---------- */
@media (max-width: 992px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-form, .checkout-summary { min-width: 0; max-width: 100%; }
  .checkout-summary { position: static; }
  .checkout-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .checkout-plans, .bank-grid, .channel-grid { grid-template-columns: minmax(0, 1fr); }
  .invoice-sheet { padding: 20px 16px; max-width: 100%; }
  .invoice-head { flex-direction: column; }
  .invoice-meta { text-align: left; }
  .invoice-parties { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .invoice-parties > div, .inv-rows > div { min-width: 0; overflow-wrap: break-word; }
  .bank-card { min-width: 0; max-width: 100%; }
  .bank-number, .pay-code-value { overflow-wrap: anywhere; word-break: break-word; font-size: 1.05rem; }
  .invoice-pay { padding: 18px 16px; }
  .order-grid { grid-template-columns: minmax(0, 1fr); }
  .social-log-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 4px; }
  .sl-msg { grid-column: 1 / -1; }
  .social-post-row { flex-direction: column; align-items: flex-start; }
  .invoice-toolbar .btn { flex: 1 1 auto; }
}

/* ---------- Cetak invoice (pas 1 halaman A4) ---------- */
@page {
  size: A4 portrait;
  margin: 10mm 12mm;
}
@media print {
  html, body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .site-header,
  .site-footer,
  .cta-band,
  .wa-float,
  .app-tabbar,
  .install-bar,
  .skip-link,
  .invoice-toolbar,
  .invoice-flash,
  .pay-actions,
  .bank-card .btn,
  .pay-code button,
  .fd-popup-backdrop,
  .no-print {
    display: none !important;
  }
  .invoice-page {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .invoice-page .wrap {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .invoice-sheet {
    box-shadow: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .invoice-head {
    padding-bottom: 12px !important;
    gap: 14px !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .invoice-brand strong { font-size: 13pt !important; }
  .invoice-brand span { font-size: 8.5pt !important; line-height: 1.4 !important; }
  .invoice-no { font-size: 12pt !important; margin-bottom: 4px !important; }
  .invoice-parties {
    padding: 12px 0 !important;
    gap: 16px !important;
    grid-template-columns: 1fr 1fr !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .invoice-parties p, .inv-rows > div { font-size: 8.5pt !important; line-height: 1.35 !important; }
  .inv-strong { font-size: 10pt !important; }
  .invoice-items { font-size: 8.8pt !important; page-break-inside: avoid; break-inside: avoid; }
  .invoice-items thead th { padding: 7px 10px !important; }
  .invoice-items tbody td { padding: 9px 10px !important; }
  .invoice-items tfoot th, .invoice-items tfoot td { padding: 5px 10px !important; font-size: 8.6pt !important; }
  .invoice-items tfoot .inv-total th { font-size: 10pt !important; padding-top: 8px !important; }
  .invoice-items tfoot .inv-total td { font-size: 12pt !important; padding-top: 8px !important; }
  .invoice-pay, .invoice-paid, .invoice-expired {
    margin-top: 14px !important;
    padding: 13px 15px !important;
    background: #FAFAFA !important;
    border: 1px solid #E5E7EB !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .invoice-pay h2 { font-size: 10pt !important; margin-bottom: 4px !important; }
  .inv-pay-lead { font-size: 8.6pt !important; margin-bottom: 10px !important; }
  .inv-amount { font-size: 10.5pt !important; }
  .bank-grid { gap: 10px !important; margin-bottom: 10px !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bank-card { padding: 9px 11px !important; gap: 2px !important; page-break-inside: avoid; break-inside: avoid; }
  .bank-number { font-size: 10.5pt !important; }
  .bank-holder, .bank-branch, .bank-note { font-size: 8pt !important; }
  .pay-instructions { padding: 10px 12px !important; margin-bottom: 0 !important; page-break-inside: avoid; break-inside: avoid; }
  .pay-instructions p, .pay-instructions ol { font-size: 8.2pt !important; line-height: 1.4 !important; margin-bottom: 4px !important; }
  .pay-instructions li { margin-bottom: 2px !important; }
  .pay-qr { margin-bottom: 8px !important; }
  .pay-qr img,
  .pay-qr svg { width: 130px !important; height: 130px !important; }
  .invoice-foot {
    margin-top: 14px !important;
    padding-top: 10px !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .invoice-foot p { font-size: 7.8pt !important; margin-bottom: 3px !important; }
  a[href]::after { content: none !important; }
}

/* Tautan sekunder di kartu harga */
.price-wa { display: block; text-align: center; font-size: .78rem; font-weight: 600; color: var(--body-soft); margin: -10px 0 18px; }
.price-wa:hover { color: var(--orange-700); }

/* Checkout: metode pembayaran belum tersedia */
.checkout-unavailable {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 30px; box-shadow: var(--shadow-sm);
}
.checkout-unavailable .cu-icon {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 16px;
  display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600);
  border: 1px solid var(--orange-100);
}
.checkout-unavailable h2 { font-size: 1.25rem; margin-bottom: 8px; }
.checkout-unavailable p { font-size: .92rem; color: var(--body); max-width: 430px; margin: 0 auto 20px; }

/* ==========================================================================
   PENGATURAN SITUS — brand & site icon
   ========================================================================== */

/* Judul situs di header: jaga satu baris agar layout tidak pecah */
.brand-text small {
  max-width: 172px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: #fff;
}
.brand--footer .brand-img { width: 32px; height: 32px; }

/* Kartu unggah site icon di panel admin */
.icon-card { padding: 20px; }
.icon-card-main { display: flex; gap: 20px; align-items: flex-start; }
.icon-preview {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--bg-soft);
  display: grid; place-items: center; overflow: hidden;
}
.icon-preview img { display: block; object-fit: contain; }
.icon-copy { min-width: 0; flex: 1; }
.icon-copy .dash { font-size: .8rem; color: var(--body-soft); margin: 0 0 6px; }
.icon-copy code { font-size: .74rem; background: var(--bg-soft); padding: 1px 5px; border-radius: 4px; }
.icon-form { margin-top: 14px; display: grid; gap: 12px; }

.icon-file {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px dashed var(--line); border-radius: 10px;
  padding: 12px 16px; background: #fff; cursor: pointer;
  font-size: .85rem; font-weight: 600; color: var(--ink-2);
  max-width: 100%;
}
.icon-file:hover { border-color: var(--orange-300, var(--orange-200)); background: #FFFCF9; }
.icon-file input[type="file"] {
  font-family: inherit; font-size: .8rem; color: var(--body); max-width: 100%;
}
.icon-form .btn-row { margin: 0; }

/* Upload gambar sampul artikel di panel admin */
.img-field {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.img-field-preview {
  width: 168px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--body-soft);
  font-size: .74rem;
  font-weight: 600;
  text-align: center;
  padding: 6px;
}
.img-field-preview:not(.is-empty) { padding: 0; }
.img-field-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-field-preview--contain { background: #fff; }
.img-field-preview--contain:not(.is-empty) { padding: 10px; }
.img-field-preview--contain img { object-fit: contain; }
.img-field-controls { display: grid; gap: 8px; min-width: 0; }
.img-field-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.img-file-pick {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
  font-size: .79rem;
  font-weight: 600;
  color: var(--ink-2);
}
.img-file-pick:hover { border-color: var(--orange-300, var(--orange-200)); background: #FFFCF9; }
.img-file-pick input[type="file"] { font-family: inherit; font-size: .78rem; color: var(--body); max-width: 100%; }
.img-clear-btn {
  font-family: inherit;
  font-size: .78rem;
  font-weight: 600;
  color: #B42318;
  background: #fff;
  border: 1px solid #F3D3D0;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}
.img-clear-btn:hover { background: #FEF3F2; color: #912018; border-color: #ECAFA9; }
.img-clear-btn[hidden] { display: none; }

/* Manajemen Halaman di panel admin */
.admin-acc-foot--split { justify-content: space-between; flex-wrap: wrap; }
.page-new-card { padding: 22px; margin-bottom: 22px; border-color: var(--orange-200, #FED7AA); }
.page-new-card[hidden] { display: none; }
.page-new-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-soft); }
.page-new-head .dash { font-size: .82rem; color: var(--body-soft); margin: 4px 0 0; }
.page-group-head { margin: 0 0 12px; }
.page-group-head h2 { font-size: 1rem; margin: 0 0 4px; color: var(--ink); }
.page-group-head p { font-size: .82rem; color: var(--body-soft); margin: 0; }
.page-url-tag {
  display: inline-block;
  margin-left: 8px;
  font-size: .72rem;
  font-weight: 500;
  color: var(--body-soft);
  background: var(--bg-soft);
  padding: 2px 7px;
  border-radius: 6px;
}
.page-pill {
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.page-pill--on { background: #ECFDF3; color: #027A48; border: 1px solid #ABEFC6; }
.page-pill--off { background: #F2F4F7; color: #475467; border: 1px solid #D0D5DD; }
.page-pill--custom { background: var(--orange-50); color: var(--orange-700); border: 1px solid var(--orange-200, #FED7AA); }
.rte-wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.rte-wrap:focus-within { border-color: var(--orange-400); box-shadow: 0 0 0 3px rgba(249, 115, 22, .13); }
.rte-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 8px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.rte-bar button {
  font-family: inherit;
  font-size: .74rem;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
  cursor: pointer;
}
.rte-bar button:hover { border-color: var(--orange-300, #FDBA74); background: var(--orange-50); color: var(--orange-700); }
.rte-wrap textarea { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }

/* Penghitung karakter SEO, SEOWriting AI & Alat Indexing di panel admin */
.afield-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.char-counter { font-size: .72rem; font-weight: 700; color: var(--body-soft); }
.char-counter.is-ideal { color: #027A48; }
.char-counter.is-short { color: #B54708; }
.char-counter.is-over { color: #B42318; }
.page-pill--err { background: #FEF3F2; color: #B42318; border: 1px solid #FECDCA; }
.seo-tools-stack { display: grid; gap: 18px; margin-top: 22px; }
.sw-card { padding: 22px; }
.sw-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.sw-card .dash { font-size: .82rem; color: var(--body-soft); margin: 4px 0 0; }
.pw-row, .copy-row { display: flex; gap: 8px; align-items: center; }
.pw-row input, .copy-row input { flex: 1; min-width: 0; }
.pw-row .admin-ghost, .copy-row .btn { flex-shrink: 0; white-space: nowrap; }
.task-list { display: grid; gap: 10px; margin-top: 14px; }
.task-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 13px 15px;
  background: #FCFCFD;
}
.task-main { flex: 1; min-width: 220px; }
.task-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.task-top strong { font-size: .9rem; color: var(--ink); }
.task-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Dashboard Statistik Trafik di panel admin */
.an-chart {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: end;
  height: 190px;
  margin-top: 18px;
  padding: 12px 6px 4px;
  border-top: 1px dashed var(--line-soft);
}
.an-chart--dense { gap: 3px; }
.an-bar-col { display: flex; flex-direction: column; align-items: center; height: 100%; min-width: 0; }
.an-bar-val { font-size: .68rem; font-weight: 700; color: var(--ink-2); height: 16px; line-height: 16px; }
.an-chart--dense .an-bar-val { font-size: .58rem; }
.an-bar-track { flex: 1; width: 100%; max-width: 32px; display: flex; align-items: flex-end; justify-content: center; padding: 4px 0; }
.an-bar-views {
  width: 100%;
  background: var(--orange-200, #FED7AA);
  border-radius: 6px 6px 3px 3px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  transition: opacity .15s ease;
}
.an-bar-col:hover .an-bar-views { opacity: .88; }
.an-bar-uniq { width: 100%; background: var(--orange-600); border-radius: 4px 4px 0 0; }
.an-bar-lbl { font-size: .66rem; color: var(--body-soft); margin-top: 4px; white-space: nowrap; }
.an-chart--dense .an-bar-lbl { font-size: .56rem; transform: rotate(-40deg); transform-origin: top center; margin-top: 6px; }

.an-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.an-bars { display: grid; gap: 12px; }
.an-prog-row { display: grid; gap: 5px; }
.an-prog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .82rem; }
.an-prog-head strong { color: var(--ink); font-weight: 700; }
.an-prog-head span { color: var(--body-soft); font-size: .76rem; }
.an-prog-track { height: 7px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; border: 1px solid var(--line-soft); }
.an-prog-track i { display: block; height: 100%; background: var(--orange-500); border-radius: 999px; }
.an-prog-track i.an-prog--mobile { background: #0E9F6E; }
.an-prog-track i.an-prog--tablet { background: #3B82F6; }
.an-browsers { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line-soft); }
.an-table-wrap { overflow-x: auto; }
.an-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.an-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--body-soft); border-bottom: 1px solid var(--line); padding: 9px 10px; }
.an-table td { border-bottom: 1px solid var(--line-soft); padding: 9px 10px; color: var(--ink-2); vertical-align: middle; }
.an-table td code { font-size: .76rem; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; }
.an-inline-pct { display: grid; grid-template-columns: 1fr 44px; gap: 8px; align-items: center; }
.an-inline-pct span { font-size: .75rem; font-weight: 700; color: var(--ink-2); text-align: right; }
.secret-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 700; color: #027A48;
  background: #ECFDF3; border: 1px solid #ABEFC6;
  padding: 3px 9px; border-radius: 999px;
}
@media (max-width: 820px) {
  .an-two-col { grid-template-columns: 1fr; }
}

/* ---------- Popup Widget (Admin & Frontend Modal) ---------- */
.popup-active-toggle {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.popup-section-head {
  margin: 20px 0 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
}
.popup-section-head h3 {
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--orange-700);
  margin: 0;
}
.popup-check-row { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 4px; }

body.has-popup-open { overflow: hidden; }
.fd-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(16, 24, 40, .62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .22s ease;
}
.fd-popup-backdrop[hidden] { display: none !important; }
.fd-popup-backdrop.is-open { opacity: 1; }
.fd-popup-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .28);
  border: 1px solid var(--line-soft);
  transform: translateY(14px) scale(.97);
  opacity: 0;
  transition: transform .26s cubic-bezier(.16, 1, .3, 1), opacity .22s ease;
}
.fd-popup-backdrop.is-open .fd-popup-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.fd-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 40, .12);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.fd-popup-close:hover { background: #fff; transform: scale(1.06); }
.fd-popup-media { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.fd-popup-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fd-popup-content { padding: 26px 26px 24px; }
.fd-popup-title { font-size: 1.3rem; line-height: 1.3; margin: 0 0 12px; color: var(--ink); padding-right: 26px; }
.fd-popup-body { font-size: .92rem; line-height: 1.65; color: var(--body); }
.fd-popup-body p { margin: 0 0 10px; }
.fd-popup-body p:last-child { margin-bottom: 0; }
.fd-popup-body ul, .fd-popup-body ol { margin: 0 0 10px; padding-left: 20px; }
.fd-popup-body li { margin-bottom: 4px; }
.fd-popup-body strong { color: var(--ink); }
.fd-popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.fd-popup-actions .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 520px) {
  .fd-popup-content { padding: 20px 18px 18px; }
  .fd-popup-title { font-size: 1.12rem; }
  .fd-popup-actions { flex-direction: column; }
  .fd-popup-actions .btn { width: 100%; }
}

@media (max-width: 720px) {
  .icon-card-main { flex-direction: column; gap: 14px; }
  .icon-preview { width: 68px; height: 68px; }
  .img-field { grid-template-columns: 1fr; }
  .img-field-preview { width: 100%; max-width: 240px; }
  .brand-text small { max-width: 122px; }
}

/* ---------- Recent Sales Notification / Social Proof Capsule ---------- */
.sp-toast {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 89;
  max-width: min(370px, calc(100vw - 110px));
  opacity: 0;
  transform: translateY(18px) scale(.97);
  pointer-events: none;
  transition: opacity .32s ease, transform .36s cubic-bezier(.16, 1, .3, 1);
}
.sp-toast[hidden] { display: none !important; }
.sp-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.sp-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #D8EEFA;
  border: 1px solid rgba(14, 116, 180, .18);
  border-radius: 9999px;
  padding: 9px 36px 9px 10px;
  box-shadow: 0 12px 28px rgba(15, 66, 108, .15), 0 2px 6px rgba(15, 66, 108, .08);
  color: #0F2942;
  max-width: 100%;
}
.sp-pill--preview {
  padding-right: 20px;
  box-shadow: 0 6px 18px rgba(15, 66, 108, .11);
}
.sp-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(15, 66, 108, .12);
  display: grid;
  place-items: center;
}
.sp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-avatar-icon {
  color: #0369A1;
  display: grid;
  place-items: center;
}
.sp-avatar-initial {
  font-weight: 800;
  font-size: .95rem;
  color: #0369A1;
  letter-spacing: -.02em;
}
.sp-body {
  min-width: 0;
  line-height: 1.28;
}
.sp-line-buyer {
  margin: 0;
  font-size: .78rem;
  font-weight: 500;
  color: #1E3A5F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-line-product {
  margin: 2px 0 3px;
  font-size: .88rem;
  font-weight: 800;
  color: #0B1F3A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-line-verified {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  color: #15803D;
}
.sp-check-icon {
  flex-shrink: 0;
  display: block;
}
.sp-close {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 9999px;
  border: 0;
  background: rgba(15, 41, 66, .08);
  color: #1E3A5F;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease, color .15s ease;
}
.sp-close:hover {
  background: rgba(15, 41, 66, .18);
  color: #0B1F3A;
}
@media (max-width: 760px) {
  .sp-toast {
    left: 12px;
    bottom: 78px;
    max-width: calc(100vw - 84px);
  }
  .sp-pill {
    padding: 7px 32px 7px 8px;
    gap: 10px;
  }
  .sp-avatar {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
  .sp-line-buyer { font-size: .72rem; }
  .sp-line-product { font-size: .8rem; }
  .sp-line-verified { font-size: .68rem; }
}
@media print {
  .sp-toast { display: none !important; }
}
