:root {
  --ink: #0b1220;
  --paper: #f4f6f5;
  --surface: #ffffff;
  --primary: #0f4c5c;
  --primary-deep: #082e37;
  --primary-soft: #e7eef0;
  --accent: #e8641c;
  --accent-soft: #fdece1;
  --line: #dce2e0;
  --muted: #5b6a6c;
  --good: #1e7d46;
  --good-soft: #e5f2e9;
  --radius: 6px;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

h2 { font-size: 32px; }
h3 { font-size: 20px; font-weight: 700; }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

.mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}

.section {
  padding: 88px 0;
}
.section.alt { background: var(--surface); }
.section.dark {
  background: var(--primary-deep);
  color: #eef4f3;
}
.section.dark h2, .section.dark h3 { color: #ffffff; }
.section.dark .eyebrow { color: #f2a878; }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head p.lede {
  color: var(--muted);
  font-size: 17px;
  margin-top: 14px;
}
.section.dark .section-head p.lede { color: #b9cbc9; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Header ---- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,246,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; }
.brand span {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 18px;
}
nav.main-nav { display: flex; gap: 32px; }
nav.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}
nav.main-nav a:hover { color: var(--primary); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14.5px;
  font-family: inherit;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-decoration: none;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #cf551a; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.mobile-toggle { display: none; }

.nav-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  margin: 0;
  background-color: transparent;
  background-image: none;
  border: none;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle:focus { outline: none; }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 220ms ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Hero ---- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(8,46,55,0.92) 0%, rgba(8,46,55,0.82) 38%, rgba(8,46,55,0.5) 68%, rgba(8,46,55,0.3) 100%),
    url('../img/hero-bg.jpg') center 38% / cover no-repeat;
  color: #fff;
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: block;
}
.hero-grid > div:first-child {
  max-width: 640px;
}
.hero h1 {
  color: #fff;
  font-size: 48px;
  max-width: 20ch;
}
.hero .sub {
  color: #d8e8e6;
  font-size: 18px;
  max-width: 46ch;
  margin: 20px 0 32px;
}
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}
.hero-cta { display: flex; gap: 14px; }
/* ---- Trust bar ---- */
.trustbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
}
.trust-item {
  text-align: center;
  border-left: 1px solid var(--line);
  padding: 0 12px;
}
.trust-item:first-child { border-left: none; }
.trust-item .num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 22px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.trust-item .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---- Product cards ---- */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.product-card .swatch {
  height: 8px;
}
.swatch.pink { background: #c23a7a; }
.swatch.green { background: #2f8f4e; }
.product-card .body { padding: 28px; }
.product-card h3 { font-size: 24px; margin-bottom: 6px; }
.product-card .tagline { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.spec-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 24px;
}
.spec-mini div { border-top: 1px solid var(--line); padding-top: 10px; }
.spec-mini .k { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-mini .v { font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 15px; margin-top: 3px; }
.card-actions { display: flex; gap: 12px; }
.link-arrow {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--surface);
  padding: 32px 28px;
}
.feature .num {
  font-family: 'IBM Plex Mono', monospace;
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
}
.feature h4 {
  font-family: 'Archivo', sans-serif;
  font-size: 17px;
  margin: 10px 0 8px;
}
.feature p { color: var(--muted); font-size: 14.5px; }

/* ---- Sector cards (target market) ---- */
.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sector-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.sector-card img { width: 100%; height: 100%; object-fit: cover; }
.sector-card .tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 19px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.sector-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0) 40%, rgba(11,18,32,0.75) 100%);
}

