/* ============================================================
   GAPTEC Electronic — Main Stylesheet v1.0.0
   Design system: Barlow Condensed, signal-green #5cb800
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --green:        #5cb800;
  --green-dark:   #4a9600;
  --green-deep:   #2d6315;
  --green-deep-2: #3a7d1c;
  --green-light:  #f0f9e6;
  --bg:           #ffffff;
  --surface:      #f7f8f9;
  --surface2:     #eef0f2;
  --border:       #e2e5e9;
  --border-dark:  #c8cdd4;
  --text:         #1a1d22;
  --text-muted:   #6b7280;
  --text-dim:     #b0b7c3;
  --header-h:     64px;
  --max-w:        1280px;
  --section-y:    clamp(2.5rem, 7vw, 5rem);
  --section-x:    clamp(1rem, 4vw, 2.5rem);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --dur:          250ms;
  --dur-fast:     150ms;
  --dur-slow:     600ms;
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Typography Base ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}
h1 {
  font-weight: 900;
  font-size: clamp(2.8rem, 9vw, 6rem);
  line-height: 0.93;
}
h1 em, h1 strong { font-style: normal; color: var(--green); font-weight: inherit; }
h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1;
  margin-bottom: 0.8rem;
}
h2 em, h2 strong { font-style: normal; color: var(--green); font-weight: inherit; }
h3 { font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.15; }
h4 { font-weight: 700; font-size: 0.92rem; line-height: 1.2; letter-spacing: 0.02em; }

section {
  padding: var(--section-y) var(--section-x);
}
.gap-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Shared: Plus-in-circle icon ── */
.gap-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gap-plus svg { display: block; }
.gap-plus--sm svg { width: 18px; height: 18px; }
.gap-plus--md svg { width: 24px; height: 24px; }
.gap-plus--lg svg { width: 36px; height: 36px; }
.gap-plus--xl svg { width: 52px; height: 52px; }

/* ── Shared: Eyebrow label ── */
.gap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.gap-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

/* ── Shared: Section head ── */
.gap-section-head { margin-bottom: 1.5rem; }
.gap-section-intro {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* ── Shared: Buttons ── */
.gap-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: none;
  line-height: 1;
}
.gap-btn-primary   { background: var(--green); color: #fff; }
.gap-btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); color: #fff; }
.gap-btn-deep      { background: var(--green-deep); color: #fff; }
.gap-btn-deep:hover { background: var(--green-deep-2); transform: translateY(-1px); color: #fff; }
.gap-btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.gap-btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-1px); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* =============================================================
   HEADER
   ============================================================= */
.gap-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 var(--section-x);
  gap: 1.5rem;
}
.gap-header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.gap-header-logo img {
  height: 34px;
  width: auto;
}

/* Primary nav */
.gap-primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  list-style: none;
}
.gap-primary-nav a,
.gap-primary-nav > li > a {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  transition: color var(--dur-fast);
  white-space: nowrap;
}
.gap-primary-nav a:hover { color: var(--text); }

/* Dropdown parent */
.gap-primary-nav > li { position: relative; }
.gap-primary-nav > li:hover > .gap-dropdown { display: block; }
.gap-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  min-width: 240px;
  padding: 0.4rem 0;
  z-index: 300;
  list-style: none;
}
.gap-dropdown a {
  display: block;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  padding: 0.55rem 1.2rem;
  border-bottom: 1px solid var(--border);
  text-transform: none;
  white-space: nowrap;
}
.gap-dropdown li:last-child a { border-bottom: none; }
.gap-dropdown a:hover { color: var(--green); background: var(--green-light); }

/* Nav CTA buttons */
.gap-nav-contact > a {
  color: var(--text-muted) !important;
}
.gap-nav-sg > a {
  background: var(--green-deep) !important;
  color: #fff !important;
  border-radius: 3px;
  margin-left: 0.5rem;
  padding: 0.45rem 0.9rem !important;
  font-weight: 600 !important;
}
.gap-nav-sg > a:hover { background: var(--green-deep-2) !important; }

/* Mobile hamburger */
.gap-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.gap-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.gap-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.gap-hamburger.open span:nth-child(2) { opacity: 0; }
.gap-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.gap-mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 199;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.gap-mobile-nav[hidden] { display: none; }
.gap-mobile-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur-fast);
}
.gap-mobile-nav a:last-child { border-bottom: none; }
.gap-mobile-nav a:hover { color: var(--green); }

