/* ============================================
   Stahla Construction — Preview Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
  --primary-blue: #0097cf;
  --primary-blue-hover: #007baa;
  --near-black: #101820;
  --gold: #ffb548;
  --light-gray: #cfd2d4;
  --light-gray-bg: #f5f6f7;
  --green: #00a27e;
  --white: #ffffff;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: var(--near-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-blue-hover); }
ul, ol { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--near-black);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; margin-bottom: 16px; }
h3 { font-size: 24px; margin-bottom: 8px; }
h4 { font-size: 18px; }

p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.section-intro {
  font-size: 18px;
  color: #444;
  max-width: 800px;
  margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
  min-height: 48px;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-blue-hover); color: var(--white); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}
.btn-outline:hover { background: var(--primary-blue); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--near-black);
}
.btn-gold:hover { background: #e6a23e; color: var(--near-black); }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  height: var(--nav-height);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--near-black);
  font-weight: 600;
  border-left: 1px solid var(--light-gray);
  padding-left: 12px;
  line-height: 1.3;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 12px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--near-black);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-blue);
}

.nav-cta {
  padding: 10px 24px !important;
  font-size: 13px !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--near-black);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--near-black);
  color: var(--white);
  margin-top: var(--nav-height);
  overflow: hidden;
}

/* P0 FIX: Removed duplicate ::before overlay — inline gradient on hero element is sufficient */

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--white);
  font-size: 52px;
  margin-bottom: 20px;
  max-width: 750px;
}

.hero p {
  font-size: 20px;
  max-width: 640px;
  margin-bottom: 32px;
  opacity: 0.92;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-phone {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

.hero-phone:hover {
  color: #e6a23e;
}

/* Interior hero (non-home pages) */
.hero-interior {
  padding: 120px 0 60px;
}

.hero-interior h1 {
  font-size: 42px;
}

.hero-interior p {
  font-size: 18px;
}

/* --- Credibility Strip --- */
.credibility-strip {
  background: var(--light-gray-bg);
  border-bottom: 1px solid var(--light-gray);
  padding: 24px 0;
}

.credibility-strip .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--near-black);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cred-icon {
  width: 28px;
  height: 28px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--near-black);
  flex-shrink: 0;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--light-gray-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

/* --- Product Cards (Home) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card-label {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--near-black);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}

.product-card-img {
  height: 200px;
  background: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  color: var(--near-black);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

.product-card-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-link:hover { color: var(--primary-blue-hover); }

/* --- OSHA Compliance Callout --- */
.osha-callout {
  background: var(--near-black);
  color: var(--white);
  padding: 60px 0;
}

.osha-callout-inner {
  border-left: 4px solid var(--gold);
  padding-left: 32px;
  max-width: 800px;
}

.osha-callout h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.osha-callout .osha-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--near-black);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.osha-callout p {
  font-size: 18px;
  opacity: 0.92;
  line-height: 1.6;
}

.osha-callout .btn {
  margin-top: 24px;
}

/* --- How It Works --- */
.how-it-works {
  padding: 80px 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 0 16px;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step h3 {
  color: var(--near-black);
  font-size: 20px;
  margin-bottom: 12px;
}

.step p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--near-black);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Feature Blocks (Why Stahla) --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.feature-block {
  padding: 32px;
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.feature-block-gold {
  border-left: 4px solid var(--gold);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,151,207,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  color: var(--primary-blue);
}

.feature-block-gold .feature-icon {
  background: rgba(255,181,72,0.15);
  color: var(--gold);
}

.feature-block h3 {
  font-size: 20px;
  color: var(--near-black);
  margin-bottom: 12px;
}

.feature-block p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* --- Product Blocks (Solutions page) --- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 60px 0;
  border-bottom: 1px solid var(--light-gray);
}

.product-block:last-child { border-bottom: none; }

.product-block.reverse .product-block-img { order: 2; }
.product-block.reverse .product-block-content { order: 1; }

.product-block-img {
  height: 360px;
  background: var(--near-black);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  overflow: hidden;
}

.product-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.product-block-content h2 {
  margin-bottom: 16px;
}

.product-block-content p {
  margin-bottom: 20px;
  color: #444;
}

.spec-list {
  margin-bottom: 24px;
}

.spec-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 16px;
  color: #444;
}

.spec-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.config-list {
  margin-bottom: 24px;
}

.config-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 16px;
  color: #444;
}

.config-list li::before {
  content: '\2022';
  position: absolute;
  left: 8px;
  color: var(--primary-blue);
  font-weight: 700;
}

.use-cases-label {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--near-black);
  margin-bottom: 8px;
  margin-top: 24px;
}

.use-cases-list {
  margin-bottom: 24px;
}

