/* ============================================================
   PROXIMETRIX PAGE – Specific styles
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.px-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.px-breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.px-breadcrumb a:hover { color: #fff; }
.px-breadcrumb span:last-child { color: rgba(255,255,255,0.85); }

/* ---------- Page Hero ---------- */
.px-hero {
  background: linear-gradient(135deg, #001a09 0%, #00351a 40%, #00632b 100%);
  color: #fff;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.px-hero::after {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,99,43,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.px-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.px-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}
.px-hero-content h1 { color: #fff; margin-bottom: 18px; }
.px-hero-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}
.px-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Dashboard mock ---------- */
.px-hero-visual { position: relative; z-index: 1; }
.px-dashboard-mock {
  background: #0d1f13;
  border: 1px solid rgba(0,99,43,0.4);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,99,43,0.2);
}
.px-dashboard-header {
  background: #0a1a0f;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.px-dashboard-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.px-dashboard-dot.red { background: #ff5f56; }
.px-dashboard-dot.amber { background: #ffbd2e; }
.px-dashboard-dot.green { background: #27c93f; }
.px-dashboard-title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.px-dashboard-body { padding: 20px; }
.px-dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.px-dash-metric { }
.px-dash-metric-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.px-dash-metric-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}
.px-dash-bar-fill {
  height: 100%;
  background: #00632b;
  border-radius: 3px;
  transition: width 1s ease;
}
.px-dash-bar-fill.amber { background: #f0a500; }
.px-dash-metric-val { font-size: 0.75rem; color: rgba(255,255,255,0.7); font-weight: 600; }
.px-dash-metric-val.amber-text { color: #f0a500; }

/* Chart */
.px-chart-area { margin-bottom: 16px; }
.px-chart-label { font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-bottom: 10px; }
.px-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
}
.px-bar {
  flex: 1;
  background: rgba(0,99,43,0.45);
  border-radius: 3px 3px 0 0;
  position: relative;
  min-height: 4px;
  transition: background 0.2s;
}
.px-bar.high { background: #00632b; }
.px-bar span {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}
.px-sensor-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.px-sensor-badge {
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35);
}
.px-sensor-badge.active {
  background: rgba(0,99,43,0.25);
  border-color: rgba(0,99,43,0.5);
  color: #6ee69e;
}

/* ---------- Language note ---------- */
.px-language-note {
  background: #fff8e6;
  border-bottom: 1px solid #ffe8a0;
  padding: 14px 0;
}
.px-language-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.px-language-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.px-language-inner p { font-size: 0.875rem; color: #5a4500; line-height: 1.6; }
.px-language-inner strong { color: #3a2c00; }

/* ---------- Origin / Founder's note ---------- */
.px-origin { background: #fff; }
.px-origin-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.px-portrait-placeholder {
  width: 220px;
  height: 220px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin: 0 auto;
}
.px-portrait-placeholder span {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.px-portrait-label {
  font-size: 0.75rem;
  text-align: center;
  font-weight: 600;
  color: var(--green-dark);
  line-height: 1.4;
}
.px-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.px-origin-right h2 { margin-bottom: 20px; }
.px-origin-right p { color: var(--grey); line-height: 1.75; margin-bottom: 16px; font-size: 1rem; }
.px-origin-right p strong { color: var(--dark); }

/* Pull quote */
.px-pull-quote {
  background: var(--dark);
  border-radius: 16px;
  padding: 48px 56px;
  text-align: center;
  position: relative;
}
.px-pull-quote-mark {
  font-size: 6rem;
  line-height: 0.6;
  color: var(--green);
  font-family: Georgia, serif;
  position: absolute;
  top: 28px;
  left: 40px;
  opacity: 0.4;
}
.px-pull-quote blockquote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 20px;
  font-style: normal;
  position: relative;
  z-index: 1;
}
.px-pull-quote cite {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
}

/* ---------- Case Study ---------- */
.px-case-sub { color: var(--grey); font-size: 1.05rem; margin-bottom: 40px; max-width: 640px; }
.px-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.px-case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.2s;
}
.px-case-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.px-case-card.primary {
  background: var(--green);
  border-color: var(--green);
}
.px-case-card.primary h3, .px-case-card.primary p { color: rgba(255,255,255,0.9); }
.px-case-card.primary .px-case-card-tag { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.px-case-card.primary .px-case-result { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); }
.px-case-card.primary .px-result-num { color: #fff; }
.px-case-card.primary .px-result-label { color: rgba(255,255,255,0.75); }
.px-case-card.primary .px-case-small { color: rgba(255,255,255,0.65); }
.px-case-card-icon { font-size: 1.6rem; margin-bottom: 12px; }
.px-case-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.px-case-card h3 { font-size: 1rem; margin-bottom: 10px; color: var(--dark); }
.px-case-card p { font-size: 0.875rem; color: var(--grey); line-height: 1.6; margin-bottom: 16px; }
.px-case-result {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.px-result-num { font-size: 1.6rem; font-weight: 800; color: var(--green); white-space: nowrap; }
.px-result-label { font-size: 0.8rem; color: var(--grey); line-height: 1.4; }
.px-result-label em { font-style: italic; }
.px-case-small { font-size: 0.8rem; color: var(--grey); font-style: italic; }

/* Lakeside testimonial */
.px-lakeside-quote {
  background: var(--dark);
  border-radius: 14px;
  padding: 36px 40px;
}
.px-lakeside-logo {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #6ee69e;
  margin-bottom: 16px;
}
.px-lakeside-quote blockquote {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 14px;
}
.px-lakeside-quote cite { font-size: 0.8rem; color: rgba(255,255,255,0.45); font-style: normal; }

/* ---------- Sensors section ---------- */
.px-sensors { background: #fff; }
.px-sensors-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
.px-sensors-left h2 { margin-bottom: 16px; }
.px-sensors-left p { color: var(--grey); line-height: 1.7; margin-bottom: 16px; font-size: 0.95rem; }
.px-sensors-note {
  background: var(--green-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.875rem;
  color: var(--dark);
  line-height: 1.6;
}
.px-sensors-note strong { color: var(--green); }
.px-sensors-note-link { display: block; margin-top: 8px; color: var(--green); font-weight: 600; font-size: 0.85rem; }
.px-sensor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.px-sensor-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 10px;
  transition: background 0.2s;
}
.px-sensor-item:hover { background: var(--off-white); }
.px-sensor-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.px-sensor-text h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.px-sensor-text p { font-size: 0.82rem; color: var(--grey); line-height: 1.55; }

/* ---------- CO2 section ---------- */
.px-co2 { background: var(--dark); }
.px-co2-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.px-co2-card {
  background: #0d1f13;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 32px;
}
.px-co2-levels { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 20px; justify-content: center; }
.px-co2-level { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; }
.px-co2-bar-wrap {
  width: 52px;
  height: 140px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.px-co2-fill {
  width: 100%;
  border-radius: 4px 4px 0 0;
}
.px-co2-fill.good { background: #27c93f; }
.px-co2-fill.ok { background: #f0a500; }
.px-co2-fill.poor { background: #e84848; }
.px-co2-level-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.px-co2-level-label strong { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.px-co2-level-label span { font-size: 0.7rem; color: rgba(255,255,255,0.45); }
.px-co2-status { font-size: 0.7rem; font-weight: 700; margin-top: 2px; }
.good-text { color: #27c93f; }
.ok-text { color: #f0a500; }
.poor-text { color: #e84848; }
.px-co2-card-footer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  line-height: 1.5;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.px-co2-content .px-section-label { color: #6ee69e; }
.px-co2-content h2 { color: #fff; margin-bottom: 16px; }
.px-co2-content p { color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 16px; font-size: 0.95rem; }
.px-co2-quote {
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  margin: 20px 0 28px;
  background: rgba(0,99,43,0.15);
  border-radius: 0 8px 8px 0;
}
.px-co2-quote p { color: rgba(255,255,255,0.75); font-style: italic; margin: 0; font-size: 0.9rem; }

/* ---------- Audit CTA section ---------- */
.px-audit {
  background: linear-gradient(135deg, #001a09 0%, #00351a 60%, #004d21 100%);
}
.px-audit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.px-audit-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6ee69e;
  background: rgba(110,230,158,0.1);
  border: 1px solid rgba(110,230,158,0.25);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.px-audit-content h2 { color: #fff; margin-bottom: 14px; }
.px-audit-content p { color: rgba(255,255,255,0.75); line-height: 1.7; margin-bottom: 24px; font-size: 1rem; }
.px-audit-list { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.px-audit-list li { display: flex; align-items: flex-start; gap: 12px; }
.px-audit-check {
  color: #6ee69e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.px-audit-list span:last-child { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.5; }
.px-audit-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: 14px;
  line-height: 1.6;
}

/* Form */
.px-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.px-form-card h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--dark); }
.px-form-sub { font-size: 0.875rem; color: var(--grey); margin-bottom: 24px; }
.px-form { display: flex; flex-direction: column; gap: 16px; }
.px-form-group { display: flex; flex-direction: column; gap: 5px; }
.px-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.px-form label { font-size: 0.82rem; font-weight: 600; color: var(--dark); }
.px-form input, .px-form textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.2s;
  width: 100%;
}
.px-form input:focus, .px-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,99,43,0.08);
}
.px-form textarea { resize: vertical; }
.px-form-privacy { font-size: 0.75rem; color: var(--grey); line-height: 1.5; margin-top: 8px; }
.px-form-privacy a { color: var(--green); }
.px-form-success { text-align: center; padding: 20px 0; }
.px-success-icon {
  width: 56px; height: 56px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--green);
  font-weight: 700;
  margin: 0 auto 16px;
}
.px-form-success h4 { font-size: 1.1rem; margin-bottom: 8px; }
.px-form-success p { font-size: 0.9rem; color: var(--grey); }

/* ---------- Tech nav ---------- */
.px-tech-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.px-tech-nav-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
  cursor: pointer;
}
.px-tech-nav-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }
.px-tech-nav-icon { font-size: 1.6rem; margin-bottom: 12px; }
.px-tech-nav-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.px-tech-nav-card p { font-size: 0.85rem; color: var(--grey); line-height: 1.55; flex: 1; margin-bottom: 14px; }
.px-tech-nav-link { font-size: 0.85rem; font-weight: 600; color: var(--green); }

/* Active nav link */
.nav-link--active { color: var(--green) !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .px-hero-inner { grid-template-columns: 1fr; }
  .px-hero-visual { display: none; }
  .px-origin-inner { grid-template-columns: 1fr; }
  .px-origin-left { display: none; }
  .px-pull-quote { padding: 36px 28px; }
  .px-pull-quote-mark { font-size: 4rem; }
  .px-case-grid { grid-template-columns: 1fr; }
  .px-sensors-inner { grid-template-columns: 1fr; gap: 36px; }
  .px-sensor-grid { grid-template-columns: 1fr; }
  .px-co2-inner { grid-template-columns: 1fr; }
  .px-audit-inner { grid-template-columns: 1fr; }
  .px-tech-nav-grid { grid-template-columns: 1fr; }
  .px-lakeside-quote { padding: 24px; }
  .px-form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .px-pull-quote blockquote { font-size: 1.2rem; }
  .px-co2-levels { gap: 10px; }
  .px-co2-bar-wrap { width: 40px; height: 110px; }
  .px-hero-ctas { flex-direction: column; }
  .px-hero-ctas .btn { width: 100%; }
}