/* WP block navigation override (if used via Site Editor) */
.gap-header .wp-block-navigation__container { flex-wrap: nowrap; gap: 0; }
.gap-header .wp-block-navigation-item__content {
  font-family: 'Barlow', sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  padding: 0.4rem 0.75rem !important;
}
.gap-header .wp-block-navigation-item__content:hover { color: var(--text) !important; }
.gap-header .wp-block-navigation__submenu-container {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  min-width: 240px;
}
.gap-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  font-size: 0.76rem !important;
  text-transform: none !important;
  color: var(--text) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 0.55rem 1.2rem !important;
}
.gap-header .wp-block-navigation__submenu-container .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
  border-bottom: none !important;
}
.gap-header .wp-block-navigation-item.nav-sg > .wp-block-navigation-item__content,
.gap-header .wp-block-navigation-item.nav-cta > .wp-block-navigation-item__content {
  background: var(--green-deep) !important;
  color: #fff !important;
  border-radius: 3px;
  margin-left: 0.5rem;
  font-weight: 600 !important;
}
.gap-header .wp-block-navigation-item.nav-sg > .wp-block-navigation-item__content:hover,
.gap-header .wp-block-navigation-item.nav-cta > .wp-block-navigation-item__content:hover {
  background: var(--green-deep-2) !important;
}

/* Admin bar offset */
.admin-bar .gap-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .gap-header { top: 46px; }
}

/* =============================================================
   HERO
   ============================================================= */
.gap-hero {
  padding: clamp(3rem, 7vw, 5.5rem) var(--section-x) clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.gap-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  pointer-events: none;
}
.gap-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(92,184,0,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.gap-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}
.gap-hero h1 { margin-bottom: 0; }
.gap-hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.75;
  margin: 1.6rem 0 2.2rem;
}
.gap-hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
}
.gap-hero-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.gap-hero-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 18px rgba(92,184,0,0.13);
  transform: translateY(-2px);
}
.gap-hero-card--accent {
  border-color: var(--green-deep);
  background: var(--green-deep);
  color: #fff;
}
.gap-hero-card--accent .gap-hero-card-sub { color: rgba(255,255,255,0.7); }
.gap-hero-card--accent:hover { border-color: var(--green-deep-2); background: var(--green-deep-2); }
.gap-hero-card-text { flex: 1; min-width: 0; }
.gap-hero-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.gap-hero-card-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}
.gap-hero-card-arrow {
  font-size: 1rem;
  color: var(--text-dim);
  transition: color var(--dur-fast), transform var(--dur-fast);
  flex-shrink: 0;
}
.gap-hero-card:hover .gap-hero-card-arrow { color: var(--green); transform: translateX(3px); }
.gap-hero-card--accent .gap-hero-card-arrow { color: var(--green); }

/* Cert badges */
.gap-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.gap-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.gap-cert-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* =============================================================
   STATS BAR
   ============================================================= */
.gap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.gap-stat-item {
  padding: 1.6rem clamp(1rem, 2.5vw, 2rem);
  border-right: 1px solid var(--border);
  transition: background var(--dur-fast);
}
.gap-stat-item:last-child { border-right: none; }
.gap-stat-item:hover { background: var(--green-light); }
.gap-stat-num {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.gap-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* =============================================================
   CATEGORY GRID
   ============================================================= */
.gap-categories {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.gap-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.gap-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast);
}
.gap-cat-tab:hover,
.gap-cat-tab.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.gap-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.7rem;
}
.gap-cat-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 5px;
  padding: 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur), background var(--dur), box-shadow var(--dur);
}
.gap-cat-item:hover {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: 0 4px 14px rgba(92,184,0,0.08);
}
.gap-cat-item.hidden { display: none; }
.gap-cat-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}
.gap-cat-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--green);
  flex-shrink: 0;
}
.gap-cat-type {
  font-family: 'Barlow', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.gap-cat-item h4 { margin: 0; font-size: 0.9rem; }
.gap-cat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* =============================================================
   APPLICATIONS
   ============================================================= */
.gap-applications {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.gap-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.7rem;
}
.gap-app-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 1.4rem 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.gap-app-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(92,184,0,0.1);
}
.gap-app-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}
.gap-app-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

/* =============================================================
   WHY GAPTEC (dark section)
   ============================================================= */
