/* ============================================
   Stahla Site Trailer — Preview Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
  --dark-blue: #004e72;
  --primary-blue: #0097cf;
  --primary-blue-hover: #007baa;
  --gold: #ffb548;
  --near-black: #101820;
  --light-gray: #cfd2d4;
  --light-gray-bg: #f5f6f7;
  --red: #f3523f;
  --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: 16px;
  line-height: 1.7;
  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(--dark-blue); }
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(--dark-blue);
}

h1 { font-size: 44px; }
h2 { font-size: 32px; margin-bottom: 16px; }
h3 { font-size: 22px; 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: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
}

.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(--dark-blue);
  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;
  transition: opacity 0.3s ease;
}

.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);
}

/* --- Dropdown Nav --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 2px;
  transition: transform 0.2s;
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 240px;
  border-radius: 4px;
  padding: 8px 0;
  z-index: 1001;
  border-top: 2px solid var(--primary-blue);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--near-black);
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-menu a:hover {
  background: var(--light-gray-bg);
  color: var(--primary-blue);
}

.nav-dropdown-menu a::after {
  display: none;
}

/* --- Breadcrumb Navigation --- */
.breadcrumb {
  background: var(--light-gray-bg);
  padding: 12px 0;
  border-bottom: 1px solid var(--light-gray);
  margin-top: var(--nav-height);
}

.breadcrumb-list {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 13px;
  flex-wrap: wrap;
}

.breadcrumb-list li + li::before {
  content: '\203A';
  color: var(--light-gray);
  margin-right: 8px;
}

.breadcrumb-list a {
  color: var(--primary-blue);
}

.breadcrumb-list a:hover {
  color: var(--dark-blue);
}

.breadcrumb-list .current {
  color: #666;
}

/* Hero with breadcrumb: reduce top padding since breadcrumb consumes margin-top */
.breadcrumb + .hero {
  margin-top: 0;
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,78,114,0.95), rgba(0,78,114,0.75));
  z-index: 1;
}

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

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

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

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

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

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

/* Interior hero after breadcrumb */
.breadcrumb + .hero-interior {
  padding: 60px 0;
}

/* --- 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: 500;
  font-size: 14px;
  color: var(--dark-blue);
  white-space: nowrap;
}

.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(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

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

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

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

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

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

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

.product-card-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-blue);
}

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

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

.feature-block {
  text-align: center;
  padding: 32px 24px;
}

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

.feature-block h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-blue);
  margin-bottom: 12px;
}

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

/* --- CTA Banner --- */
.cta-banner {
  background: var(--dark-blue);
  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;
}

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

/* --- Product Blocks (Category pages) --- */
.product-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  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(--dark-blue);
  border-radius: 8px;
  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: 8px;
}

.product-showcase {
  width: 100%;
  max-width: 720px;
  display: block;
  margin: 0 auto 40px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.product-card-img a {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-img a:hover img {
  transform: scale(1.05);
}

.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: 14px;
  color: #444;
}

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

.applications-label {
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.applications-text {
  font-size: 14px;
  color: #555;
  font-style: italic;
}

/* --- Spec Table (Product Detail Pages) --- */
.spec-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

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

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

.spec-table td:first-child {
  font-weight: 600;
  color: var(--dark-blue);
  white-space: nowrap;
}

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

/* --- Comparison Table (Side-by-Side Product Comparison) --- */
.comparison-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th {
  background: var(--gold);
  color: var(--near-black);
  text-align: center;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.comparison-table th:first-child {
  background: var(--dark-blue);
  color: var(--white);
  text-align: left;
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--light-gray);
  text-align: center;
  font-size: 14px;
  color: #444;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--dark-blue);
  text-align: left;
  white-space: nowrap;
}

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

.comparison-table .highlight {
  background: rgba(0,151,207,0.06);
}

/* --- Package Card (Interior Packages) --- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.package-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.package-card h3 {
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.package-items {
  list-style: none;
}

.package-items li {
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #444;
}

.package-items li:last-child {
  border-bottom: none;
}

.package-items .item-name {
  font-weight: 500;
  color: var(--near-black);
}

.package-items .item-qty {
  font-weight: 600;
  color: var(--dark-blue);
  white-space: nowrap;
}

.package-card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-blue);
}

.package-card-link:hover {
  color: var(--dark-blue);
}

/* --- How It Works Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.step-card {
  padding: 32px 24px;
}

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

.step-card h3 {
  color: var(--dark-blue);
  font-size: 18px;
  margin-bottom: 12px;
}

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

/* --- Generator Sizing Guide Callout --- */
.sizing-guide {
  background: rgba(255,181,72,0.1);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 24px;
  margin: 24px 0;
}

.sizing-guide h4 {
  color: var(--dark-blue);
  margin-bottom: 12px;
}

.sizing-guide-item {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  color: #444;
}

.sizing-guide-item:last-child {
  border-bottom: none;
}

.sizing-guide-kw {
  font-weight: 700;
  color: var(--primary-blue);
  min-width: 80px;
  flex-shrink: 0;
}

.sizing-guide-desc {
  color: #444;
}

/* --- Overview Grid (About page) --- */
.overview-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.quick-ref {
  background: var(--light-gray-bg);
  border-radius: 8px;
  padding: 32px;
}

.quick-ref h3 {
  margin-bottom: 16px;
  color: var(--dark-blue);
}

.quick-ref-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 14px;
}

.quick-ref-item:last-child { border-bottom: none; }

.quick-ref-label { font-weight: 600; color: var(--dark-blue); }
.quick-ref-value { color: #444; text-align: right; }

/* --- Config Cards (product configurations within a category) --- */
.config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.config-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--light-gray);
}

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

