/* ==========================================================================
   KMS Systems — site styles
   Theme: "Midnight" (all dark) with blue accent.
   To change the accent colour site-wide, edit --acc and --acc2 below.
   ========================================================================== */

:root {
  --acc: #60a5fa;          /* accent (light)  */
  --acc2: #2563eb;         /* accent (strong) */
  --bg: #0a1424;           /* page background */
  --bg2: #0f1d33;          /* cards / alt sections */
  --bg3: #122440;          /* hero gradient end */
  --deep: #060d19;         /* top bar / footer */
  --ink: #eef2f8;          /* main text */
  --mute: #a3b1c6;         /* secondary text */
  --line: #1f3352;         /* borders */
  --wa: #25d366;           /* WhatsApp green */
  --radius: 18px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-logo: "Oswald", "Arial Narrow", sans-serif;

  /* Bootstrap overrides */
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--ink);
  --bs-body-font-family: var(--font);
  --bs-border-color: var(--line);
  --bs-link-color: var(--acc);
  --bs-link-hover-color: #93c5fd;
  --bs-link-color-rgb: 96, 165, 250;
  --bs-link-hover-color-rgb: 147, 197, 253;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
p { color: var(--mute); line-height: 1.7; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.3px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--acc2); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 12px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo svg { width: 42px; height: 46px; flex: none; }
.logo svg .node { stroke: var(--acc); }
.logo .wm { font-family: var(--font-logo); font-weight: 600; font-size: 22px; letter-spacing: .5px; line-height: 1; color: var(--ink); }
.logo .wm small { display: block; font-family: var(--font); font-weight: 700; font-size: 10px; letter-spacing: .4px; color: var(--acc); margin-top: 4px; }

/* ---------- Top bar + navbar ---------- */
.topbar { background: var(--deep); font-size: 13.5px; color: #c4d0e2; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #c4d0e2; }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--acc); margin-right: 6px; }

.site-header { background: rgba(10, 20, 36, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .navbar { padding: 14px 0; }
.site-header .nav-link { color: var(--ink); opacity: .82; font-weight: 500; font-size: 15px; padding: 8px 14px !important; }
.site-header .nav-link:hover { opacity: 1; color: #fff; }
.site-header .nav-link.active { color: var(--acc); opacity: 1; font-weight: 700; }
.navbar-toggler { border: 1px solid var(--line); padding: 8px 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px var(--acc); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(238,242,248,.9)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: 14px 0 6px; }
  .site-header .nav-link { padding: 12px 4px !important; border-bottom: 1px solid var(--line); }
  .site-header .btn-cta { width: 100%; justify-content: center; margin-top: 14px; }
}

/* ---------- Buttons ---------- */
.btn-k { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; line-height: 1.2; }
.btn-k:hover { transform: translateY(-2px); }
.btn-k svg, .btn-k i { font-size: 18px; width: 18px; height: 18px; flex: none; }
.btn-cta { background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff !important; box-shadow: 0 10px 30px -12px rgba(37, 99, 235, .85); }
.btn-cta:hover { box-shadow: 0 14px 36px -10px rgba(37, 99, 235, 1); }
.btn-cta .arr { transition: transform .15s; }
.btn-cta:hover .arr { transform: translateX(3px); }
.btn-ghost { background: rgba(255,255,255,.05); color: var(--ink) !important; border-color: rgba(255,255,255,.2); }
.btn-ghost:hover { border-color: var(--acc); background: rgba(96,165,250,.08); }
.btn-wa { background: rgba(255,255,255,.05); color: var(--ink) !important; border-color: rgba(255,255,255,.2); }
.btn-wa:hover { border-color: var(--wa); background: rgba(37,211,102,.1); }
.btn-wa .wa-ico { fill: var(--wa); }
.nav-cta { padding: 11px 20px; font-size: 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 575.98px) { .btn-row .btn-k { width: 100%; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--bg) 0%, var(--bg3) 100%); padding: 84px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 340px at 85% 12%, rgba(96,165,250,.20), transparent), radial-gradient(520px 320px at 5% 95%, rgba(37,99,235,.18), transparent); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(#000, transparent 85%); mask-image: linear-gradient(#000, transparent 85%); }
.hero > .container { position: relative; z-index: 1; }
.hero .hero-text { padding-bottom: 84px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 18px 0 20px; letter-spacing: -.8px; }
.hero .lead { font-size: 1.1rem; color: var(--mute); max-width: 560px; margin-bottom: 30px; }
.grad { background: linear-gradient(90deg, var(--acc), #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pill { display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgba(96,165,250,.45); background: rgba(96,165,250,.08); padding: 6px 14px; border-radius: 999px; font-size: 13px; color: var(--acc); font-weight: 600; }
.stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.stats b { display: block; font-size: 22px; color: var(--ink); }
.stats span { font-size: 13px; color: var(--mute); }
.hero-shot { align-self: flex-end; }
@media (max-width: 991.98px) { .hero { padding-top: 56px; } .hero .hero-text { padding-bottom: 44px; } .stats { gap: 22px; } .stats b { font-size: 19px; } }

/* Page hero (inner pages) */
.page-hero { padding: 72px 0 64px; }
.page-hero .hero-text { padding-bottom: 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs { font-size: 13px; color: var(--mute); margin-bottom: 10px; }
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--acc); }

/* ---------- Browser frame for screenshots ---------- */
.browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px -25px rgba(37,99,235,.55); }
.browser .bar { height: 28px; background: #1b2d4a; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #2f4569; }
.browser img { display: block; width: 100%; }
.hero-shot .browser { border-radius: 12px 12px 0 0; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--acc); font-weight: 700; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }
.section h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.15; margin: 10px 0 14px; }
.section-head { max-width: 700px; margin: 0 auto 48px; text-align: center; }
.sub { font-size: 1.05rem; }
@media (max-width: 767.98px) { .section { padding: 64px 0; } }

/* Feature tiles */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.feat > div { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 16px; font-size: 14px; color: var(--mute); line-height: 1.55; }
.feat i { font-size: 22px; color: var(--acc); display: block; margin-bottom: 6px; }
.feat b { display: block; color: var(--ink); margin-bottom: 2px; }
@media (max-width: 575.98px) { .feat { grid-template-columns: 1fr; } }

/* Cards */
.k-card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; position: relative; transition: border-color .2s, transform .2s; }
.section-alt .k-card { background: var(--bg); }
a.k-card:hover, .k-card.hover:hover { border-color: rgba(96,165,250,.55); transform: translateY(-3px); }
.k-card h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.k-card p { font-size: 14.5px; margin: 0; }
.k-card ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: 14px; color: var(--mute); }
.k-card li { padding: 7px 0; border-top: 1px dashed var(--line); display: flex; gap: 10px; }
.k-card li i { color: var(--acc); }
.k-card.star { border: 2px solid var(--acc2); box-shadow: 0 20px 60px -30px rgba(37,99,235,.9); }
.k-card .badge-k { position: absolute; top: -12px; left: 24px; background: var(--acc2); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.k-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 700; font-size: 14px; color: var(--acc); }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(96,165,250,.12); color: var(--acc); }

