/* =========================================================
   SQUAD TEKNIK — style.css
   Mobile-first. Semua warna & font lewat variabel di :root
   (dapat diubah dari dashboard admin → Tampilan).
   ========================================================= */
:root {
  --navy: #102B46;
  --navy-2: color-mix(in srgb, var(--navy) 82%, #000);
  --blue: #1677D2;
  --accent: #16B8D4;
  --btn: #1677D2;
  --wa: #1FAF55;
  --wa-dark: #178A43;
  --ink: #0E1F33;
  --text: #33465B;
  --muted: #64778C;
  --bg: #FFFFFF;
  --bg-soft: #F2F6FA;
  --bg-soft-2: #E8EFF6;
  --line: #DCE5EE;
  --white: #FFFFFF;
  --danger: #D23B3B;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(16, 43, 70, .06), 0 2px 8px rgba(16, 43, 70, .05);
  --shadow: 0 10px 30px -12px rgba(16, 43, 70, .22);
  --shadow-lg: 0 30px 60px -20px rgba(16, 43, 70, .35);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll, body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--navy); color: var(--white); padding: .6rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { left: 8px; }
.noscript { text-align: center; padding: 1rem; background: #fff3cd; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .78rem 1.25rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .55rem .95rem; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--btn); color: var(--white); box-shadow: 0 10px 24px -10px var(--btn); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--btn); }
.btn-wa { background: var(--wa); color: var(--white); box-shadow: 0 10px 22px -12px var(--wa); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: var(--accent); }

/* ---------- Eyebrow / judul section ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.eyebrow-num { color: var(--muted); }
.eyebrow-light { color: var(--accent); }
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Preview banner ---------- */
.preview-banner { position: sticky; top: 0; z-index: 120; display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: center; padding: .55rem 1rem; background: #FFF4D6; color: #6B4E00; font-size: .85rem; text-align: center; border-bottom: 1px solid #F1D98A; }
.preview-banner a { font-weight: 700; color: #6B4E00; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.preview-banner:not([hidden]) ~ .site-header { top: 38px; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none !important; min-width: 0; }
.brand-logo { display: inline-flex; align-items: center; gap: .65rem; min-width: 0; }
.brand-mark { width: 42px; height: 42px; color: var(--navy); flex: none; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: var(--navy); letter-spacing: .02em; white-space: nowrap; }
.brand-text small { font-size: .7rem; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.brand-text.on-dark strong { color: var(--white); }
.brand-text.on-dark small { color: rgba(255, 255, 255, .65); }

.nav-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 12px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; flex: none; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: 1.25rem 1.25rem 2rem; display: flex; flex-direction: column; gap: 1.25rem; transform: translateX(100%); visibility: hidden; transition: transform .3s var(--ease), visibility .3s; overflow-y: auto; }
.site-nav.is-open { transform: none; visibility: visible; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav li a { display: block; padding: .95rem .25rem; font-weight: 700; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
.site-nav li a.is-active { color: var(--blue); }
.nav-cta { align-self: stretch; }

@media (min-width: 961px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; transform: none; visibility: visible; flex-direction: row; align-items: center; padding: 0; gap: 1.25rem; background: transparent; overflow: visible; }
  .site-nav ul { flex-direction: row; gap: .2rem; }
  .site-nav li a { border: 0; padding: .5rem .7rem; font-size: .92rem; font-weight: 600; color: var(--text); border-radius: 8px; position: relative; }
  .site-nav li a:hover { color: var(--navy); background: var(--bg-soft); }
  .site-nav li a.is-active { color: var(--navy); }
  .site-nav li a.is-active::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px; }
  .nav-cta { align-self: auto; padding: .65rem 1.05rem; font-size: .88rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--blue) 45%, transparent) 0%, transparent 55%), radial-gradient(80% 60% at 0% 100%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 60%), var(--navy); color: rgba(255, 255, 255, .82); padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 70%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .35) 70%, transparent 100%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 7.2vw, 3.9rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.1rem; }
.hero-subtitle { font-size: clamp(1rem, 2.4vw, 1.15rem); max-width: 560px; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.hero-highlights li { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.hl-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); flex: none; }
.hero-highlights strong { display: block; color: var(--white); font-size: .95rem; }
.hero-highlights small { color: rgba(255, 255, 255, .62); font-size: .8rem; }
.hero-media { position: relative; }
.hero-photo { border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 72px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); aspect-ratio: 4 / 3.3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.temp-card { position: absolute; left: -.25rem; bottom: -1.4rem; display: flex; align-items: center; gap: .75rem; background: var(--white); color: var(--ink); padding: .8rem 1.1rem .8rem .8rem; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.temp-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--accent); display: grid; place-items: center; }
.temp-icon .icon { animation: spin 14s linear infinite; }
.temp-value { font-family: var(--font-head); font-size: 1.75rem; font-weight: 800; color: var(--navy); line-height: 1; }
.temp-value sup { font-size: .5em; color: var(--blue); }
.temp-text { display: flex; flex-direction: column; line-height: 1.25; border-left: 1px solid var(--line); padding-left: .75rem; }
.temp-text strong { font-size: .88rem; }
.temp-text small { font-size: .74rem; color: var(--muted); }
.hero-corner { position: absolute; top: 1rem; right: 1rem; background: rgba(16, 43, 70, .78); backdrop-filter: blur(6px); color: var(--white); border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; padding: .4rem .7rem; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; display: flex; gap: .4rem; }
.hero-corner strong { color: var(--accent); }