.config-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--dark-blue);
}

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

.config-card-body {
  padding: 20px;
}

.config-card-body h4 {
  color: var(--dark-blue);
  font-size: 16px;
  margin-bottom: 8px;
}

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

.config-specs {
  list-style: none;
  margin-bottom: 12px;
}

.config-specs li {
  padding: 3px 0 3px 18px;
  position: relative;
  font-size: 13px;
  color: #444;
}

.config-specs li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}

.config-card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 13px;
  color: var(--primary-blue);
}

.config-card-link:hover {
  color: var(--dark-blue);
}

.config-capacity {
  display: inline-block;
  background: rgba(0,151,207,0.1);
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Support Equipment Cards --- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.support-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  border: 1px solid var(--light-gray);
  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-img {
  height: 100%;
  min-height: 160px;
  overflow: hidden;
  background: var(--dark-blue);
}

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

.support-card-body {
  padding: 20px;
}

.support-card-body h4 {
  color: var(--dark-blue);
  font-size: 16px;
  margin-bottom: 8px;
}

.support-card-body p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.support-card-body .config-specs {
  margin-bottom: 0;
}

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

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

.capacity-table th {
  background: var(--dark-blue);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  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(--dark-blue);
  white-space: nowrap;
}

.capacity-notes {
  display: grid;
  gap: 12px;
}

.capacity-note {
  padding: 14px 20px;
  background: rgba(0,151,207,0.06);
  border-left: 3px solid var(--primary-blue);
  border-radius: 4px;
  font-size: 14px;
  color: #444;
}

.capacity-note strong {
  color: var(--dark-blue);
}

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

.form-section {
  background: var(--white);
  border-radius: 8px;
  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: 14px;
  margin-bottom: 24px;
}

.contact-card {
  background: var(--dark-blue);
  color: var(--white);
  border-radius: 8px;
  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;
}

.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;
}

/* --- Response Badge --- */
.response-badge {
  display: inline-block;
  background: rgba(0,162,126,0.1);
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid rgba(0,162,126,0.2);
  margin-bottom: 24px;
}

/* --- 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: 16px;
  font-weight: 600;
  color: var(--dark-blue);
  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: 15px;
  color: #444;
  line-height: 1.7;
}

.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(--dark-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: 500;
}

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

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

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

.floating-cta .btn {
  padding: 8px 20px;
  font-size: 12px;
}

/* --- 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;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: background 0.2s;
}

.footer-social a:hover { background: var(--primary-blue); }

.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); }

/* --- Deployment / Capabilities List --- */
.capabilities-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.capabilities-list li {
  padding: 12px 16px 12px 36px;
  position: relative;
  font-size: 15px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

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

/* --- Core Competencies List --- */
.competencies-list {
  margin: 16px 0 24px;
}

.competencies-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 15px;
}

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

/* --- Category Section Header --- */
.category-header {
  margin-bottom: 24px;
}

.category-header h2 {
  margin-bottom: 12px;
}

.category-header p {
  font-size: 16px;
  color: #444;
  max-width: 800px;
}

/* --- Add-On Card (single product highlight) --- */
.addon-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--light-gray);
  margin-top: 40px;
}

.addon-card-img {
  height: 100%;
  min-height: 200px;
  overflow: hidden;
  background: var(--dark-blue);
}

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

.addon-card-body {
  padding: 28px;
}

.addon-card-body h4 {
  color: var(--dark-blue);
  font-size: 18px;
  margin-bottom: 8px;
}

.addon-card-body p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

/* --- Water/Waste Cards --- */
.ww-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.ww-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 3px solid var(--primary-blue);
}

.ww-card h3 {
  color: var(--dark-blue);
  font-size: 22px;
  margin-bottom: 20px;
}

.ww-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 14px;
}

.ww-spec-item:last-child {
  border-bottom: none;
}

.ww-spec-label {
  font-weight: 600;
  color: var(--dark-blue);
}

.ww-spec-value {
  color: #444;
  text-align: right;
}

/* --- Service Grid --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-item {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.service-item h3 {
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.service-freq {
  display: grid;
  gap: 8px;
}

.freq-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 14px;
}

.freq-row:last-child {
  border-bottom: none;
}

.freq-type {
  color: #444;
}

.freq-schedule {
  font-weight: 600;
  color: var(--dark-blue);
  white-space: nowrap;
}

/* --- Resource Grid --- */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.resource-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.resource-block {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.section-alt .resource-block {
  background: var(--white);
}

.resource-block h3 {
  color: var(--dark-blue);
  font-size: 18px;
  margin-bottom: 16px;
}

.resource-list {
  list-style: none;
}

.resource-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14px;
  color: #444;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.resource-list li:last-child {
  border-bottom: none;
}

