/* ============================================================
   PS Road Marking Services — Main Stylesheet
   Version: 2.0 | Dark/Light Mode | Professional Design
   ============================================================ */

/* ── Google Fonts Import ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ── CSS Custom Properties ───────────────────────────────────── */
:root {
  /* Dark Mode (default) */
  --bg-base:        #141518;
  --bg-surface:     #1B1D22;
  --bg-elevated:    #24262D;
  --bg-card:        #1E2028;
  --border:         #2E3140;
  --border-mid:     #484C58;
  --text-primary:   #F7F5EF;
  --text-secondary: #C9CBD1;
  --text-muted:     #9BA0AC;
  --text-faint:     #6B6E78;
  --amber:          #F5A623;
  --amber-hover:    #FFD873;
  --amber-dark:     #D6871A;
  --amber-bg:       rgba(245,166,35,.10);
  --amber-border:   rgba(245,166,35,.30);
  --signal:         #E14B2A;
  --signal-bg:      rgba(225,75,42,.12);
  --success:        #22C55E;
  --success-bg:     rgba(34,197,94,.12);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.4);
  --shadow-md:      0 6px 24px rgba(0,0,0,.5);
  --shadow-lg:      0 16px 48px rgba(0,0,0,.6);
  --radius:         4px;
  --header-h:       104px;
}

[data-theme="light"] {
  --bg-base:        #F4F2EC;
  --bg-surface:     #FFFFFF;
  --bg-elevated:    #FFFDF7;
  --bg-card:        #F9F7F1;
  --border:         #D8D5CC;
  --border-mid:     #B8B4AA;
  --text-primary:   #1A1B1F;
  --text-secondary: #3D3F47;
  --text-muted:     #6B6E78;
  --text-faint:     #9BA0AC;
  --amber:          #C97A10;
  --amber-hover:    #F5A623;
  --amber-dark:     #A05E08;
  --amber-bg:       rgba(201,122,16,.10);
  --amber-border:   rgba(201,122,16,.30);
  --signal:         #C33A1D;
  --signal-bg:      rgba(195,58,29,.10);
  --success:        #16A34A;
  --success-bg:     rgba(22,163,74,.10);
  --shadow-sm:      0 2px 8px rgba(0,0,0,.08);
  --shadow-md:      0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:      0 16px 48px rgba(0,0,0,.16);
}

/* ── Base Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background .3s ease, color .3s ease;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}
body.menu-open { overflow: hidden; }

::selection { background: var(--amber); color: var(--bg-base); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

h1,h2,h3,h4,h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

/* ── Layout Containers ───────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media(min-width:640px)  { .container { padding: 0 24px; } }
@media(min-width:1024px) { .container { padding: 0 40px; } }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Typography ──────────────────────────────────────────────── */
.label-tag {
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 6vw, 44px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ── Decorative Lane Rule ─────────────────────────────────────── */
.lane-rule {
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg, var(--amber) 0 22px, transparent 22px 38px
  );
}
.lane-rule-sm { height: 2px; width: 40px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 13px 28px;
  border: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: var(--bg-base);
}
.btn-primary:hover { background: var(--amber-hover); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-mid);
  color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

.btn-ghost {
  background: transparent;
  color: var(--amber);
  padding: 0;
}
.btn-ghost:hover { color: var(--amber-hover); transform: none; }
.btn-ghost:hover { gap: 12px; }

.btn-sm { padding: 9px 20px; font-size: 12px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }

.btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all .2s;
}
.btn-icon:hover { border-color: var(--amber); color: var(--amber); background: var(--amber-bg); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Spec-frame corner accent */
.spec-frame { position: relative; }
.spec-frame::before, .spec-frame::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  opacity: 0;
  transition: opacity .25s;
}
.spec-frame::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
}
.spec-frame::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
}
.spec-frame:hover::before, .spec-frame:hover::after { opacity: 1; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
}

.form-control {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'IBM Plex Sans', sans-serif;
  outline: none;
  width: 100%;
  transition: border-color .2s ease, background .3s;
}
.form-control:focus { border-color: var(--amber); }
.form-control::placeholder { color: var(--text-faint); }

textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Utility Bar ─────────────────────────────────────────────── */
#util-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-muted);
  transition: background .3s;
}
.util-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.util-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  transition: color .2s;
}
.util-link:hover { color: var(--amber); }
.util-link svg { flex-shrink: 0; }

