/* =========================================================
   Digital Studio — Global Stylesheet
   Theme colors are CSS variables, overridden at runtime
   from site settings (see assets/js/app.js -> applyTheme)
   ========================================================= */
:root {
  --primary: #04438f;
  --secondary: #03336d;   /* hover / dark variant */
  --accent: #0a66c2;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-body: #334155;
  --muted: #64748b;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -20px rgba(4, 67, 143, .35);
  --container: 88vw;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--secondary); }
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
@media (max-width: 900px) { .container { max-width: 100%; padding: 0 20px; } }
.caption { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 3px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .2s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px var(--primary); }
.btn-primary:hover { background: var(--secondary); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: #eef4fc; color: var(--secondary); }
.btn-ghost { background: transparent; color: var(--text-body); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-wa { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px var(--primary); }
.btn-wa:hover { background: var(--secondary); color: #fff; }
.cta-band .btn-wa { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); box-shadow: none; }
.cta-band .btn-wa:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.btn-danger { background: transparent; color: var(--danger); border-color: #fecaca; }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--text); transition: opacity .2s ease; }
.brand:hover { color: var(--text); opacity: .9; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 3px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: .95rem;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center;
  padding: .45rem 0; background: transparent !important; color: var(--muted); font-weight: 500; font-size: .95rem;
  transition: color .25s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.nav-links a:hover {
  color: var(--text);
  background: transparent;
}
.nav-links a:hover::after {
  transform: scaleX(1); transform-origin: left center;
}
.nav-links a.active {
  color: var(--text); font-weight: 600;
  background: transparent;
}
.nav-links a.active::after {
  transform: scaleX(1); transform-origin: left center;
}
.nav-cta { display: flex; align-items: center; gap: .65rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); border-radius: 3px;
  width: 42px; height: 42px; cursor: pointer; color: var(--text);
}
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: .75rem 20px 1.25rem;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .75rem 0; }
  .nav-links a::after { width: 28px; right: auto; bottom: 4px; }
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .75rem; border-radius: 3px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--primary); font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 84px 0 96px;
  background-image: radial-gradient(color-mix(in srgb, var(--primary) 10%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--primary); }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 580px; line-height: 1.7; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 160px)); gap: 1.5rem;
  padding-top: 1.75rem; border-top: 1px solid var(--border);
}
.hero-stats strong { display: block; font-size: 1.75rem; color: var(--text); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-stats span { font-size: .82rem; color: var(--muted); }
.hero-visual { position: relative; }
.mock-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 0; overflow: hidden; box-shadow: var(--shadow-lg);
}
.mock-card-head {
  padding: 18px 24px; background: #0b1b33; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.mock-card-head strong { color: #fff; font-size: .95rem; letter-spacing: -.01em; }
.mock-card-body { padding: 18px 24px 24px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.mock-row:last-of-type { border-bottom: 0; }
.mock-total {
  margin-top: 14px; padding: 16px 18px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; display: flex; justify-content: space-between; align-items: center;
}
.mock-total strong { font-size: 1.5rem; letter-spacing: -.02em; }
.float-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 9px 14px;
  box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; color: var(--text);
}
.float-badge.b1 { top: -16px; left: -20px; }
.float-badge.b2 { bottom: -18px; right: -12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .float-badge.b1 { left: 8px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: 68px 0 60px; color: #fff; overflow: hidden;
  background:
    radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 45%),
    linear-gradient(135deg, #071936 0%, var(--primary) 60%, var(--secondary) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -.02em; margin-bottom: .4rem; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 660px; font-size: 1.05rem; margin: 0; line-height: 1.65; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.68);
  padding: .28rem .7rem; border-radius: 3px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  margin-bottom: 1rem;
}
.breadcrumb a { color: #fff; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px -18px rgba(15, 23, 42, .16);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
}
.icon-box {
  width: 44px; height: 44px; border-radius: 6px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--bg); border: 1px solid var(--border); color: var(--primary);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.card-hover:hover .icon-box {
  border-color: var(--primary);
  background: var(--primary); color: #fff;
}
.icon-box svg { width: 20px; height: 20px; stroke-width: 1.5; }

/* Service card */
.service-card { display: flex; flex-direction: column; height: 100%; position: relative; }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 16px; }
.service-card-top .icon-box { margin-bottom: 0; }
.service-num { font-size: .76rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.service-card .price { font-size: 2rem; font-weight: 800; color: var(--text); margin: .15rem 0; letter-spacing: -.02em; }
.service-card .price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.service-meta {
  display: flex; gap: .45rem; flex-wrap: wrap;
  margin: .85rem 0 1.15rem; padding-bottom: 1.1rem; border-bottom: 1px dashed var(--border);
}
.chip {
  display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; border-radius: 3px;
  background: var(--bg); border: 1px solid var(--border); font-size: .76rem; font-weight: 600; color: var(--muted);
}
.chip-primary {
  background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 18%, transparent);
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.35rem; }
.check-list li { position: relative; padding-left: 1.55rem; margin-bottom: .55rem; font-size: .92rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: .95rem; height: .95rem; border-radius: 3px;
  background: color-mix(in srgb, var(--primary) 10%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304438f' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.card-actions { margin-top: auto; display: flex; gap: .5rem; flex-wrap: wrap; padding-top: .5rem; }
.card-actions .btn { flex: 1; }

/* Service detail (layanan page) */
.service-nav-bar {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 32px;
  padding: 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border);
}
.service-nav-bar a {
  padding: .5rem .95rem; border-radius: 3px; font-size: .88rem; font-weight: 600; color: var(--text-body);
  border: 1px solid transparent; transition: all .2s ease;
}
.service-nav-bar a:hover { border-color: var(--border); color: var(--primary); background: var(--bg); }
.service-detail {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: 40px;
  scroll-margin-top: 96px; border-radius: 12px;
}
.service-detail + .service-detail { margin-top: 28px; }
.service-detail-aside {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 28px;
  display: flex; flex-direction: column;
}
.service-detail-aside .price-box {
  padding: 18px 20px; border-radius: 8px; background: #0b1b33; color: #fff; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.service-detail-aside .price-box .caption { color: rgba(255,255,255,.65); }
.service-detail .price { font-size: 2.1rem; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0; }
.sub-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 18px 20px; }
.sub-panel + .sub-panel { margin-top: 14px; }
.sub-panel h4 { font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: .75rem; }
.mini-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.mini-table td { padding: .6rem 0; border-bottom: 1px dashed var(--border); vertical-align: top; }
.mini-table tr:last-child td { border-bottom: 0; }
.mini-table td:last-child { text-align: right; font-weight: 700; color: var(--primary); white-space: nowrap; padding-left: 1rem; }
.mini-table .note { display: block; font-size: .76rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
@media (max-width: 900px) { .service-detail { grid-template-columns: 1fr; padding: 24px; } }

/* Steps */
.steps { counter-reset: step; position: relative; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 26px; transition: border-color .25s ease, transform .25s ease;
}
.step:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); transform: translateY(-3px); }
.step-num {
  width: 34px; height: 34px; border-radius: 4px; display: grid; place-items: center; font-weight: 800; font-size: .85rem;
  background: var(--primary); color: #fff; margin-bottom: 18px;
}

/* CTA band */
.cta-band {
  border-radius: 12px; padding: 52px 56px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--accent) 65%, transparent), transparent 40%),
    linear-gradient(135deg, #071936 0%, var(--primary) 60%, var(--secondary) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 560px; }
@media (max-width: 640px) { .cta-band { padding: 36px 24px; } }

/* Testimonials */
.quote { font-size: .98rem; color: var(--text-body); line-height: 1.7; }
.quote-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.avatar {
  width: 38px; height: 38px; border-radius: 4px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; color: #fff;
  background: var(--primary);
}
.stars { color: var(--primary); letter-spacing: 2px; margin-bottom: .65rem; font-size: .85rem; }

/* ---------- Calculator (Elevated Interactive UI/UX) ---------- */
.calc-layout { display: grid; grid-template-columns: 1fr 420px; gap: 36px; align-items: start; }
.calc-step {
  position: relative; padding: 32px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); box-shadow: 0 2px 10px rgba(15, 23, 42, .03);
}
.calc-step + .calc-step { margin-top: 24px; }
.calc-step-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.calc-step-title { display: flex; align-items: center; gap: .85rem; }
.calc-step-head .step-num {
  width: 28px; height: 28px; margin: 0; font-size: .8rem; font-weight: 700; border-radius: 4px;
  background: var(--text); color: #fff; box-shadow: none;
}
.calc-step-head h3 { margin: 0; font-size: 1.12rem; letter-spacing: -.01em; }
.calc-step-badge {
  font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.option {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: .75rem;
  padding: 20px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; transition: border-color .22s ease, background .22s ease, transform .2s ease, box-shadow .22s ease;
}
.option:hover {
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(15, 23, 42, .14);
}
.option input {
  position: absolute; opacity: 0; pointer-events: none;
}
.option-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; width: 100%;
}
.option-head-left { display: flex; align-items: flex-start; gap: .75rem; min-width: 0; }
.option-check {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #cbd5e1; flex-shrink: 0; margin-top: 2px;
  display: grid; place-items: center; transition: all .2s ease; background: #fff;
}
.option-check.box { border-radius: 3px; }
.option-check::after {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .18s ease;
}
.option-check.box::after {
  width: 9px; height: 5px; border-radius: 0; background: transparent;
  border-left: 1.8px solid #fff; border-bottom: 1.8px solid #fff;
  transform: rotate(-45deg) scale(0); margin-top: -1px;
}
.option.selected {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 3.5%, var(--surface));
  box-shadow: 0 12px 28px -16px color-mix(in srgb, var(--primary) 45%, transparent), 0 0 0 1px var(--primary);
}
.option.selected .option-check {
  background: var(--primary); border-color: var(--primary);
}
.option.selected .option-check::after { transform: scale(1); }
.option.selected .option-check.box::after { transform: rotate(-45deg) scale(1); }
.option-icon {
  width: 34px; height: 34px; border-radius: 6px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--primary); flex-shrink: 0; background: var(--bg);
}
.option-icon svg { width: 17px; height: 17px; stroke-width: 1.6; }
.option.selected .option-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.option-title { font-weight: 600; font-size: .96rem; color: var(--text); display: block; line-height: 1.3; }
.option-desc { font-size: .83rem; color: var(--muted); display: block; line-height: 1.5; margin-top: .25rem; }
.option-price {
  font-weight: 700; font-size: .95rem; color: var(--primary); white-space: nowrap;
  padding: .2rem .55rem; border-radius: 3px; background: color-mix(in srgb, var(--primary) 7%, transparent);
}
.option.selected .option-price { background: var(--primary); color: #fff; }
.option-badge {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem;
  font-size: .74rem; font-weight: 600; color: var(--primary);
  border-top: 1px dashed var(--border); padding-top: .5rem; width: 100%;
}
.option-warning {
  display: none; margin-top: .4rem; font-size: .76rem; color: var(--warning); background: #fffbeb; border: 1px solid #fde68a;
  padding: .4rem .6rem; border-radius: 4px; line-height: 1.4;
}
.option.has-warning .option-warning { display: block; }
@media (max-width: 1024px) { .calc-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .option-grid { grid-template-columns: 1fr; } .calc-step { padding: 22px; } }

.summary {
  position: sticky; top: 96px; padding: 0; overflow: hidden; border-radius: 12px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.summary-head {
  padding: 24px 28px; background: #0b1b33; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.summary-head .caption { color: rgba(255,255,255,.6); display: block; margin-bottom: .25rem; }
.summary-head h3 { color: #fff; margin: 0; font-size: 1.15rem; }
.summary-body { padding: 24px 28px 28px; }
.summary-list { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; }
.summary-list li {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  padding: .65rem 0; border-bottom: 1px dashed var(--border);
}
.summary-list li:last-child { border-bottom: 0; }
.summary-list li span:last-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.summary-total {
  padding: 20px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; margin: 0 0 1rem;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
}
.summary-total .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.summary-total .value { font-size: 2.15rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-top: .2rem; }
.summary-timeline-pill {
  font-size: .78rem; padding: .3rem .65rem; border-radius: 3px;
  background: rgba(255,255,255,.14); color: #fff; font-weight: 600;
}
.summary-recurring {
  font-size: .84rem; background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 16px; margin-bottom: 1.2rem;
}
.summary-recurring strong { color: var(--text); }
.tx-info-section {
  margin-bottom: .85rem; padding-bottom: .85rem; border-bottom: 1px dashed var(--border);
}
.tx-info-head {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  font-size: .71rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--primary); margin-bottom: .45rem;
}
.tx-info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  padding: 11px 13px;
}
.tx-info-card + .tx-info-card { margin-top: 8px; }
.tx-info-title {
  display: block; font-weight: 700; font-size: .86rem; color: var(--text); line-height: 1.35;
}
.tx-info-rate {
  display: inline-block; margin: 6px 0 5px; padding: .24rem .6rem; border-radius: 4px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary); font-weight: 700; font-size: .8rem; line-height: 1.3;
}
.tx-info-note {
  display: block; font-size: .76rem; color: var(--muted); line-height: 1.45; margin-top: 2px;
}
.tx-renewal-row {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
.tx-renewal-val {
  font-weight: 800; font-size: .92rem; color: var(--primary); white-space: nowrap;
}
.summary-empty { color: var(--muted); font-size: .86rem; font-style: italic; }

/* ---------- Accordion ---------- */
.accordion { width: 100%; margin: 0 auto; }
.acc-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 14px; overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease;
}
.acc-item:hover { border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.acc-item.open {
  border-color: var(--primary);
  box-shadow: 0 14px 32px -18px rgba(15, 23, 42, .16);
}
.acc-btn {
  width: 100%; display: flex; align-items: center; gap: 1rem; padding: 20px 24px; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 1.04rem; color: var(--text); text-align: left;
}
.acc-num {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 4px; display: grid; place-items: center; font-weight: 800; font-size: .82rem;
  background: var(--bg); border: 1px solid var(--border); color: var(--primary); transition: all .2s ease;
}
.acc-item.open .acc-num { background: var(--primary); border-color: var(--primary); color: #fff; }
.acc-icon { margin-left: auto; transition: transform .25s ease, color .25s ease; color: var(--muted); flex-shrink: 0; }
.acc-item.open .acc-icon { transform: rotate(45deg); color: var(--primary); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-panel-inner {
  padding: 0 24px 24px 72px; color: var(--text-body); white-space: pre-line; font-size: .95rem; line-height: 1.75;
}
@media (max-width: 640px) { .acc-panel-inner { padding: 0 20px 20px; } .acc-btn { padding: 16px 18px; font-size: .98rem; } }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label.label { display: block; font-weight: 600; font-size: .86rem; color: var(--text); margin-bottom: .4rem; letter-spacing: .01em; }
.input, .select, .textarea {
  width: 100%; padding: .75rem .95rem; border: 1px solid var(--border); border-radius: 6px; font: inherit; font-size: .94rem;
  background: var(--bg); color: var(--text); transition: border-color .2s, background .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; background: var(--surface); border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.textarea { min-height: 130px; resize: vertical; }
.input.invalid, .select.invalid, .textarea.invalid { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: .8rem; margin-top: .3rem; }
.invalid + .field-error { display: block; }
.help { font-size: .8rem; color: var(--muted); margin-top: .3rem; }

/* Contact */
.contact-side-card {
  padding: 0; overflow: hidden; border-radius: 12px;
}
.contact-side-head {
  padding: 22px 26px; background: #0b1b33; color: #fff;
}
.contact-side-head .caption { color: rgba(255,255,255,.6); display: block; margin-bottom: .2rem; }
.contact-side-head h3 { color: #fff; margin: 0; font-size: 1.12rem; }
.contact-side-body { padding: 8px 26px 22px; }
.contact-item { display: flex; gap: .95rem; align-items: flex-start; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon-box { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--text); font-size: .9rem; }
.contact-item span { font-size: .9rem; color: var(--muted); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15, 23, 42, .55); z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-backdrop.open { display: flex; animation: fade .2s ease; }
.modal { background: var(--surface); border-radius: 18px; max-width: 640px; width: 100%; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); animation: pop .25s ease; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 24px 28px 0; }
.modal-body { padding: 16px 28px 28px; }
.modal-close { background: var(--bg); border: 1px solid var(--border); border-radius: 3px; width: 36px; height: 36px; cursor: pointer; font-size: 1.2rem; color: var(--muted); flex-shrink: 0; transition: all .2s ease; }
.modal-close:hover { color: var(--text); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: #0f172a; color: #fff; padding: .75rem 1.2rem; border-radius: 12px; font-size: .9rem; box-shadow: var(--shadow); animation: pop .25s ease; }
.toast.success { background: var(--primary); }
.toast.error { background: var(--danger); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 32px -8px color-mix(in srgb, var(--primary) 70%, transparent);
  transition: transform .2s, background .2s;
}
.wa-float:hover { transform: scale(1.07); background: var(--secondary); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Language Switcher ---------- */
.lang-switch {
  display: inline-flex; align-items: center; background: var(--bg); border: 1px solid var(--border);
  border-radius: 3px; padding: 3px; gap: 2px;
}
.lang-btn {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .78rem; font-weight: 700;
  padding: .32rem .65rem; border-radius: 3px; cursor: pointer; letter-spacing: .04em; transition: all .2s ease;
}
.lang-btn:hover { color: var(--primary); }
.lang-btn.active { background: var(--primary); color: #fff; box-shadow: 0 2px 6px -1px color-mix(in srgb, var(--primary) 50%, transparent); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1b33; color: #cbd5e1; padding: 64px 0 28px; margin-top: 0; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #94a3b8; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Skeleton / fallback ---------- */
.skeleton { background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); min-height: 280px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.admin-login .card { width: 100%; max-width: 420px; padding: 36px; }
.alert { padding: .8rem 1rem; border-radius: 10px; font-size: .88rem; margin-bottom: 1rem; }
.alert-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.alert-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #0b1b33; color: #cbd5e1; padding: 24px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.admin-side .brand { color: #fff; padding: 0 8px; margin-bottom: 28px; }
.admin-nav { list-style: none; padding: 0; margin: 0; flex: 1; }
.admin-nav button {
  width: 100%; text-align: left; background: none; border: 0; color: #cbd5e1; font: inherit; font-size: .93rem; padding: .7rem .9rem; border-radius: 3px; cursor: pointer; margin-bottom: 4px;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.admin-nav button:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(3px); }
.admin-nav button.active { background: var(--primary); color: #fff; font-weight: 600; }
.admin-main { padding: 32px 36px 64px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 24px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.6rem; margin: 0; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.color-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; }
.color-row input[type="color"] { width: 56px; height: 46px; border: 1.5px solid var(--border); border-radius: 10px; padding: 3px; background: var(--surface); cursor: pointer; }
.preview-box { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.preview-hero { padding: 28px; color: #fff; }
.preview-hero h3 { color: #fff; }
.preview-content { padding: 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.preview-card { padding: 16px; border-radius: 10px; border: 1px solid var(--border); flex: 1; min-width: 160px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .75rem; border-bottom: 1px solid var(--border); }
.admin-table td { padding: .75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table .input { padding: .5rem .7rem; }
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 999px; cursor: pointer; transition: background .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + span { background: var(--primary); }
.switch input:checked + span::before { transform: translateX(20px); }
.admin-service { margin-bottom: 20px; }
.admin-service summary { cursor: pointer; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; align-items: center; list-style: none; }
.admin-service summary::-webkit-details-marker { display: none; }
.scope-row { display: grid; grid-template-columns: 1fr 140px 40px; gap: 8px; margin-bottom: 8px; }
.scope-card-editor {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; margin-bottom: 14px;
}
.scope-card-head {
  display: grid; grid-template-columns: 1fr 1fr 150px 40px; gap: 8px; align-items: center; margin-bottom: 10px;
}
.scope-annual-box {
  background: var(--bg); border: 1px dashed var(--border); border-radius: 8px;
  padding: 12px 14px; margin-top: 8px;
}
.scope-annual-top {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap;
  margin-bottom: 10px;
}
.scope-rc-row {
  display: grid; grid-template-columns: 1.2fr 1fr 130px 140px 38px; gap: 8px; margin-bottom: 8px; align-items: center;
}
.rc-col-head {
  display: grid; gap: 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; padding: 0 2px;
}
@media (max-width: 820px) {
  .scope-card-head, .scope-rc-row { grid-template-columns: 1fr; }
}
.icon-btn { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; color: var(--danger); font-size: 1.1rem; height: 40px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.media-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.media-item img { width: 100%; height: 120px; object-fit: cover; background: var(--bg); }
.media-item .media-meta { padding: 10px; font-size: .78rem; display: flex; flex-direction: column; gap: 6px; }
.progress { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; margin-top: 10px; display: none; }
.progress > div { height: 100%; width: 0; background: var(--primary); transition: width .15s; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-nav li { flex: 1 1 auto; }
  .admin-main { padding: 24px 18px 48px; }
}