.use-cases-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 16px;
  color: #444;
}

.use-cases-list li::before {
  content: '\2022';
  position: absolute;
  left: 8px;
  color: var(--primary-blue);
  font-weight: 700;
}

.how-label {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--near-black);
  margin-bottom: 8px;
  margin-top: 24px;
}

.best-for-label {
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--near-black);
  margin-bottom: 8px;
  margin-top: 24px;
}

/* --- Capacity Planning Table --- */
.capacity-table-wrap {
  overflow-x: auto;
  margin-bottom: 32px;
}

.capacity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.capacity-table th {
  background: var(--primary-blue);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.capacity-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--light-gray);
  color: #444;
}

.capacity-table tbody tr:hover {
  background: var(--light-gray-bg);
}

.capacity-table td:first-child {
  color: var(--near-black);
  font-weight: 600;
  white-space: nowrap;
}

/* --- Solutions Anchor Nav --- */
.solutions-nav {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 12px 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 998;
}

.solutions-nav .container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.solutions-nav a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--near-black);
  background: var(--light-gray-bg);
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solutions-nav a:hover,
.solutions-nav a.active {
  background: var(--primary-blue);
  color: var(--white);
}

/* --- FAQ Accordion --- */
.faq-section {
  padding: 80px 0;
}

.faq-item {
  border-bottom: 1px solid var(--light-gray);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--near-black);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--primary-blue); }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--primary-blue);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- Floating CTA Bar --- */
.floating-cta {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--primary-blue);
  padding: 10px 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.floating-cta.visible {
  transform: translateY(0);
}

.floating-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-cta-text {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.floating-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.floating-cta-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

.floating-cta-phone:hover { color: var(--gold); }

.floating-cta .btn {
  padding: 8px 20px;
  font-size: 12px;
  background: var(--white);
  color: var(--primary-blue);
}

.floating-cta .btn:hover {
  background: var(--light-gray-bg);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.form-section {
  background: var(--white);
  border-radius: 3px;
  padding: 40px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.form-section h2 { margin-bottom: 8px; }
.form-section .form-subtext {
  color: #666;
  font-size: 15px;
  margin-bottom: 24px;
}

.form-placeholder {
  background: var(--light-gray-bg);
  border: 2px dashed var(--light-gray);
  border-radius: 3px;
  padding: 60px 24px;
  text-align: center;
  color: #888;
  font-size: 15px;
}

.contact-card {
  background: var(--near-black);
  color: var(--white);
  border-radius: 3px;
  padding: 40px;
}

.contact-card h3 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gold);
}

.contact-detail-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.7;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-weight: 500;
}

.contact-detail-value a { color: var(--white); }
.contact-detail-value a:hover { color: var(--gold); }

.contact-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 14px;
  opacity: 0.85;
}

/* --- What to Expect --- */
.expect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.expect-step {
  text-align: center;
  padding: 24px 16px;
}

.expect-step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.expect-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.expect-step p {
  font-size: 15px;
  color: #555;
}

/* --- Footer --- */
.footer {
  background: var(--near-black);
  color: var(--white);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand span { color: var(--primary-blue); }

.footer-tagline {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 16px;
  color: var(--light-gray);
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-col p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* --- Mobile CTA (always visible next to hamburger) --- */
.nav-mobile-cta {
  display: none;
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--light-gray-bg);
  border-radius: 6px;
  padding: 32px 28px;
  border-left: 4px solid var(--gold);
}
.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-author strong {
  font-size: 15px;
  color: var(--near-black);
}
.testimonial-author span {
  font-size: 13px;
  color: #777;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 997;
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: var(--primary-blue-hover);
}

/* --- Product Grid Full (8 cards, home page) --- */
.product-grid-full {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-grid-full .product-card-img {
  height: 180px;
}

.product-grid-full .product-card-body p {
  font-size: 15px;
}

/* --- Config Tables (Solutions page) --- */
.config-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}

.config-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 8px;
}

.config-table th {
  background: var(--near-black);
  color: var(--white);
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.config-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--light-gray);
  color: #444;
}

.config-table tbody tr:hover {
  background: var(--light-gray-bg);
}

/* --- Support Equipment Grid --- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.support-card {
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.support-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.support-card-header h3 {
  margin-bottom: 0;
  font-size: 20px;
}

.support-card-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--near-black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.support-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 16px;
}

.support-card .spec-list {
  margin-bottom: 20px;
}

.support-card .spec-list li {
  font-size: 14px;
  padding: 4px 0 4px 20px;
}

.support-card .btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* --- Capacity Add-ons --- */
.capacity-note {
  background: var(--light-gray-bg);
  border-radius: 3px;
  padding: 32px;
  margin: 32px 0;
}

