/*
Theme Name: Chief Robotics
Theme URI: https://chiefrobotics.com
Author: Chief Robotics
Description: Custom theme for Chief Robotics — autonomous facility robotics.
Version: 1.0
Text Domain: chief-robotics
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --bg-page: #0d0e12;
  --bg-section: #1a1f3a;
  --bg-card-alt: #1e2545;
  --bg-cta: #0f1629;
  --bg-dark: #0a0d1a;
  --border-color: #2a3260;
  --border-alt: #252b37;
  --accent: #2651a3;
  --accent-green: #0f6;
  --text-white: #ffffff;
  --text-muted: #8f9cae;

  --font-serif: 'DM Serif Text', Georgia, serif;
  --font-body: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --font-nav: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1440px;
  --gutter: 80px;
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ==========================================================================
   Shared components
   ========================================================================== */
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.kicker span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent);
}

.h-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--text-white);
  line-height: 1.15;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: none;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-white);
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}
.btn-ghost:hover { color: var(--text-white); border-color: var(--accent); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e6e6e6;
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo img {
  height: 40px;
  width: auto;
}
.site-logo a { display: flex; align-items: center; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-family: var(--font-nav);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.primary-nav a:hover { opacity: 0.7; }
.primary-nav .current-menu-item a {
  font-weight: 700;
}
.header-cta .btn { height: 48px; padding: 0 24px; font-size: 12px; }

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #e6e6e6;
  color: #1a1a1a;
  border-radius: 4px;
  padding: 8px 12px;
}
@media (max-width: 900px) {
  .primary-nav { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--bg-page);
  overflow: hidden;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px var(--gutter) 0;
  text-align: center;
}
.hero-inner .kicker { justify-content: center; }
.hero-title {
  font-size: clamp(40px, 6vw, 88px);
  padding-top: 24px;
}
.hero-title .accent-italic {
  font-style: italic;
  color: var(--accent);
  margin-left: 16px;
}
.hero-sub {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
  margin-top: 24px;
}
.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  padding: 48px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat .num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 28px;
  color: var(--accent);
}
.stat .label {
  font-size: 13px;
  color: var(--text-muted);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}