/* ── Header ──────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  transition: background .3s ease, box-shadow .3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo-img {
  height: 86px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  background: #F4F0E6;
}
@media(max-width:640px) {
  .site-logo-img { height: 64px; max-width: 150px; }
}
.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 120px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  background: #F4F0E6;
}
.logo-diamond {
  width: 46px; height: 46px;
  transform: rotate(45deg);
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.logo-diamond:hover { background: var(--amber-hover); }
.logo-diamond span {
  transform: rotate(-45deg);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  color: #141518;
  font-size: 14px;
  letter-spacing: -.02em;
}
.logo-text .name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--text-primary);
  line-height: 1;
}
.logo-text .sub {
  font-size: 9px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--amber);
  margin-top: 4px;
}

/* Desktop Nav */
#desktop-nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media(min-width:1024px) { #desktop-nav { display: flex; } }

.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--amber); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--amber);
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 600;
  padding: 8px 0;
}
.nav-item:hover .dropdown-menu { display: block; }
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color .2s, background .2s;
}
.dropdown-link:hover {
  color: var(--amber);
  background: var(--amber-bg);
}
.dropdown-link svg { flex-shrink: 0; color: var(--amber); }

.header-quote {
  font-size: 12px;
  padding: 9px 18px;
}
@media(max-width:1023px) {
  .header-quote { display: none; }
}

/* Header CTA + Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Theme toggle */
#theme-toggle {
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all .2s;
}
#theme-toggle:hover { border-color: var(--amber); color: var(--amber); background: var(--amber-bg); }

/* Mobile hamburger */
#hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
@media(min-width:1024px) { #hamburger { display: none; } }

.ham-bar {
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: all .3s ease;
  transform-origin: center;
}
body.menu-open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 450;
  background: var(--bg-base);
  padding: 100px 24px 40px;
  flex-direction: column;
  overflow-y: auto;
}
#mobile-menu.open { display: flex; }

.mobile-nav-link {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
  display: block;
}
.mobile-nav-link:hover { color: var(--amber); }

.mobile-sub-link {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 10px 16px;
  display: block;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-sub-link:hover { color: var(--amber); }

/* ── Hero Section ────────────────────────────────────────────── */
.hero {
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .12;
}
[data-theme="light"] .hero-bg { opacity: .08; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--bg-base) 50%, transparent);
}
.hero-glow {
  position: absolute; top: -100px; right: -50px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--amber-bg) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 64px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media(min-width:1024px) { .hero-grid { grid-template-columns: 1.2fr .8fr; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 7vw, 62px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--text-primary);
  margin-bottom: 20px;
  overflow-wrap: break-word;
}
.hero-title span { color: var(--amber); }
.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Stats Grid ──────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px 10px 3px 3px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.stat-card:hover { border-color: var(--amber); transform: translateY(-2px); }
.stat-cap {
  height: 8px;
  background-image: repeating-linear-gradient(45deg, var(--bg-base) 0 8px, var(--amber) 8px 16px);
}
.stat-body { padding: 18px; text-align: center; }
.stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  font-family: 'IBM Plex Mono', monospace;
}

/* ── Services Section ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  border-color: var(--amber-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 56px; height: 56px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--amber);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.service-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.7; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--amber);
  margin-top: 16px;
  transition: gap .2s;
}
.service-link:hover { gap: 12px; }

/* ── Blog Cards ──────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.blog-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-elevated);
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-img .cat-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--amber);
  color: var(--bg-base);
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 10px;
}

.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-muted);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-meta .dot { opacity: .5; }

.blog-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.blog-card h3 a:hover { color: var(--amber); }
.blog-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; flex: 1; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber);
  margin-top: 16px;
  transition: gap .2s;
}
.read-more:hover { gap: 12px; }

/* ── Blog Single Post ────────────────────────────────────────── */
.post-header { padding: 48px 0 0; }
.post-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 16px 0;
  line-height: 1.1;
}
.post-feat-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--border);
  margin: 24px 0;
}
.post-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
}
.post-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 2em 0 .6em;
  padding-left: 14px;
  border-left: 3px solid var(--amber);
}
.post-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  color: var(--text-primary);
  margin: 1.6em 0 .5em;
}
.post-body p { margin-bottom: 1.2em; }
.post-body ul, .post-body ol {
  padding-left: 22px;
  margin-bottom: 1.2em;
}
.post-body li { margin-bottom: 6px; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body a { color: var(--amber); text-decoration: underline; }
.post-body blockquote {
  border-left: 3px solid var(--amber);
  padding: 12px 20px;
  background: var(--amber-bg);
  color: var(--text-secondary);
  font-style: italic;
  margin: 1.5em 0;
}
.post-body strong { color: var(--text-primary); }

/* Post layout with sidebar */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 48px 0 80px;
}
@media(min-width:1024px) { .post-layout { grid-template-columns: 2fr 1fr; } }