/* ---- Spec table ---- */
table.spec {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 14.5px;
}
table.spec th {
  text-align: left;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 16px;
  border-bottom: 2px solid var(--primary);
  background: var(--primary-soft);
}
table.spec td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
table.spec tr:last-child td { border-bottom: none; }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.pack-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.pack-card .thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pack-card .thumb img { max-height: 100%; width: auto; height: auto; margin: 0 auto; }
.pack-card .size {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 17px;
  color: var(--primary);
}
.pack-card .desc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.pack-card .price { font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 12px; }
.pack-card .price-note { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

/* ---- FAQ ---- */
.faq-list { max-width: none; width: 100%; }
details.faq {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 400;
}
details.faq[open] summary::after { content: "\2212"; }
details.faq p { color: var(--muted); margin-top: 12px; font-size: 15px; max-width: none; width: 100%; }

/* ---- CTA / contact ---- */
.cta-panel {
  background: var(--accent);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.cta-panel h2 { color: #fff; font-size: 28px; }
.cta-panel p { color: #ffe4d3; margin-top: 12px; }
.cta-panel .btn-outline { border-color: #fff; color: #fff; }
.cta-panel .btn-outline:hover { background: #fff; color: var(--accent); }
.contact-grid {
  display: grid;
  gap: 14px;
}
.contact-line {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  background: rgba(255,255,255,0.15);
  padding: 12px 16px;
  border-radius: var(--radius);
  color: #fff;
}

/* ---- Footer ---- */
/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card-thumb {
  width: 350px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 350 / 172;
  object-fit: cover;
  display: block;
  margin: 16px auto 0;
  border-radius: var(--radius);
}
.blog-card .tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 20px 20px 0;
}
.blog-card h3 { padding: 8px 20px 0; font-size: 18px; line-height: 1.35; }
.blog-card p { padding: 10px 20px 0; color: var(--muted); font-size: 14px; flex: 1; }
.blog-card .card-date {
  padding: 12px 20px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.blog-card .read-more {
  padding: 10px 20px 20px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary);
}
.blog-card:hover .read-more { color: var(--accent); }
.blog-card-link { display: block; height: 100%; }

.blog-featured {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
}
.blog-featured .tag { color: var(--accent); font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:600; letter-spacing:0.05em; text-transform:uppercase; }
.blog-featured h2 { margin: 10px 0 12px; font-size: 26px; }
.blog-featured p { color: var(--muted); font-size: 15.5px; max-width: 70ch; }
.blog-featured .card-date { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Blog/article sidebar (shared: blog.html + all blog-*.html article pages) */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.blog-main .blog-grid { grid-template-columns: repeat(2, 1fr); }
.article-main { min-width: 0; }
.no-results { display: none; padding: 40px 20px; text-align: center; color: var(--muted); }

.blog-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 96px; }
.sidebar-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.sidebar-widget h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 16px; font-family: 'IBM Plex Mono', monospace; }

.sidebar-search { display: flex; gap: 8px; }
.sidebar-search input {
  flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; background: var(--paper); color: var(--ink);
}
.sidebar-search input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.sidebar-search button {
  padding: 0 14px; border: none; border-radius: 4px; background: var(--accent); color: #fff;
  font-weight: 700; cursor: pointer; -webkit-appearance: none; appearance: none;
}

.category-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.category-list button, .category-list a {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 9px 10px; border: none; background: none; text-align: left; font-family: 'IBM Plex Sans', sans-serif;
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; border-radius: 4px;
  -webkit-appearance: none; appearance: none; text-decoration: none;
}
.category-list button:hover, .category-list a:hover { background: var(--paper); }
.category-list button.active { background: var(--primary-soft); color: var(--primary); }
.category-list .count {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted);
  background: var(--paper); border-radius: 20px; padding: 2px 9px; flex-shrink: 0;
}
.category-list button.active .count { background: var(--accent); color: #fff; }

.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 20px;
  background: var(--paper); color: var(--ink); font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.tag-cloud a:hover { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-soft); }
.tag-cloud a .tag-count { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); }
.tag-cloud a:hover .tag-count { color: var(--primary); }

.recent-posts-list, .sidebar-product-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.recent-posts-list a { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.recent-posts-list a:hover { color: var(--primary); }
.recent-posts-list .rp-date { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.sidebar-product-list a { font-size: 14.5px; font-weight: 700; color: var(--primary); }
.sidebar-product-list a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}
@media (max-width: 600px) {
  .blog-main .blog-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
}

/* Article page */
.article-header { padding: 56px 0 40px; }
.article-meta { font-family:'IBM Plex Mono',monospace; font-size:12px; color:#b9cbc9; margin-bottom:16px; }
.article-meta a { color:#b9cbc9; }
.article-meta a:hover { color:#fff; }
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.article-content-img {
  width: 839px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 839 / 440;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 28px;
  display: block;
}
.article-body .lede-answer {
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
  padding: 18px 22px;
  border-radius: 4px;
  margin-bottom: 32px;
}
.article-body h2 { font-size: 24px; margin: 40px 0 14px; }
.article-body h3 { font-size: 19px; margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { font-weight: 700; }
.article-cta {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 40px 0;
  text-align: center;
}
.article-cta p { margin-bottom: 16px; font-weight: 600; }
.related-posts {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.related-posts h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 16px; font-family:'IBM Plex Mono',monospace; }
.related-posts ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.related-posts a { font-weight: 600; color: var(--primary); }
.related-posts a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 16px; }
}

footer.site {
  background: var(--ink);
  color: #9aa8a6;
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.9fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #202b2c;
}
footer.site h4 {
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
footer.site a { color: #9aa8a6; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.social-icons { display:flex; gap:10px; margin-top:18px; }
.social-icons a {
  width:36px; height:36px; border-radius:50%;
  border:1px solid #2b343a;
  display:flex; align-items:center; justify-content:center;
  color:#9aa8a6;
  transition: background .15s, border-color .15s, color .15s;
}
.social-icons a:hover { background:var(--accent); border-color:var(--accent); color:#fff; }
.social-icons svg { width:16px; height:16px; fill:currentColor; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(8,46,55,0.1);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 280ms ease, visibility 280ms;
  }
  nav.main-nav.is-open { max-height: 620px; visibility: visible; }
  nav.main-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }
  nav.main-nav a.nav-mobile-cta {
    display: block;
    color: var(--accent);
    font-weight: 800;
  }
  .hero h1 { font-size: 34px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .trust-item:nth-child(3) { border-left: none; }
  .product-grid, .sector-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; padding: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (min-width: 861px) {
  nav.main-nav a.nav-mobile-cta { display: none; }
}

/* ---- Preloader ---- */
body.preloader-active { overflow: hidden; }
.ctn-preloader {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: fixed;
  left: 0; top: 0; width: 100%;
  z-index: 99999;
}
.ctn-preloader .animation-preloader {
  position: absolute;
  z-index: 100;
  text-align: center;
}
.ctn-preloader .animation-preloader .spinner {
  animation: preloaderSpin 1s infinite linear;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: rgba(255,255,255,0.85);
  height: 6em;
  width: 6em;
  margin: 0 auto 2em auto;
}
.ctn-preloader .animation-preloader .txt-loading {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.6em;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-align: center;
  user-select: none;
}
.ctn-preloader .animation-preloader .txt-loading .letters-loading {
  position: relative;
  color: rgba(255,255,255,0.14);
}
.ctn-preloader .animation-preloader .txt-loading .letters-loading:before {
  animation: preloaderLetters 3s infinite;
  color: rgba(255,255,255,0.92);
  content: attr(data-text-preloader);
  left: 0; top: 0;
  opacity: 0;
  position: absolute;
  transform: rotateY(-90deg);
}
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before { animation-delay: 0.15s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before { animation-delay: 0.3s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before { animation-delay: 0.45s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before { animation-delay: 0.6s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(6):before { animation-delay: 0.75s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(7):before { animation-delay: 0.9s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(8):before { animation-delay: 1.05s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(9):before { animation-delay: 1.2s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(10):before { animation-delay: 1.35s; }
.ctn-preloader .animation-preloader .txt-loading .letters-loading:nth-child(11):before { animation-delay: 1.5s; }

.ctn-preloader .loader-section {
  height: 100%;
  position: fixed;
  top: 0;
  width: calc(50% + 1px);
}
.ctn-preloader .loader-section.section-left {
  left: 0;
  background: linear-gradient(100deg, #082e37 0%, #0f4c5c 70%);
}
.ctn-preloader .loader-section.section-right {
  right: 0;
  background: linear-gradient(100deg, #0f4c5c 30%, #082e37 100%);
}

.ctn-preloader.loaded .animation-preloader {
  opacity: 0;
  transition: 0.3s ease-out;
}
.ctn-preloader.loaded .loader-section.section-left {
  transform: translateX(-101%);
  transition: 0.7s 0.3s all cubic-bezier(0.1,0.1,0.1,1);
}
.ctn-preloader.loaded .loader-section.section-right {
  transform: translateX(101%);
  transition: 0.7s 0.3s all cubic-bezier(0.1,0.1,0.1,1);
}

@keyframes preloaderSpin { to { transform: rotateZ(360deg); } }
@keyframes preloaderLetters {
  0%, 75%, 100% { opacity: 0; transform: rotateY(-90deg); }
  25%, 50% { opacity: 1; transform: rotateY(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ctn-preloader .animation-preloader .spinner { animation: none; }
  .ctn-preloader .animation-preloader .txt-loading .letters-loading:before { animation: none; opacity: 1; transform: none; }
}

@media screen and (max-width: 767px) {
  .ctn-preloader .animation-preloader .spinner { height: 5em; width: 5em; }
  .ctn-preloader .animation-preloader .txt-loading { font-size: 1.15em; }
}

/* ---- Scroll to top ---- */
.progress-wrap {
  -webkit-tap-highlight-color: transparent;
  position: fixed;
  right: 24px;
  bottom: 90px;
  height: 52px;
  width: 52px;
  cursor: pointer;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(8,46,55,0.2);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 200ms linear, visibility 200ms linear, transform 200ms linear;
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-wrap.active-progress {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.progress-wrap svg.progress-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.progress-wrap svg.progress-circle path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  transition: stroke-dashoffset 10ms linear;
}
.progress-wrap .progress-arrow {
  position: relative;
  z-index: 2;
  color: var(--primary-deep);
  transition: color 200ms linear;
}
.progress-wrap:hover .progress-arrow { color: var(--accent); }

@media (max-width: 600px) {
  .progress-wrap { right: 16px; bottom: 78px; height: 46px; width: 46px; }
}

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  -webkit-tap-highlight-color: transparent;
  position: fixed;
  right: 24px;
  bottom: 24px;
  height: 56px;
  width: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(8,46,55,0.28);
  z-index: 61;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(8,46,55,0.35);
  color: #fff;
}
.whatsapp-float svg { position: relative; z-index: 2; display: block; }
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 600px) {
  .whatsapp-float { right: 16px; bottom: 16px; height: 48px; width: 48px; }
}

/* ---- reCAPTCHA v3 badge: shift above the floating buttons stack ---- */
.grecaptcha-badge {
  bottom: 155px !important;
}
@media (max-width: 600px) {
  .grecaptcha-badge { bottom: 135px !important; }
}

/* Blog pagination (UI-only; all article cards remain in the page's raw HTML
   for crawlers - see assets/js/blog-filter.js) */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 32px 0 8px;
}
.pagination .page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.pagination .page-btn:hover:not(:disabled) {
  background: var(--paper);
  border-color: var(--muted);
}
.pagination .page-btn.active {
  background: var(--primary-soft);
  border-color: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  cursor: default;
}
.pagination .page-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.pagination .page-nav {
  font-weight: 500;
}
.pagination .page-ellipsis {
  padding: 0 4px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .pagination .page-nav-label { display: none; }
  .pagination .page-btn { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
}

/* ===== Peta lokasi di footer (facade klik-untuk-muat) =====
   Kotak kecil berukuran tetap lewat aspect-ratio, jadi tidak ada layout shift
   saat iframe menggantikan tombol. Tanpa atribut width/height di tag iframe
   (lihat catatan bug "satu sumbu auto" di README proyek). */
.footer-map { position:relative; margin-top:14px; max-width:260px; aspect-ratio:3/2;
  border:1px solid rgba(255,255,255,.14); border-radius:6px; overflow:hidden; background:#0e1620; }
.footer-map > * { position:absolute; inset:0; width:100%; height:100%; border:0; }
.footer-map .map-btn { display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:7px; padding:0; cursor:pointer; color:#b9cbc9; font-family:'IBM Plex Mono',monospace;
  font-size:11px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  background-color:#0e1620;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                   linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:26px 26px, 26px 26px;
  transition:color .18s ease, background-color .18s ease; }
.footer-map .map-btn:hover { color:#fff; background-color:#16222e; }
.footer-map .map-btn svg { width:24px; height:24px; fill:currentColor; }
.footer-map-wrap { list-style:none; }

/* ===== Submenu "Produk" pada navigasi utama =====
   Desktop: dibuka lewat :hover DAN :focus-within, jadi tetap bisa diakses
   dengan keyboard tanpa JavaScript sama sekali.
   Mobile: submenu ditampilkan sebagai daftar terindentasi, bukan dropdown —
   mobile-nav.js menutup menu setiap kali <a> diklik, sehingga dropdown
   bergaya klik akan bertabrakan dengannya. */
.nav-item-sub { position: relative; display: flex; align-items: center; }
.nav-item-sub > a::after {
  content: ""; display: inline-block; margin-left: 6px; vertical-align: middle;
  border: 4px solid transparent; border-top-color: currentColor; transform: translateY(2px);
}
.nav-sub {
  position: absolute; top: 100%; left: -8px; min-width: 196px; z-index: 60;
  display: none; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}
.nav-item-sub:hover > .nav-sub,
.nav-item-sub:focus-within > .nav-sub { display: block; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 6px; white-space: nowrap; }
.nav-sub a:hover { background: var(--surface); color: var(--primary); }

@media (max-width: 860px) {
  .nav-item-sub { display: block; }
  .nav-item-sub > a::after { display: none; }
  .nav-sub {
    position: static; display: block; min-width: 0; z-index: auto;
    padding: 0 0 0 18px; background: transparent; border: 0; box-shadow: none;
  }
  .nav-sub a { padding: 10px 0; }
}