@media (min-width: 640px) { .hero-highlights { grid-template-columns: repeat(3, 1fr); } .hero-highlights li { flex-direction: column; align-items: flex-start; } }
@media (min-width: 961px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
  .temp-card { left: -2.2rem; }
}

/* ---------- Keunggulan ---------- */
.advantages { background: var(--bg); }
.adv-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.adv-card { position: relative; padding: 1.6rem 1.5rem; border-radius: var(--r); background: var(--bg-soft); border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background-color .25s; overflow: hidden; }
.adv-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; border: 14px solid color-mix(in srgb, var(--accent) 12%, transparent); }
.adv-card:hover { background: var(--white); border-color: var(--line); transform: translateY(-4px); box-shadow: var(--shadow); }
.adv-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.1rem; }
.adv-icon .icon { width: 24px; height: 24px; }
.adv-card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 961px) { .adv-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* ---------- Tentang ---------- */
.about { background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%); }
.about-inner { display: grid; gap: 2.5rem; align-items: center; }
.about-media { position: relative; padding-bottom: 2.5rem; }
.about-media img { border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 1 / .95; object-fit: cover; width: 100%; }
.about-media::before { content: ""; position: absolute; left: -14px; top: -14px; width: 120px; height: 120px; border-radius: var(--r); background-image: radial-gradient(var(--accent) 1.6px, transparent 1.6px); background-size: 14px 14px; opacity: .55; z-index: -1; }
.about-commit { position: absolute; right: 1rem; left: 1rem; bottom: 0; background: var(--navy); color: rgba(255, 255, 255, .88); border-radius: var(--r); padding: 1.1rem 1.2rem; display: flex; gap: .9rem; align-items: flex-start; box-shadow: var(--shadow-lg); }
.about-commit p { margin: 0; font-size: .92rem; }
.about-commit-icon { color: var(--accent); margin-top: 2px; }
.about-commit-icon .icon { width: 26px; height: 26px; }
.lead { font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.vm-grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
.vm-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.3rem 1.1rem; }
.vm-card h3 { font-size: .8rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .16em; color: var(--blue); }
.vm-card p { margin: 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.check-list .icon { color: var(--wa); margin-top: .2rem; width: 1.05em; height: 1.05em; }
@media (min-width: 961px) { .about-inner { grid-template-columns: .95fr 1.05fr; gap: 4rem; } .about-commit { left: auto; right: -1.5rem; max-width: 340px; } }

/* ---------- Layanan ---------- */
.services { background: var(--bg); }
.svc-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.svc-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); }
.svc-media { position: relative; aspect-ratio: 3 / 2; background: var(--bg-soft-2); overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); }
.svc-noimg .icon { width: 48px; height: 48px; }
.svc-num { position: absolute; left: .9rem; top: .9rem; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .1em; background: rgba(16, 43, 70, .85); color: var(--white); padding: .3rem .55rem; border-radius: 8px; }
.svc-body { padding: 1.3rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.svc-body > p { color: var(--muted); font-size: .94rem; flex: 1; }
.svc-price { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: .75rem .9rem; border-radius: 12px; background: var(--bg-soft); margin-bottom: 1rem; border-left: 3px solid var(--accent); }
.svc-price small { font-size: .74rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.svc-price strong { font-family: var(--font-head); color: var(--navy); font-size: 1.08rem; }
.svc-price.is-contact strong { color: var(--blue); font-size: .98rem; }
.svc-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ---------- Galeri ---------- */
.gallery { background: var(--bg-soft); }
.gal-filters { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.chip { flex: none; padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--text); font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gal-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gal-item { margin: 0; background: var(--white); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); animation: fadeUp .45s var(--ease) both; }
.gal-btn { display: block; position: relative; width: 100%; padding: 0; border: 0; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft-2); }
.gal-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16, 43, 70, .45); color: var(--white); opacity: 0; transition: opacity .25s; }
.gal-zoom .icon { width: 34px; height: 34px; }
.gal-btn:hover img, .gal-btn:focus-visible img { transform: scale(1.06); }
.gal-btn:hover .gal-zoom, .gal-btn:focus-visible .gal-zoom { opacity: 1; }
.gal-item figcaption { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .15rem; }
.gal-cat { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.gal-item strong { color: var(--ink); font-size: .95rem; line-height: 1.35; }
.gal-item small { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.empty-state { text-align: center; color: var(--muted); padding: 2rem 1rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 18, 32, .94); display: flex; align-items: center; justify-content: center; padding: 4rem 1rem 1rem; animation: fadeIn .2s ease; }
.lb-figure { margin: 0; max-width: min(1100px, 100%); display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-height: 72vh; width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb-figure figcaption { color: rgba(255, 255, 255, .85); text-align: center; margin-top: 1rem; display: flex; flex-direction: column; gap: .2rem; max-width: 640px; }
.lb-figure strong { color: var(--white); font-family: var(--font-head); }
.lb-figure small { font-family: var(--font-mono); color: var(--accent); font-size: .75rem; letter-spacing: .08em; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lightbox { padding-bottom: 5rem; } }

/* ---------- Testimoni ---------- */
.testimonials { background: var(--bg); }
.tst-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.tst-card { position: relative; margin: 0; padding: 1.6rem; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tst-card.is-demo { border-style: dashed; background: repeating-linear-gradient(135deg, var(--white) 0 14px, var(--bg-soft) 14px 15px); }
.tst-card p { color: var(--ink); font-size: 1rem; flex: 1; margin: .9rem 0 1.2rem; }
.tst-card footer { display: flex; align-items: center; gap: .8rem; }
.tst-card footer img, .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar { display: grid; place-items: center; background: var(--navy); color: var(--accent); font-weight: 800; font-family: var(--font-head); font-size: .9rem; }
.tst-card cite { font-style: normal; font-weight: 700; color: var(--ink); display: block; }
.tst-card footer small { color: var(--muted); font-size: .8rem; }
.stars { display: flex; gap: 2px; }
.stars span { color: #F5B301; display: inline-flex; }
.stars span.off { color: var(--line); }
.stars .icon { width: 18px; height: 18px; }
.badge-demo { display: inline-block; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .14em; padding: .2rem .5rem; border-radius: 6px; background: #FFF1C2; color: #7A5500; border: 1px solid #F0D27A; vertical-align: middle; }
.tst-card .badge-demo { position: absolute; top: 1rem; right: 1rem; }
.demo-note { text-align: center; color: var(--muted); font-size: .86rem; margin-top: 1.5rem; }
@media (min-width: 761px) { .tst-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tst-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg); padding: 0 0 clamp(3rem, 7vw, 5rem); }
.cta-inner { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, color-mix(in srgb, var(--navy) 60%, var(--blue)) 100%); border-radius: var(--r-lg); padding: clamp(1.8rem, 5vw, 3rem); display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.cta-inner::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 36px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.cta-inner h2 { color: var(--white); font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: .4rem; }
.cta-inner p { margin: 0; }
.cta-inner > * { position: relative; z-index: 1; }
@media (min-width: 761px) { .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Kontak ---------- */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; gap: 1.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-list { list-style: none; margin: 0; padding: 1.4rem; display: grid; gap: 1.1rem; background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list li > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.info-list small { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-list a, .info-list span span { color: var(--ink); font-weight: 600; word-break: break-word; }
.hours-line { display: block; }
.info-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--blue); flex: none; }
.info-icon.is-wa { background: color-mix(in srgb, var(--wa) 14%, transparent); color: var(--wa); }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.map-wrap iframe { display: block; width: 100%; height: 260px; border: 0; }
.map-link { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; font-weight: 700; font-size: .9rem; }
.consult-form { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow-sm); }
.consult-form h3 { font-size: 1.3rem; }
.form-note { color: var(--muted); font-size: .88rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem .95rem; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--white); border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 15%, transparent); }
.field [aria-invalid="true"] { border-color: var(--danger); background: #FFF6F6; }
.field-error { color: var(--danger); font-size: .82rem; margin: .3rem 0 0; min-height: 0; }
.field-error:empty { display: none; }
@media (min-width: 961px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-2); color: rgba(255, 255, 255, .7); padding-top: clamp(3rem, 7vw, 4.5rem); }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo .brand-mark { color: var(--blue); }
.footer-logo .brand-img { height: 48px; background: var(--white); padding: 4px 8px; border-radius: 10px; }
.footer-logo { display: flex; align-items: center; gap: .65rem; }
.footer-brand p { max-width: 380px; font-size: .94rem; }
.footer-title { color: var(--white); font-size: .78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-links a, .footer-contact a { color: rgba(255, 255, 255, .78); }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.footer-contact .icon { color: var(--accent); margin-top: .2rem; width: 1.05em; height: 1.05em; }
.social { display: flex; gap: .55rem; flex-wrap: wrap; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: var(--white); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--accent); color: var(--navy); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.2rem 0 5.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 761px) { .footer-grid { grid-template-columns: 1.4fr .8fr 1.1fr; } .footer-bottom { padding-bottom: 1.2rem; } }

/* ---------- WhatsApp melayang ---------- */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: inline-flex; align-items: center; gap: .5rem; background: var(--wa); color: var(--white); padding: .8rem; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(31, 175, 85, .7); text-decoration: none !important; transition: transform .2s var(--ease), background .2s; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31, 175, 85, .55); animation: pulse 2.4s infinite; }
.wa-float:hover { transform: translateY(-3px); background: var(--wa-dark); }
.wa-float-icon .icon { width: 28px; height: 28px; }
.wa-float-label { display: none; font-weight: 700; font-size: .92rem; padding-right: .35rem; }
@media (min-width: 761px) { .wa-float { right: 1.5rem; bottom: 1.5rem; padding: .8rem 1.1rem .8rem .9rem; } .wa-float-label { display: inline; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 250; display: flex; align-items: flex-end; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 18, 32, .6); animation: fadeIn .2s ease; }
.modal-panel { position: relative; background: var(--white); width: 100%; max-width: 620px; max-height: 92vh; overflow-y: auto; border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-lg); animation: slideUp .3s var(--ease); }
.modal-sm { max-width: 480px; }
.modal-close { position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); }
.sm-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sm-body { padding: 1.5rem; }
.sm-body h3 { font-size: 1.4rem; padding-right: 2.5rem; }
.sm-price { display: inline-block; font-weight: 800; color: var(--navy); background: var(--bg-soft); border-left: 3px solid var(--accent); padding: .4rem .75rem; border-radius: 8px; }
.sm-details { color: var(--muted); }
.wa-preview { white-space: pre-wrap; word-break: break-word; font-family: var(--font-mono); font-size: .82rem; line-height: 1.55; background: #E7F8EC; border: 1px solid #BFE8CB; color: #12361F; padding: 1rem; border-radius: 12px; margin: 0 0 1rem; max-height: 300px; overflow: auto; }
@media (min-width: 641px) { .modal { align-items: center; padding: 1.5rem; } .modal-panel { border-radius: var(--r-lg); } }

/* ---------- Animasi ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-delay { --d: 120ms; }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; animation: fadeUp .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 175, 85, .5); } 70% { box-shadow: 0 0 0 16px rgba(31, 175, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 175, 85, 0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