.resource-list li::before {
  content: '>';
  position: absolute;
  left: 4px;
  color: var(--primary-blue);
  font-weight: 700;
}

/* --- Mega Menu --- */
.mega-menu {
  position: relative;
}

.mega-menu > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mega-menu > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 2px;
  transition: transform 0.2s;
}

.mega-menu:hover > a::after {
  transform: rotate(180deg);
}

.mega-menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 32px;
  z-index: 1001;
  border-top: 3px solid var(--primary-blue);
  min-width: 680px;
}

.mega-menu:hover .mega-menu-panel {
  display: block;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mega-menu-col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-blue);
  margin-bottom: 12px;
  font-weight: 700;
}

.mega-menu-col h4 a {
  color: var(--primary-blue);
  text-decoration: none;
}

.mega-menu-col h4 a:hover {
  color: var(--dark-blue);
}

.mega-menu-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--near-black);
  transition: color 0.15s, padding-left 0.15s;
}

.mega-menu-col a:hover {
  color: var(--primary-blue);
  padding-left: 4px;
}

.mega-menu-col a::after {
  display: none;
}

/* --- Inline CTA (mid-page) --- */
.inline-cta {
  background: linear-gradient(135deg, rgba(0,78,114,0.04), rgba(0,151,207,0.06));
  border: 1px solid rgba(0,151,207,0.15);
  border-radius: 8px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0;
}

.inline-cta p {
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-blue);
  margin: 0;
}

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

.inline-cta-phone {
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-blue);
}

.inline-cta-phone:hover {
  color: var(--primary-blue);
}

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

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

.back-to-top:hover {
  background: var(--dark-blue);
}

/* --- Form Success State --- */
.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success h3 {
  color: var(--green);
  margin-bottom: 12px;
  font-size: 24px;
}

.form-success p {
  color: #444;
  margin-bottom: 24px;
  font-size: 16px;
}

.form-success .btn {
  margin-top: 8px;
}

/* --- Social Proof Strip --- */
.social-proof {
  padding: 40px 0;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
}

.proof-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--dark-blue);
  line-height: 1.1;
}

.proof-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Trust Statement --- */
.trust-statement {
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.3px;
  border-top: 1px solid var(--light-gray);
}

/* --- Related Products --- */
.related-products {
  padding: 60px 0;
  background: var(--light-gray-bg);
}

.related-products .section-header {
  margin-bottom: 32px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Reuses .product-card styles from homepage */

/* --- Contact page: hide floating CTA --- */
body.page-contact .floating-cta {
  display: none;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
  h1 { font-size: 36px; }
  .hero h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .overview-grid { grid-template-columns: 1fr; }
  .config-grid { grid-template-columns: repeat(2, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

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

  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; }
  .breadcrumb + .hero-interior { padding: 40px 0; }
  .section { padding: 48px 0; }

  /* Nav */
  .nav-links { display: none; }
  .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; }

  /* Mega menu — mobile */
  .mega-menu-panel {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-radius: 0;
    padding: 0 0 0 8px;
    min-width: 0;
    display: none;
  }
  .mega-menu.open .mega-menu-panel {
    display: block;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mega-menu-col {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--light-gray);
  }
  .mega-menu-col:last-child {
    border-bottom: none;
  }
  .mega-menu > a::after {
    display: none;
  }

  /* Legacy dropdown nav — keep for backwards compat */
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding: 0 0 0 16px;
    min-width: 0;
  }
  .nav-links.open .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown > a::after {
    display: none;
  }

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

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

  /* Grids — stack on mobile */
  .product-grid { grid-template-columns: 1fr; }
  .feature-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; }
  .config-grid { grid-template-columns: 1fr !important; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card { grid-template-columns: 1fr; }
  .support-card-img { min-height: 180px; }
  .addon-card { grid-template-columns: 1fr; }
  .addon-card-img { min-height: 200px; }

  /* New components — mobile */
  .package-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .comparison-table { font-size: 13px; }
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; }

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

  /* Resource grids */
  .resource-grid { grid-template-columns: 1fr; }
  .resource-grid.two-col { grid-template-columns: 1fr; }
  .ww-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }

  /* Overview */
  .capabilities-list { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }

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

  /* Floating CTA */
  .floating-cta-text { display: none; }
  .floating-cta .container { justify-content: center; }

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

  /* Breadcrumb */
  .breadcrumb-list { font-size: 12px; }

  /* Inline CTA — stack on mobile */
  .inline-cta {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .inline-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .inline-cta-actions .btn { width: 100%; }

  /* Social proof — mobile */
  .proof-stats { gap: 32px; }
  .proof-number { font-size: 28px; }

  /* Related products — mobile */
  .related-grid { grid-template-columns: 1fr; }

  /* Two-column content blocks — stack on mobile */
  .two-col-block { grid-template-columns: 1fr !important; }

  /* Back to top — mobile */
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 18px; }
}