.capacity-note h3 {
  margin-bottom: 16px;
}

.capacity-addons {
  display: grid;
  gap: 8px;
}

.addon-item {
  font-size: 16px;
  color: #444;
  padding: 6px 0;
}

.addon-item strong {
  color: var(--near-black);
}

/* --- About Page: Founders Block --- */
.founders-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.founders-img {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.founders-img img {
  width: 100%;
  height: auto;
  display: block;
}

.founders-text h2 {
  margin-bottom: 16px;
}

.founders-text p {
  color: #444;
  line-height: 1.7;
}

/* --- About Page: By The Numbers --- */
.numbers-strip {
  background: var(--near-black);
  color: var(--white);
  padding: 48px 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.number-item {
  padding: 16px;
}

.number-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.number-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: 0.85;
}

/* --- About Page: Service Area Map --- */
.service-map-section {
  padding: 80px 0;
}

.service-map-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.map-container {
  background: var(--light-gray-bg);
  border-radius: 3px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.map-container svg,
.map-container img {
  width: 100%;
  height: auto;
}

.map-container svg .state {
  fill: var(--light-gray);
  stroke: var(--white);
  stroke-width: 1.5;
  transition: fill 0.2s;
}

.map-container svg .state.active {
  fill: var(--primary-blue);
  opacity: 0.85;
}

.map-container svg .state.home {
  fill: var(--gold);
}

.map-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-legend-swatch {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
}

.service-capabilities h3 {
  margin-bottom: 20px;
}

.service-list {
  margin-bottom: 32px;
}

.service-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 16px;
  color: #444;
  line-height: 1.5;
}

.service-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* --- About Page: Customer Archetypes --- */
.archetypes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.archetype-card {
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 32px;
  border-top: 4px solid var(--primary-blue);
  transition: transform 0.2s, box-shadow 0.2s;
}

.archetype-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.archetype-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,151,207,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.archetype-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.archetype-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 12px;
}

.archetype-stat {
  display: inline-block;
  background: var(--light-gray-bg);
  color: var(--near-black);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- About Page: Photo Gallery --- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.photo-gallery figure {
  margin: 0;
}

.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 3px;
}

.photo-gallery figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

/* --- Product Detail Pages --- */
.product-detail-header { margin-bottom: 48px; }
.product-detail-header p { font-size: 18px; color: #444; max-width: 800px; line-height: 1.7; }

.spec-detail-section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--light-gray); }
.spec-detail-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.spec-detail-section h3 { margin-bottom: 20px; }

.spec-detail-table-wrap { overflow-x: auto; margin-bottom: 24px; }

.spec-detail-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec-detail-table th { background: var(--near-black); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.spec-detail-table td { padding: 12px 16px; border-bottom: 1px solid var(--light-gray); color: #444; vertical-align: top; }
.spec-detail-table tbody tr:hover { background: var(--light-gray-bg); }
.spec-detail-table td:first-child { font-weight: 600; color: var(--near-black); white-space: nowrap; width: 200px; }

.related-equipment { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.related-card { background: var(--white); border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 24px; transition: transform 0.2s, box-shadow 0.2s; }
.related-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.related-card h4 { margin-bottom: 8px; }
.related-card p { font-size: 14px; color: #555; margin-bottom: 12px; }
.related-card a { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

.product-detail-img { margin-bottom: 48px; border-radius: 3px; overflow: hidden; max-height: 400px; }
.product-detail-img img { width: 100%; height: 400px; object-fit: cover; }

/* --- Case Study Cards --- */
.case-studies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-study-card { background: var(--white); border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); padding: 28px; border-left: 4px solid var(--primary-blue); transition: transform 0.2s, box-shadow 0.2s; }
.case-study-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.case-study-location { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary-blue); margin-bottom: 6px; }
.case-study-card h3 { font-size: 18px; margin-bottom: 10px; }
.case-study-card p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 16px; }
.case-study-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.case-study-meta span { font-size: 12px; font-weight: 600; color: var(--near-black); background: var(--light-gray-bg); padding: 4px 10px; border-radius: 2px; }

/* --- HubSpot Form Overrides --- */
#hubspot-form-placeholder .hs-form {
  font-family: 'Poppins', sans-serif;
}

#hubspot-form-placeholder .hs-form fieldset {
  max-width: 100% !important;
}

#hubspot-form-placeholder .hs-form-field {
  margin-bottom: 20px;
}

#hubspot-form-placeholder .hs-form-field > label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#hubspot-form-placeholder .hs-input {
  width: 100% !important;
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--near-black);
  background: var(--light-gray-bg);
  border: 2px solid transparent;
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