/* Steps */
.steps { counter-reset: s; }
.step { position: relative; padding-left: 64px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--acc), var(--acc2)); color: #fff; }
.step h3 { font-size: 1.1rem; margin: 0 0 6px; }
.step p { font-size: 14.5px; margin: 0; }

/* Client feature */
.client-feature { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; background: var(--deep); border: 1px solid var(--line); }
.client-feature .txt { padding: 46px; }
.client-feature .photo { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.client-feature .cl { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.client-feature .cl img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.client-feature .cl b { color: var(--ink); font-size: 1.1rem; }
.client-feature blockquote { font-size: 1.2rem; line-height: 1.6; margin: 18px 0; border-left: 3px solid var(--acc); padding-left: 18px; color: var(--ink); }
.client-feature .who { font-size: 14px; color: var(--mute); }
.sample-tag { display: inline-block; margin-top: 12px; font-size: 11px; color: var(--mute); border: 1px dashed var(--line); padding: 2px 8px; border-radius: 5px; }
@media (max-width: 767.98px) { .client-feature { grid-template-columns: 1fr; } .client-feature .txt { padding: 28px; } .client-feature .photo { min-height: 220px; } }

.photo-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.photo-grid img:first-child { grid-row: span 2; }
@media (max-width: 575.98px) { .photo-grid { grid-template-columns: 1fr; grid-template-rows: none; } .photo-grid img:first-child { grid-row: auto; } }

/* Gallery */
.gallery-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.gallery-tabs button { background: var(--bg2); color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; }
.gallery-tabs button.on { background: var(--acc2); border-color: var(--acc2); color: #fff; }
.gallery-cap { text-align: center; margin-top: 18px; }

/* FAQ */
.faq details { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--acc); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; margin: 0; }

/* Contact cards */
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .ico { flex: none; }
.contact-card h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.contact-card p, .contact-card a { margin: 0; font-size: 15px; }
.contact-card a { color: var(--ink); font-weight: 600; }
.contact-card a:hover { color: var(--acc); }
.quick-msg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 767.98px) { .quick-msg { grid-template-columns: 1fr; } }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--bg2); }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.8); }

/* Facebook follow section */
.fb-follow { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 40px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(500px 220px at 0% 0%, rgba(24,119,242,.22), transparent), linear-gradient(135deg, var(--bg2), var(--bg3)); }
.fb-brand { display: flex; gap: 22px; align-items: center; max-width: 640px; }
.fb-badge { flex: none; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 36px; color: #fff; background: #1877f2; box-shadow: 0 14px 40px -12px rgba(24,119,242,.9); }
.fb-follow h2 { margin: 6px 0 8px; }
.fb-follow p { margin: 0; }
@media (max-width: 575.98px) { .fb-follow { padding: 26px; } .fb-brand { flex-direction: column; align-items: flex-start; gap: 16px; } .fb-badge { width: 60px; height: 60px; font-size: 30px; } }
.post-card { display: block; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg2); border: 1px solid var(--line); color: var(--ink); transition: transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-3px); border-color: rgba(96,165,250,.55); }
.post-card img { width: 100%; aspect-ratio: 1.3; object-fit: cover; display: block; }
.post-card .pc-body { padding: 18px; }
.post-card .pc-meta { font-size: 12.5px; color: var(--acc); font-weight: 700; }
.post-card p { margin: 8px 0 0; font-size: 14.5px; }

/* Prose (privacy etc.) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 36px; }
.prose ul { color: var(--mute); line-height: 1.8; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f2a5c, var(--acc2)); padding: 64px 0; }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; }
.cta-band .container { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #dbe6fb; margin: 0; }
.cta-band .btn-wa { background: rgba(0,0,0,.18); }

/* Footer */
.site-footer { background: var(--deep); color: var(--mute); font-size: 14.5px; padding: 60px 0 28px; }
.site-footer h4 { font-size: 15px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2.1; }
.site-footer a { color: var(--mute); }
.site-footer a:hover { color: var(--acc); }
.site-footer .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); margin-right: 6px; font-size: 18px; color: var(--ink); }
.site-footer .copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); z-index: 1030; transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } .btn-k:hover, a.k-card:hover { transform: none; } }