/* ── Sidebar ──────────────────────────────────────────────────── */
.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.recent-post-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.recent-post-item:last-child { border: none; padding-bottom: 0; }
.recent-post-thumb {
  width: 70px; height: 56px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.recent-post-item h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
}
.recent-post-item h5 a:hover { color: var(--amber); }
.recent-post-item .date {
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-muted);
}

.cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  transition: color .2s;
}
.cat-link:last-child { border: none; }
.cat-link:hover { color: var(--amber); }
.cat-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Why Us / Features ────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 24px;
  transition: border-color .2s;
}
.feature-item:hover { border-color: var(--amber-border); }
.feature-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  opacity: .35;
  line-height: 1;
  margin-bottom: 10px;
}
.feature-item h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.feature-item p { font-size: 13px; color: var(--text-secondary); }

/* ── CTA Section ──────────────────────────────────────────────── */
.cta-section {
  background: var(--amber);
  padding: 60px 0;
}
.cta-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  text-transform: uppercase;
  color: #141518;
  margin-bottom: 10px;
}
.cta-section p { color: rgba(20,21,24,.75); font-size: 16px; }
.btn-dark {
  background: #141518;
  color: var(--amber);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 14px 32px;
  font-size: 14px;
  transition: background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-dark:hover { background: #1B1D22; }

/* ── Contact Section ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media(min-width:1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  transition: border-color .2s;
}
.contact-info-card:hover { border-color: var(--amber-border); }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-info-label {
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-info-value {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  font-family: 'IBM Plex Mono', monospace;
}
.contact-info-value.small { font-size: 13px; }

.form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media(max-width:640px) { .form-row { grid-template-columns: 1fr; } }

/* Alert boxes */
.alert {
  padding: 14px 18px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
}
.alert-error {
  background: var(--signal-bg);
  border: 1px solid var(--signal);
  color: var(--signal);
}

/* ── Page Banner ──────────────────────────────────────────────── */
.page-banner {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background-image: repeating-linear-gradient(90deg, var(--amber) 0 22px, transparent 22px 38px);
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breadcrumb a { color: var(--amber); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .5; }

/* ── About Page ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media(min-width:1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.about-img-wrap {
  position: relative;
  min-width: 0;
}
.about-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #141518;
  border: 1px solid var(--border);
}
@media(min-width:1024px) {
  .about-img-wrap { padding-right: 24px; }
  .about-img { height: 480px; aspect-ratio: auto; object-fit: cover; }
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--amber);
  color: #141518;
  padding: 20px 24px;
  text-align: center;
}
@media(max-width:640px) { .about-badge { display: none; } }
.about-badge .num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}
.about-badge .txt {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
}

.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-secondary);
}
.check-icon {
  width: 20px; height: 20px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--amber);
}

/* Cert / Partners band */
.cert-band {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.cert-items {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 32px;
}
.cert-item {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
}
.cert-item svg { color: var(--amber); margin: 0 auto 6px; }

/* ── Services Detail Page ─────────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media(min-width:1024px) { .service-detail-grid { grid-template-columns: 2fr 1fr; } }

.service-img { width: 100%; height: 360px; object-fit: cover; border: 1px solid var(--border); }

/* ── Pagination ───────────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all .2s;
}
.page-btn:hover { border-color: var(--amber); color: var(--amber); }
.page-btn-active { background: var(--amber); border-color: var(--amber); color: #141518 !important; }

/* ── Tags / Label chips ───────────────────────────────────────── */
.chip {
  display: inline-block;
  font-size: 10px;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 4px 12px;
  transition: all .2s;
}
.chip:hover { border-color: var(--amber); color: var(--amber); }

/* ── Footer ───────────────────────────────────────────────────── */
#site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  transition: background .3s;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
@media(min-width:768px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color .2s, padding-left .2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--amber); padding-left: 4px; }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--amber); margin-top: 1px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  font-size: 11px;
  font-family: 'IBM Plex Mono', monospace;
}

/* ── Section Backgrounds ─────────────────────────────────────── */
.bg-surface { background: var(--bg-surface); }
.bg-elevated { background: var(--bg-elevated); }
.border-top { border-top: 1px solid var(--border); }

/* ── Utilities ────────────────────────────────────────────────── */
.text-amber   { color: var(--amber); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-2        { gap: 8px; }
.gap-3        { gap: 12px; }
.gap-4        { gap: 16px; }
.gap-8        { gap: 32px; }
.mt-4         { margin-top: 16px; }
.mt-6         { margin-top: 24px; }
.mt-8         { margin-top: 32px; }
.mb-4         { margin-bottom: 16px; }
.mb-6         { margin-bottom: 24px; }
.w-full       { width: 100%; }
.sr-only      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Reduced Motion ───────────────────────────────────────────── */
@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ── Loading Skeleton ─────────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--border) 50%, var(--bg-elevated) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 3px;
}