#hubspot-form-placeholder .hs-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: var(--white);
}

#hubspot-form-placeholder .hs-input::placeholder {
  color: #999;
  font-size: 15px;
}

#hubspot-form-placeholder select.hs-input {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

#hubspot-form-placeholder textarea.hs-input {
  min-height: 120px;
  resize: vertical;
}

/* Multi-column field rows */
#hubspot-form-placeholder .hs-form fieldset.form-columns-2 {
  display: flex;
  gap: 16px;
}

#hubspot-form-placeholder .hs-form fieldset.form-columns-2 .hs-form-field {
  flex: 1;
}

#hubspot-form-placeholder .hs-form fieldset.form-columns-3 {
  display: flex;
  gap: 16px;
}

#hubspot-form-placeholder .hs-form fieldset.form-columns-3 .hs-form-field {
  flex: 1;
}

/* Submit button */
#hubspot-form-placeholder .hs-submit {
  margin-top: 8px;
}

#hubspot-form-placeholder .hs-button {
  display: block;
  width: 100%;
  padding: 18px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

#hubspot-form-placeholder .hs-button:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-1px);
}

#hubspot-form-placeholder .hs-button:active {
  transform: translateY(0);
}

/* Error states */
#hubspot-form-placeholder .hs-error-msg,
#hubspot-form-placeholder .hs-error-msgs li {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #d9534f;
  margin-top: 4px;
  font-weight: 500;
}

#hubspot-form-placeholder .hs-input.invalid.error {
  border-color: #d9534f;
}

/* Legal / GDPR consent text */
#hubspot-form-placeholder .legal-consent-container {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

#hubspot-form-placeholder .legal-consent-container .hs-form-booleancheckbox-display {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

#hubspot-form-placeholder .legal-consent-container input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary-blue);
}

/* Rich text / description within form */
#hubspot-form-placeholder .hs-richtext {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Hide HubSpot branding if present */
#hubspot-form-placeholder .hs-form .hs_submit + .hs-form__virality-link {
  display: none;
}

/* Success/thank you message */
#hubspot-form-placeholder .submitted-message {
  text-align: center;
  padding: 40px 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: var(--near-black);
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .spec-detail-table td:first-child { white-space: normal; width: auto; }
  .product-detail-img img { height: 240px; }
  .related-equipment { grid-template-columns: 1fr; }
}

@media (max-width: 1199px) {
  h1 { font-size: 36px; }
  .hero h1 { font-size: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .product-grid-full { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .service-map-layout { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  :root { --nav-height: 64px; }

  body { font-size: 16px; }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .hero-interior { padding: 100px 0 40px; }
  .section { padding: 48px 0; }

  .nav-links { display: none; }
  .nav-links .nav-cta { display: none; } /* Hide CTA inside hamburger — we show it outside */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .nav-hamburger { display: flex; }
  /* P0 FIX: Always-visible CTA next to hamburger on mobile */
  .nav-mobile-cta {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-right: 8px;
  }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .credibility-strip .container {
    justify-content: flex-start;
    gap: 24px;
  }

  .product-grid { grid-template-columns: 1fr; }
  .product-grid-full { grid-template-columns: 1fr; gap: 16px; }
  .product-grid-full .product-card-img { height: 180px; }
  .product-grid-full .product-card-body { padding: 20px; }
  .product-grid-full .product-card-body p { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .product-block { grid-template-columns: 1fr; gap: 24px; }
  .product-block.reverse .product-block-img { order: 0; }
  .product-block.reverse .product-block-content { order: 0; }
  .product-block-img { height: 240px; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .expect-grid { grid-template-columns: 1fr; }

  .founders-block { grid-template-columns: 1fr; gap: 24px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .number-value { font-size: 36px; }
  .service-map-layout { grid-template-columns: 1fr; gap: 24px; }
  .archetypes-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }

  .solutions-nav .container { gap: 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }
  .solutions-nav a { font-size: 12px; padding: 6px 12px; white-space: nowrap; flex-shrink: 0; }
  .btn { font-size: 15px; padding: 14px 24px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-section { padding: 24px; }
  .contact-card { padding: 24px; }

  /* HubSpot form mobile: stack multi-column rows */
  #hubspot-form-placeholder .hs-form fieldset.form-columns-2,
  #hubspot-form-placeholder .hs-form fieldset.form-columns-3 {
    flex-direction: column;
    gap: 0;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .floating-cta-text { display: none; }
  .floating-cta .container { justify-content: center; }

  .cta-banner { padding: 40px 0; }

  .osha-callout { padding: 40px 0; }
  .how-it-works { padding: 48px 0; }
  .faq-section { padding: 48px 0; }
}
