/* ============================================================
   J•SMILE Dental — Shared Design System
   ============================================================ */
:root {
  --primary: #10ae4b;          /* J•SMILE brand green */
  --primary-dark: #0b7c36;
  --primary-light: #e9f9ef;
  --accent: #f59e0b;           /* warm amber — matches the gold in the logo */
  --accent-dark: #d97706;
  --wa: #25d366;
  --wa-dark: #1ebe5d;
  --ink: #0f172a;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --bg-soft: #f8fafc;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .14);
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.125rem; color: var(--ink-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--primary-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); }
.section.dark .section-head .kicker { background: rgba(255,255,255,.15); color: #fff; }
.section.dark .section-head p { color: rgba(255,255,255,.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; padding: 15px 28px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: all .2s ease;
  font-family: inherit;
}
.btn svg { flex: none; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(245, 158, 11, .35); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--primary-dark); letter-spacing: -.01em; display: inline-flex; align-items: center; }
.logo .dot { color: var(--accent); }
.logo small { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .3em; color: var(--ink-soft); text-transform: uppercase; }
.logo img { height: 46px; width: auto; display: block; }
.footer .logo img { height: 54px; background: #fff; padding: 7px 12px; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--primary-light) 0%, #fff 55%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--primary-dark); box-shadow: var(--shadow); margin-bottom: 22px; }
.hero-badge .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 .hl { color: var(--primary); }
.hero h1 .hl-accent { color: var(--accent-dark); }
.hero .lead { margin: 20px 0 32px; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--primary); flex: none; }
.hero-visual { position: relative; }
.hero-img { width: 100%; height: 300px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.hero-img + .hero-card { position: relative; margin-top: -84px; margin-left: 28px; }
@media (max-width: 640px) { .hero-img { height: 220px; } .hero-img + .hero-card { margin-left: 12px; } }
.section-img { width: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.hero-card {
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 24px; padding: 40px 36px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.hero-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-card::before { content: ""; position: absolute; right: 20px; bottom: -80px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero-card .price-old { text-decoration: line-through; opacity: .7; font-size: 1.05rem; }
.hero-card .price-new { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1.1; margin: 6px 0 4px; }
.hero-card .price-note { font-size: .85rem; opacity: .85; }
.hero-card ul { margin-top: 22px; display: grid; gap: 11px; font-size: .95rem; position: relative; z-index: 1; }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; }
.hero-card li svg { flex: none; margin-top: 4px; color: #6ee7b7; }
.promo-tag { position: absolute; top: 22px; right: 22px; background: var(--accent); color: #fff; font-weight: 800; font-size: .85rem; padding: 8px 16px; border-radius: 999px; transform: rotate(3deg); z-index: 2; box-shadow: 0 6px 16px rgba(217,119,6,.4); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 64px; }
}

/* ---------- Stat strip ---------- */
.stats { background: var(--primary-dark); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; text-align: center; }
.stats b { display: block; font-size: 2rem; font-weight: 800; }
.stats span { font-size: .85rem; opacity: .85; }
@media (max-width: 700px) { .stats .container { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.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: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--primary-light);
  color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .doc-photo,
.card .doc-photo-ph {
  width: 132px; height: 132px; border-radius: 50%; margin-bottom: 18px;
  background: var(--primary-light); border: 4px solid var(--primary-light);
}
.card .doc-photo { object-fit: cover; object-position: center 50%; display: block; }
.card .doc-photo-ph {
  display: flex; align-items: center; justify-content: center; font-size: 3.2rem; color: var(--primary);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--primary); font-size: .9rem; }

/* ---------- Pricing ---------- */
.price-card {
  background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 36px 32px;
  position: relative; display: flex; flex-direction: column; transition: all .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.price-card .flag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 7px 18px; border-radius: 999px; white-space: nowrap;
}
.price-card .flag.accent { background: var(--accent); }
.price-card .plan-name { font-size: 1.05rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.price-card .price-old { text-decoration: line-through; color: #94a3b8; font-weight: 600; margin-top: 14px; }
.price-card .price { font-size: 2.3rem; font-weight: 800; color: var(--primary-dark); line-height: 1.1; }
.price-card .price small { font-size: 1rem; color: var(--ink-soft); font-weight: 600; }
.price-card .save { display: inline-block; background: #fef3c7; color: var(--accent-dark); font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; margin-top: 8px; }
.price-card ul { margin: 24px 0 28px; display: grid; gap: 12px; font-size: .95rem; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); }
.price-card li svg { flex: none; margin-top: 4px; color: var(--primary); }
.price-card .btn { margin-top: auto; width: 100%; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff;
  font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Symptom / checklist ---------- */
.check-list { display: grid; gap: 14px; }
.check-item {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px;
}
.check-item svg { flex: none; margin-top: 3px; color: var(--primary); }
.check-item.warn svg { color: var(--accent-dark); }
.check-item b { display: block; margin-bottom: 2px; }
.check-item span { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.testimonial .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; font-size: 1.05rem; }
.testimonial p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.testimonial .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark);
  font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.testimonial .who b { display: block; font-size: .92rem; line-height: 1.3; }
.testimonial .who span { display: block; font-size: .8rem; color: var(--ink-soft); line-height: 1.3; }

.ticker {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: flex; gap: 24px; width: max-content; padding: 4px 0; animation: ticker-scroll 160s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-track .testimonial { flex: 0 0 320px; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; overflow: hidden; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 20px 24px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 600; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Branches ---------- */
.branch-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.branch-card .area { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.branch-card h3 { font-size: 1.15rem; }
.branch-card .row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.branch-card .row svg { flex: none; margin-top: 3px; color: var(--primary); }
.branch-card .branch-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: #fff; border-radius: 26px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { opacity: .9; max-width: 560px; margin: 0 auto 30px; }
.cta-band .btn { position: relative; z-index: 1; }
@media (max-width: 640px) { .cta-band { padding: 40px 24px; } }

/* ---------- Countdown / urgency ---------- */
.urgency-bar { background: var(--accent); color: #fff; text-align: center; font-weight: 700; font-size: .9rem; padding: 10px 16px; }
.urgency-bar b { font-weight: 800; }

/* ---------- Footer ---------- */
.footer { background: #0a1f12; color: #cbd5e1; padding: 64px 0 0; font-size: .92rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer ul { display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer .contact li { display: flex; flex-direction: column; gap: 2px; }
.footer .contact .loc { color: #94a3b8; }
.footer .contact .tel { color: #cbd5e1; font-weight: 600; white-space: nowrap; }
.footer .contact .tel:hover { color: #fff; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .logo small { color: #94a3b8; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #94a3b8; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s; }
.socials a:hover { background: var(--primary); }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff;
  font-weight: 700; padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 12px 32px rgba(37, 211, 102, .45); transition: transform .2s;
}
.float-wa:hover { transform: scale(1.05); }
@media (max-width: 640px) { .float-wa span { display: none; } .float-wa { padding: 16px; } }

/* ---------- Mobile sticky CTA bar (ads LPs) ---------- */
.sticky-cta { display: none; }
@media (max-width: 768px) {
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
    background: #fff; border-top: 1px solid var(--line); padding: 12px 16px;
    box-shadow: 0 -8px 24px rgba(15,23,42,.1);
  }
  .sticky-cta .btn { padding: 13px 10px; font-size: .9rem; }
  body.has-sticky { padding-bottom: 76px; }
  .float-wa { display: none; }
}

/* ---------- Misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.tick-list { display: grid; gap: 14px; margin-top: 22px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list svg { flex: none; margin-top: 4px; color: var(--primary); }
.tick-list b { display: block; }
.tick-list span { color: var(--ink-soft); font-size: .93rem; }
.brand-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 36px; align-items: center; }
.brand-strip span { font-weight: 800; font-size: 1.1rem; color: #94a3b8; letter-spacing: .02em; }
.note { font-size: .8rem; color: #94a3b8; margin-top: 10px; }

/* ---------- Treatment gallery (Perawatan) ---------- */
.tx-subhead { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; letter-spacing: -.01em; }
.tx-subhead::before { content: ""; width: 26px; height: 4px; border-radius: 999px; background: var(--primary); flex: none; }
.tx-cat { margin-top: 52px; }

/* before / after */
.ba-grid { align-items: start; }
.ba-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba-img, .ba-single { position: relative; }
.ba-img img, .ba-single img { width: 100%; height: 230px; object-fit: cover; display: block; }
.ba-single img { height: 250px; }
.ba-pair .ba-img + .ba-img { border-left: 3px solid #fff; }
.ba-tag { position: absolute; top: 10px; left: 10px; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; color: #fff; }
.ba-tag.before { background: rgba(15, 23, 42, .8); }
.ba-tag.after { background: var(--primary); }
.ba-tag.both { background: var(--accent); }
.ba-card figcaption { padding: 15px 18px; font-weight: 700; font-size: .95rem; color: var(--ink); }

/* video gallery */
.tx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .tx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tx-grid { grid-template-columns: 1fr; } }
.tx-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tx-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tx-video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: #0a1f12; display: block; }
.tx-item figcaption { padding: 14px 18px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.tx-item figcaption span { display: block; font-weight: 600; font-size: .78rem; color: var(--ink-soft); margin-top: 3px; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Denture cost calculator banner (homepage) ---------- */
.calc-banner { display: flex; gap: 40px; align-items: center; background: linear-gradient(135deg, #fff, var(--primary-light)); border: 1px solid var(--line); border-radius: 28px; padding: 48px; box-shadow: var(--shadow); }
.calc-banner-icon { flex: none; width: 120px; height: 120px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; box-shadow: var(--shadow); }
.calc-banner-content { flex: 1; }
.calc-banner-content .kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); background: var(--primary-light); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.calc-banner-badges { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 18px 0 26px; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 700px) {
  .calc-banner { flex-direction: column; text-align: center; padding: 36px 24px; }
  .calc-banner-badges { justify-content: center; }
}

/* ---------- Denture cost calculator widget (kalkulator-gigi-palsu) ---------- */
.calc-widget { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow-lg); }
.calc-progress-track { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 14px; }
.calc-progress-bar { height: 100%; width: 33%; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); border-radius: 999px; transition: width .3s ease; }
.calc-step-label { font-size: .85rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 26px; }
.calc-step { display: none; }
.calc-step.active { display: block; animation: calcFade .25s ease; }
@keyframes calcFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.calc-options { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.calc-option { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 20px; cursor: pointer; transition: all .2s ease; font-family: inherit; }
.calc-option:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.calc-option.selected { border-color: var(--primary); background: var(--primary-light); }
.calc-option-icon { font-size: 1.8rem; }
.calc-option-name { font-weight: 800; font-size: 1rem; color: var(--ink); }
.calc-option-desc { font-size: .85rem; color: var(--ink-soft); }
.calc-option-price { font-weight: 800; color: var(--primary-dark); font-size: .9rem; margin-top: 4px; }

.calc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.calc-nav .btn { flex: none; }

.calc-qty { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 10px 0 24px; }
.calc-qty-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font-size: 1.4rem; font-weight: 800; color: var(--primary-dark); cursor: pointer; transition: all .2s ease; }
.calc-qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.calc-qty-display { text-align: center; min-width: 90px; }
.calc-qty-display span { display: block; font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.calc-qty-display small { font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.calc-qty-presets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.calc-chip { border: 1.5px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; transition: all .2s ease; font-family: inherit; }
.calc-chip:hover, .calc-chip.selected { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light); }

.calc-result { text-align: center; }
.calc-result-badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; }
.calc-result-rows { display: grid; gap: 10px; text-align: left; background: var(--bg-soft); border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 22px; }
.calc-result-row { display: flex; justify-content: space-between; gap: 12px; font-size: .93rem; color: var(--ink-soft); }
.calc-result-row b { color: var(--ink); }
.calc-result-total { font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 800; color: var(--primary-dark); margin: 6px 0 4px; }
.calc-result-note { font-size: .8rem; color: var(--ink-soft); margin-bottom: 26px; }
.calc-result .btn { width: 100%; }

@media (max-width: 640px) {
  .calc-widget { padding: 28px 22px; border-radius: 22px; }
  .calc-qty { gap: 18px; }
}

/* ---------- Lightbox (galeri foto perawatan) ---------- */
.ba-card img { cursor: zoom-in; transition: opacity .2s ease; }
.ba-card img:hover { opacity: .92; }
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(8, 15, 25, .93); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox button { background: rgba(255, 255, 255, .14); color: #fff; border: none; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; line-height: 1; transition: background .2s ease; }
.lightbox button:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lb-close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; font-size: 1.7rem; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lightbox .lb-prev { left: 18px; }
.lightbox .lb-next { right: 18px; }
.lightbox .lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; font-size: .92rem; padding: 0 80px; opacity: .9; }
@media (max-width: 640px) { .lightbox .lb-nav { width: 42px; height: 42px; font-size: 1.6rem; } .lightbox .lb-cap { padding: 0 20px; bottom: 14px; } }