@media (max-width: 700px) { .stat-divider { display: none; } }

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,14,18,1) 0%, rgba(13,14,18,0) 30%, rgba(13,14,18,0.1) 70%, rgba(13,14,18,1) 100%);
}
.status-badge {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark);
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 10px 16px;
  z-index: 2;
}
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.status-badge span {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.problem-solution {
  background: var(--bg-section);
  display: flex;
  gap: 80px;
  padding: 80px var(--gutter);
}
@media (max-width: 900px) { .problem-solution { flex-direction: column; } }
.problem-solution > div { flex: 1; min-width: 0; }
.problem-solution h2 { font-size: 36px; margin: 16px 0 24px; }
.pain-points { display: flex; flex-direction: column; gap: 16px; }
.pain-point { display: flex; gap: 16px; }
.pain-point .idx { font-family: var(--font-mono); color: var(--accent); font-size: 14px; }
.pain-point h4 { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.pain-point p { color: var(--text-muted); font-size: 14px; line-height: 1.4; }

.right-solution {
  background: var(--bg-card-alt);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 40px;
}
.right-solution h2 { font-size: 36px; margin: 16px 0 24px; }
.right-solution > p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.solution-stats { display: flex; gap: 24px; }
.solution-stats .num { font-family: var(--font-mono); font-weight: 700; font-size: 32px; color: var(--accent); }
.solution-stats .label { font-size: 12px; color: var(--text-muted); }

/* ==========================================================================
   Client logos
   ========================================================================== */
.client-logos {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-color);
  padding: 48px var(--gutter);
}
.logos-row { display: flex; gap: 16px; flex-wrap: wrap; }
.logo-chip {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  height: 56px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   Featured products
   ========================================================================== */
.featured-products { background: var(--bg-card-alt); padding: 80px var(--gutter); }
.featured-products h2 { font-size: 40px; margin-top: 12px; }
.section-head { margin-bottom: 48px; }
.cards-row { display: flex; gap: 32px; flex-wrap: wrap; }
.product-card {
  flex: 1;
  min-width: 280px;
  background: var(--bg-section);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.product-card .thumb { height: 220px; background-color: #171b33; background-size: cover; background-position: center; }
.product-card .body { padding: 24px; }
.product-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 16px; }
.product-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.product-card .learn-more { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }

/* ==========================================================================
   Industries served
   ========================================================================== */
.industries-served { background: var(--bg-section); padding: 80px var(--gutter); }
.industries-served h2 { font-size: 40px; margin-top: 12px; }
.industries-grid { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 40px; }
.industry-card {
  flex: 1;
  min-width: 240px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 32px;
}
.industry-card .icon { width: 32px; height: 32px; margin-bottom: 20px; color: var(--accent); }
.industry-card h3 { font-family: var(--font-serif); font-size: 24px; margin-bottom: 12px; }
.industry-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.industry-card .link { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--accent); }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial { background: var(--bg-card-alt); display: flex; gap: 40px; align-items: center; padding: 80px var(--gutter); flex-wrap: wrap; }
.testimonial-img { flex: 1; min-width: 280px; max-width: 400px; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #2a3260, #171b33); }
.testimonial-img img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-body { flex: 1.5; min-width: 300px; }
.stars { display: flex; gap: 4px; margin-bottom: 24px; color: var(--accent); }
.testimonial-quote { font-family: var(--font-serif); font-size: 32px; line-height: 1.3; margin-bottom: 24px; }
.testimonial-author strong { display: block; font-size: 18px; margin-bottom: 4px; }
.testimonial-author span { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--bg-cta);
  border: 1px solid var(--accent);
  border-top: none;
  border-left: none;
  border-right: none;
  text-align: center;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.cta-banner h2 { font-size: clamp(32px, 5vw, 48px); }
.cta-banner p { color: var(--text-muted); font-size: 16px; max-width: 600px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-color);
  padding: 80px var(--gutter) 40px;
}
.footer-columns { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 64px; }
.footer-brand { max-width: 360px; }
.footer-brand img {
  height: 40px;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.footer-links-group { display: flex; gap: 80px; flex-wrap: wrap; }
.footer-links-group h5 { font-family: var(--font-mono); font-weight: 700; font-size: 12px; color: var(--text-white); margin-bottom: 16px; text-transform: uppercase; }
.footer-links-group ul { display: flex; flex-direction: column; gap: 16px; }
.footer-links-group a { color: var(--text-muted); font-size: 14px; }
.footer-links-group a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.footer-bottom .copyright { color: var(--text-muted); }
.footer-bottom .status { color: var(--accent); }

/* Generic page hero used on inner pages */
.page-title-hero { padding: 80px var(--gutter) 40px; }
.page-title-hero h1 { font-size: clamp(32px, 5vw, 48px); margin-top: 16px; }

/* ==========================================================================
   Products page
   ========================================================================== */
.products-title-hero { background: var(--bg-section); padding: 64px var(--gutter) 32px; }
.products-title-hero h1 { font-size: 48px; margin-top: 16px; }

.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; padding: 20px var(--gutter); border-bottom: 1px solid var(--border-color); }
.filter-pill {
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
}
.filter-pill.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.product-grid-section { padding: 60px var(--gutter) 20px; display: flex; flex-direction: column; gap: 32px; }
.product-grid-row { display: flex; gap: 32px; flex-wrap: wrap; }
.spec-card { flex: 1; min-width: 280px; background: var(--bg-section); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.spec-card .thumb { height: 200px; background-color: #171b33; background-size: cover; background-position: center; }
.spec-card .body { padding: 20px; }
.spec-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 8px; }
.spec-card p.desc { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 16px; }
.spec-card .meta-row { background: var(--bg-page); border-radius: 4px; padding: 10px 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.spec-card .price-row { display: flex; align-items: center; justify-content: space-between; font-weight: 700; }

.comparison-section { padding: 80px var(--gutter); }
.comparison-section h2 { font-size: 32px; margin-top: 12px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 40px; border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}
.spec-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-section);
}
.spec-table tr:last-child td { border-bottom: none; }

.deep-dive { background: var(--bg-section); padding: 80px var(--gutter); display: flex; gap: 80px; flex-wrap: wrap; }
.deep-dive > div { flex: 1; min-width: 280px; }
.deep-dive h2 { font-size: 36px; margin: 16px 0 32px; }
.accordion-item { border-top: 1px solid var(--border-color); padding: 20px 0; }
.accordion-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 17px; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item p { color: var(--text-muted); font-size: 14px; margin-top: 16px; line-height: 1.5; }
.blueprint-box { background: var(--bg-card-alt); border: 1px dashed var(--border-color); border-radius: 8px; height: 360px; margin-top: 40px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }

.accessories-carousel { padding: 80px var(--gutter); }
.accessories-carousel h2 { font-size: 32px; margin-top: 12px; }
.carousel-track { display: flex; gap: 24px; margin-top: 40px; overflow-x: auto; padding-bottom: 8px; }
.addon-card { min-width: 300px; background: var(--bg-section); border: 1px solid var(--border-color); border-radius: 8px; padding: 24px; }
.addon-card .tag { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.addon-card h4 { font-family: var(--font-serif); font-size: 20px; margin: 12px 0 8px; }
.addon-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 12px; }
.addon-card .price { font-family: var(--font-mono); font-weight: 700; font-size: 18px; }

.products-cta { background: var(--bg-cta); padding: 80px var(--gutter); display: flex; gap: 60px; flex-wrap: wrap; }
.products-cta > div { flex: 1; min-width: 280px; }
.products-cta h2 { font-size: 40px; margin: 16px 0; }
.products-cta > div:first-child p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.mini-form { background: var(--bg-section); border: 1px solid var(--border-color); border-radius: 8px; padding: 40px; }
.mini-form .form-label-tag { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 24px; display: block; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 14px;
}
.form-row textarea { resize: vertical; min-height: 100px; }

/* ==========================================================================
   Shared: image placeholder (used until real photos are uploaded)
   ========================================================================== */
.img-placeholder {
  background: var(--bg-card-alt);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}
.img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* ==========================================================================
   Solutions page
   ========================================================================== */
.solutions-tabs { display: flex; gap: 8px; padding: 0 var(--gutter) 24px; border-bottom: 1px solid var(--border-color); flex-wrap: wrap; }
.solutions-tabs a {
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.solutions-tabs a.is-active { background: var(--accent); color: #fff; }

.split-section { display: flex; gap: 80px; padding: 80px var(--gutter); align-items: center; flex-wrap: wrap; }
.split-section > div { flex: 1; min-width: 300px; }
.split-section h2 { font-size: 36px; margin: 16px 0 24px; }
.split-section p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }
.checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { list-style: none; font-size: 14px; color: var(--text-muted); }
.checklist li::before { content: '✔ '; color: var(--accent); font-weight: 700; }

.recommended-duo { background: var(--bg-section); padding: 80px var(--gutter); }
.recommended-duo h2 { font-size: 32px; margin-top: 12px; }
.duo-row { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.duo-card { flex: 1; min-width: 320px; background: var(--bg-card-alt); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.duo-card .thumb { height: 240px; background-size: cover; background-position: center; background-color: #171b33; }
.duo-card .body { padding: 24px; }
.duo-card h3 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 12px; }
.duo-card p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

.roi-section { padding: 80px var(--gutter); display: flex; gap: 80px; flex-wrap: wrap; }
.roi-section > div { flex: 1; min-width: 300px; }
.roi-section h2 { font-size: 32px; margin: 24px 0; }
.roi-stats { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.roi-stat { display: flex; align-items: baseline; gap: 24px; }
.roi-stat .num { font-family: var(--font-mono); font-weight: 700; font-size: 36px; color: var(--accent); min-width: 110px; }
.roi-stat .label { color: var(--text-muted); font-size: 14px; }
.roi-quote-box { background: var(--bg-card-alt); border: 1px solid var(--border-color); border-radius: 8px; padding: 40px; }
.roi-quote-box h3 { font-family: var(--font-serif); font-size: 26px; margin: 16px 0; }
.roi-quote-box blockquote { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.roi-author { display: flex; align-items: center; gap: 12px; }
.roi-author .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--border-color); flex-shrink: 0; }
.roi-author strong { display: block; font-size: 14px; }
.roi-author span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   About page
   ========================================================================== */
.about-hero { display: flex; gap: 60px; padding: 80px var(--gutter); align-items: center; flex-wrap: wrap; }
.about-hero > div { flex: 1; min-width: 300px; }
.about-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 16px 0 24px; }
.about-hero p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.about-hero .img-placeholder { height: 400px; }

.timeline-section { padding: 80px var(--gutter); background: var(--bg-section); }
.timeline-row { display: flex; gap: 24px; overflow-x: auto; margin-top: 32px; padding-bottom: 8px; }
.timeline-item { min-width: 160px; border-left: 2px solid var(--accent); padding-left: 20px; }
.timeline-item .year { font-family: var(--font-mono); font-weight: 700; font-size: 24px; color: var(--accent); }
.timeline-item h4 { font-size: 16px; margin: 8px 0; }
.timeline-item p { color: var(--text-muted); font-size: 13px; line-height: 1.4; }

.team-section { padding: 80px var(--gutter); }
.team-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.team-card { flex: 1; min-width: 240px; background: var(--bg-section); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.team-card .img-placeholder { height: 240px; border-radius: 0; }
.team-card .body { padding: 20px; }
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { color: var(--accent); font-size: 13px; margin-bottom: 12px; }
.team-card p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

.presence-section { padding: 80px var(--gutter); display: flex; gap: 60px; flex-wrap: wrap; }
.presence-section > div { flex: 1; min-width: 300px; }
.presence-section h2 { font-size: 32px; margin-bottom: 24px; }
.office-item { margin-bottom: 20px; }
.office-item h5 { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.office-item p { color: var(--text-muted); font-size: 14px; }
.map-placeholder { height: 360px; border-radius: 8px; }

.certs-section { padding: 80px var(--gutter); background: var(--bg-section); }
.certs-grid { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.cert-card { flex: 1; min-width: 240px; }
.cert-card .tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; }
.cert-card h4 { font-family: var(--font-serif); font-size: 22px; margin: 12px 0; }
.cert-card p { color: var(--text-muted); font-size: 14px; }

.cta-split { display: flex; padding: 80px var(--gutter); gap: 40px; flex-wrap: wrap; }
.cta-split > div { flex: 1; min-width: 280px; }
.cta-split h2 { font-size: 32px; margin-bottom: 16px; }
.cta-split p { color: var(--text-muted); font-size: 14px; line-height: 1.5; margin-bottom: 24px; }

/* ==========================================================================
   Blog page
   ========================================================================== */
.blog-header { background: var(--bg-section); padding: 64px var(--gutter) 24px; }
.blog-header h1 { font-size: 40px; margin: 16px 0 32px; }
.blog-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-tabs a { padding: 10px 20px; border-radius: 999px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); border: 1px solid var(--border-color); }
.blog-tabs a.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.featured-post { padding: 40px var(--gutter); }
.featured-post-inner { display: flex; background: var(--bg-section); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.featured-post-inner .img-placeholder { flex: 1; min-width: 300px; height: 400px; border-radius: 0; border: none; }
.featured-post-inner .content { flex: 1; min-width: 300px; padding: 48px; }
.featured-post-inner .tag { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.featured-post-inner h2 { font-family: var(--font-serif); font-size: 32px; margin: 16px 0; }
.featured-post-inner p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.featured-post-inner .byline { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); display: flex; gap: 16px; }

.blog-layout { display: flex; gap: 40px; padding: 40px var(--gutter) 80px; flex-wrap: wrap; }
.post-grid { flex: 3; min-width: 320px; display: flex; flex-wrap: wrap; gap: 24px; }
.post-card { flex: 1 1 280px; background: var(--bg-section); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.post-card .img-placeholder { height: 160px; border-radius: 0; border: none; }
.post-card .body { padding: 20px; }
.post-card .tag { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; }
.post-card h4 { font-size: 17px; margin: 12px 0; line-height: 1.3; }
.post-card .date { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

.blog-sidebar { flex: 1; min-width: 260px; display: flex; flex-direction: column; gap: 32px; }
.blog-sidebar h5 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; margin-bottom: 16px; }
.sidebar-search input { width: 100%; background: var(--bg-section); border: 1px solid var(--border-color); border-radius: 4px; padding: 12px 16px; color: #fff; }
.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pills span { border: 1px solid var(--border-color); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: var(--text-muted); }
.archive-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-color); font-size: 14px; color: var(--text-muted); }

.newsletter-signup { background: var(--bg-cta); padding: 80px var(--gutter); text-align: center; }
.newsletter-signup h2 { font-size: 32px; margin: 16px 0; }
.newsletter-signup p { color: var(--text-muted); max-width: 600px; margin: 0 auto 32px; }
.newsletter-form { display: flex; max-width: 500px; margin: 0 auto; gap: 0; }
.newsletter-form input { flex: 1; background: var(--bg-section); border: 1px solid var(--border-color); border-right: none; border-radius: 4px 0 0 4px; padding: 12px 16px; color: #fff; }
.newsletter-form button { border-radius: 0 4px 4px 0; height: auto; padding: 0 24px; }

/* ==========================================================================
   Support page
   ========================================================================== */
.support-search-hero { background: var(--bg-section); padding: 80px var(--gutter); text-align: center; }
.support-search-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 16px 0 32px; }
.support-search-box { max-width: 640px; margin: 0 auto; position: relative; }
.support-search-box input { width: 100%; background: var(--bg-page); border: 1px solid var(--border-color); border-radius: 4px; padding: 16px 20px; color: #fff; }

.faq-section { padding: 60px var(--gutter); display: flex; gap: 40px; flex-wrap: wrap; }
.faq-col { flex: 1; min-width: 300px; }
.faq-col .eyebrow { font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 16px; display: block; }

.downloads-section { background: var(--bg-section); padding: 80px var(--gutter); }
.downloads-section h2 { font-size: 32px; margin-top: 12px; }
.downloads-grid { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.download-card { flex: 1; min-width: 240px; background: var(--bg-card-alt); border: 1px solid var(--border-color); border-radius: 8px; padding: 24px; }
.download-card h4 { font-family: var(--font-serif); font-size: 20px; margin: 16px 0 8px; }
.download-card p { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.download-card .meta { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.download-card .meta a { color: var(--accent); }

.service-request { display: flex; gap: 60px; padding: 80px var(--gutter); flex-wrap: wrap; }
.service-request > div { flex: 1; min-width: 300px; }
.service-request h2 { font-size: 32px; margin: 16px 0; }
.service-request p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.live-chat-banner { background: var(--bg-cta); padding: 40px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.live-chat-banner h4 { font-size: 20px; margin-bottom: 4px; }
.live-chat-banner p { color: var(--text-muted); font-size: 13px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-form-section { display: flex; gap: 60px; padding: 80px var(--gutter); flex-wrap: wrap; }
.contact-form-section > div { flex: 1; min-width: 300px; }
.contact-form-section h2 { font-size: 36px; margin: 24px 0; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

.direct-info-map { background: var(--bg-section); padding: 80px var(--gutter); }
.direct-info-map h2 { font-size: 32px; margin-top: 12px; }
.direct-info-cols { display: flex; gap: 24px; flex-wrap: wrap; margin: 40px 0; }
.direct-info-cols > div { flex: 1; min-width: 240px; }
.direct-info-cols .tag { font-family: var(--font-mono); font-size: 12px; color: var(--accent); text-transform: uppercase; }
.direct-info-cols h4 { font-size: 22px; margin: 12px 0; }
.direct-info-cols p { color: var(--text-muted); font-size: 14px; }

.alternative-demo { text-align: center; padding: 80px var(--gutter); }
.alternative-demo h2 { font-size: 32px; margin-bottom: 16px; }
.alternative-demo p { color: var(--text-muted); max-width: 600px; margin: 0 auto 24px; }