/* ── Extra public pages ──────────────────────────────────────── */
.article-hero { width:100%; height:380px; object-fit:cover; border:1px solid var(--border); background:var(--bg-elevated); }
@media(max-width:640px){ .article-hero { height:220px; } }
.faq-item { border:1px solid var(--border); background:var(--bg-surface); margin-bottom:12px; }
.faq-item summary { cursor:pointer; padding:16px 20px; font-family:'Oswald',sans-serif; text-transform:uppercase; font-weight:600; list-style:none; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item p { padding:0 20px 18px; color:var(--text-secondary); font-size:14px; }
.coverage-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr)); gap:14px; }
.coverage-card { background:var(--bg-surface); border:1px solid var(--border); padding:18px; transition:border-color .2s; }
.coverage-card:hover { border-color:var(--amber); }
.coverage-card h3 { font-size:16px; text-transform:uppercase; margin-bottom:4px; }
.coverage-card p { font-size:12px; color:var(--text-muted); font-family:'IBM Plex Mono',monospace; }
.legal-body { max-width:820px; }
.service-figure { width:100%; height:320px; object-fit:cover; border:1px solid var(--border); background:var(--bg-elevated); }
.check-list { display:flex; flex-direction:column; gap:14px; }
.check-item { display:flex; gap:12px; align-items:flex-start; }
.check-icon { width:22px;height:22px;background:var(--amber);color:#141518;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr)); gap:16px; margin-top:24px; }
.footer-col ul li { margin-bottom:8px; }
.footer-col ul a { color:var(--text-muted); font-size:13px; }
.footer-col ul a:hover { color:var(--amber); }

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 4px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 20px;
}

.wa-float {
  position: fixed;
  bottom: 20px;
  right: 16px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

.blog-search { display: flex; gap: 8px; }
.blog-search .btn { padding: 12px 14px; flex-shrink: 0; }

/* ── Mobile / tablet layout ─────────────────────────────────── */
@media (max-width: 1023px) {
  :root { --header-h: 72px; }
  .site-logo-img { height: 56px; max-width: 118px; }
  #util-bar { display: none; }
  #mobile-menu { padding-top: calc(var(--header-h) + 16px); }
  .section { padding: 56px 0; }
  .hero { min-height: 0; }
  .hero-content { padding: 40px 0 48px; }
  .form-panel { padding: 24px 18px; }
  .post-feat-img, .service-img, .service-figure { height: 220px; object-fit: contain; background: #141518; }
  .footer-logo img { height: 88px; max-width: 180px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 14px; }
  .site-logo-img { height: 48px; max-width: 96px; }
  .section { padding: 44px 0; }
  .section-sm { padding: 32px 0; }
  .page-banner { padding: 32px 0 28px; }
  .hero-title { font-size: clamp(26px, 8.4vw, 34px); }
  .hero-desc { font-size: 15px; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .btn-lg { padding: 14px 20px; font-size: 14px; }
  .stat-num { font-size: 22px; }
  .stat-body { padding: 14px 8px; }
  .stats-grid { gap: 10px; }
  .service-card { padding: 24px 18px; }
  .cta-section { padding: 36px 0; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .cta-inner .btn-dark,
  .cta-inner .btn { width: 100%; justify-content: center; }
  .form-control { font-size: 16px; }
  .article-hero { height: 180px; object-fit: contain; }
  .wa-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 12px;
  }
  .mobile-nav-link { font-size: 20px; padding: 12px 0; }
  .footer-grid { gap: 28px; padding: 40px 0 28px; }
  .header-inner { gap: 8px; }
}

@media (max-width: 380px) {
  .site-logo-img { height: 44px; max-width: 84px; }
  .stats-grid { grid-template-columns: 1fr; }
}