.gap-why {
  background: var(--green-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.gap-why::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.gap-why::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(92,184,0,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.gap-why-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}
.gap-why .gap-eyebrow { color: var(--green); }
.gap-why .gap-eyebrow::before { background: var(--green); }
.gap-why h2 { color: #fff; }
.gap-why h2 em { color: var(--green); font-style: normal; }
.gap-why-intro {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.gap-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.gap-why-card {
  background: var(--green-deep);
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background var(--dur-fast);
}
.gap-why-card:hover { background: var(--green-deep-2); }
.gap-why-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--green);
}
.gap-why-card h3 {
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}
.gap-why-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
.gap-why-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

/* =============================================================
   TOOLS & RESOURCES
   ============================================================= */
.gap-tools {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.gap-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.gap-tool-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.gap-tool-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.gap-tool-card:hover { border-color: var(--border-dark); }
.gap-tool-card:hover::after { transform: scaleX(1); }
.gap-tool-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.3rem;
}
.gap-tool-tag {
  font-family: 'Barlow', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.gap-tool-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.gap-tool-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================================
   NEWS / PRESS RELEASES
   ============================================================= */
.gap-news {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.gap-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gap-news-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  display: flex;
  flex-direction: column;
}
.gap-news-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(92,184,0,0.1);
}
.gap-news-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gap-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gap-news-body { padding: 1.2rem 1.2rem 1.4rem; flex: 1; }
.gap-news-date {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.gap-news-card h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.gap-news-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================================
   DISTRIBUTORS / WHERE TO BUY
   ============================================================= */
.gap-dist {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.gap-dist-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.gap-dist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 5px;
  padding: 0.75rem 1.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all var(--dur-fast);
  text-decoration: none;
}
.gap-dist-badge:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

/* =============================================================
   FOOTER
   ============================================================= */
.gap-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.65);
  padding: clamp(2.5rem, 6vw, 4rem) var(--section-x) 2rem;
  position: relative;
  overflow: hidden;
}
.gap-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.gap-footer > * { position: relative; }
.gap-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  max-width: var(--max-w);
}
.gap-footer-brand { }
.gap-footer-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
}
.gap-footer-col h5 {
  font-family: 'Barlow', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.9rem;
}
.gap-footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color var(--dur-fast);
}
.gap-footer-col a:hover { color: var(--green); }
.gap-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  max-width: var(--max-w);
}
.gap-footer-links {
  display: flex;
  gap: 1.2rem;
}
.gap-footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.gap-footer-links a:hover { color: var(--green); }

/* Footer logo */
.gap-footer-logo svg text { fill: #fff; }

/* =============================================================
   PAGE / SINGULAR TEMPLATES
   ============================================================= */
.gap-page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 3.5rem) var(--section-x);
}
.gap-page-header h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  margin: 0;
}
.gap-page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) var(--section-x);
}
.gap-page-content > * + * { margin-top: 1.2rem; }
.gap-page-content h2 { margin-top: 2rem; }
.gap-page-content h3 { margin-top: 1.5rem; }
.gap-page-content ul, .gap-page-content ol { padding-left: 1.5rem; }
.gap-page-content li { margin-bottom: 0.4rem; }
.gap-page-content a { color: var(--green); }
.gap-page-content a:hover { color: var(--green-dark); }

/* =============================================================
   BLOG / ARCHIVE
   ============================================================= */
.gap-posts-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-y) var(--section-x);
}
.gap-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gap-post-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.gap-post-card:hover {
  border-color: var(--green);
  box-shadow: 0 4px 20px rgba(92,184,0,0.1);
}
.gap-post-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--green-light);
  overflow: hidden;
}
.gap-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gap-post-body { padding: 1.2rem 1.4rem 1.6rem; }
.gap-post-meta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.gap-post-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.gap-post-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .gap-footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .gap-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .gap-primary-nav { display: none; }
  .gap-hamburger { display: flex; }

  .gap-stats { grid-template-columns: repeat(2, 1fr); }
  .gap-stat-item:nth-child(2) { border-right: none; }
  .gap-stat-item:nth-child(3),
  .gap-stat-item:nth-child(4) { border-top: 1px solid var(--border); }

  .gap-hero-cards { grid-template-columns: 1fr; max-width: 100%; }

  .gap-footer-top { grid-template-columns: 1fr 1fr; }
  .gap-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .gap-footer-top { grid-template-columns: 1fr; }
  .gap-footer-brand { grid-column: auto; }
  .gap-why-grid { grid-template-columns: 1fr; }
  .gap-cat-grid { grid-template-columns: 1fr 1fr; }
  .gap-app-grid { grid-template-columns: repeat(2, 1fr); }
}
