/* PT Guangyin Indonusa Energi — Corporate & Industrial B2B Stylesheet
   Architectural Grid & Editorial Industrial Design */

:root {
  --ink: #11181c;
  --ink-muted: #525b61;
  --ink-light: #788288;
  --paper: #ffffff;
  --stone: #f3f2ee;
  --stone-dark: #e6e4de;
  --anthracite: #12191d;
  --anthracite-elevated: #1a2328;
  --anthracite-border: #2a353c;
  --brand-green: #0b4f3a;
  --brand-green-light: #126e51;
  --brand-copper: #b84a27;
  --border: #dcdad3;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 40px;
  }
}

/* ==================== TOP UTILITY BAR & HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 10px;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 78px;
    gap: 32px;
  }
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

@media (min-width: 1024px) {
  .brand-lockup {
    gap: 12px;
    flex: 0 0 auto;
  }
}

.brand-mark {
  width: 32px;
  height: 32px;
  background-color: var(--brand-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

.brand-name {
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  white-space: normal;
}

@media (min-width: 640px) {
  .brand-name {
    font-size: 14.5px;
    white-space: nowrap;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 30px;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }
}

.main-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--brand-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 12px;
  }
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--stone);
  flex-shrink: 0;
}

.lang-btn {
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink-muted);
}

@media (min-width: 640px) {
  .lang-btn {
    padding: 6px 10px;
  }
}

.lang-btn.active {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--brand-green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 20px;
  border: 1px solid var(--brand-green);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--brand-green-light);
}

.btn-primary.header-cta {
  display: none;
  white-space: nowrap;
  padding: 9px 16px;
  font-size: 12.5px;
}

@media (min-width: 1024px) {
  .btn-primary.header-cta {
    display: inline-flex;
  }
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background-color: var(--ink);
  color: var(--paper);
}

.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--paper);
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 16px 24px 24px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--stone-dark);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  background-color: var(--stone);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
  }
}

.hero-content {
  padding: 56px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--paper);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 72px 56px;
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green);
  margin-bottom: 16px;
  display: block;
}

.eyebrow-copper {
  color: var(--brand-copper);
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-visual {
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background-color: var(--anthracite);
  color: #ffffff;
}

@media (min-width: 992px) {
  .hero-visual {
    border-top: none;
    border-left: 1px solid var(--border);
  }
}

.hero-photo-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-bottom: 1px solid var(--anthracite-border);
}

@media (min-width: 992px) {
  .hero-photo-wrap {
    height: 360px;
  }
}

.hero-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  background: rgba(18, 25, 29, 0.88);
  font-family: var(--font-mono);
  font-size: 11px;
  color: #d1d5db;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hero-credentials {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  flex: 1;
}

.cred-item {
  border-left: 2px solid var(--brand-copper);
  padding-left: 16px;
}

.cred-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cred-desc {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
}

/* Metrics Bar */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--paper);
}

@media (min-width: 640px) {
  .metrics-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics-strip {
    grid-template-columns: repeat(6, 1fr);
  }
}

.metric-cell {
  padding: 24px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metric-label {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 6px;
  line-height: 1.35;
}

/* ==================== GENERAL SECTIONS ==================== */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.section-stone {
  background-color: var(--stone);
}

.section-dark {
  background-color: var(--anthracite);
  color: #ffffff;
  border-bottom-color: var(--anthracite-border);
}

.section-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.section-dark .section-header {
  border-bottom-color: var(--anthracite-border);
}

@media (min-width: 900px) {
  .section-header {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
}

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-desc {
  font-size: 14.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.section-dark .section-desc {
  color: #9ca3af;
}

/* ==================== ARCHITECTURAL BORDERED GRIDS ==================== */
.arch-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

@media (min-width: 768px) {
  .arch-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.arch-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

@media (min-width: 640px) {
  .arch-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .arch-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.arch-cell {
  padding: 28px 26px;
  background-color: var(--paper);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.section-dark .arch-grid-3,
.section-dark .arch-grid-4 {
  border-top-color: var(--anthracite-border);
  border-left-color: var(--anthracite-border);
}

.section-dark .arch-cell {
  background-color: var(--anthracite-elevated);
  border-right-color: var(--anthracite-border);
  border-bottom-color: var(--anthracite-border);
}

.cell-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-copper);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  display: block;
}

.cell-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.cell-body {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.section-dark .cell-body {
  color: #a3aeb4;
}

/* ==================== REVENUE BAR CHART ==================== */
.chart-box {
  background-color: var(--paper);
  border: 1px solid var(--border);
  padding: 28px;
}

.chart-scroll {
  overflow-x: auto;
  padding-top: 28px;
  padding-bottom: 8px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 220px;
  min-width: 720px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.bar-val {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--ink-muted);
  margin-bottom: 5px;
}

.bar-fill {
  width: 100%;
  max-width: 22px;
  background-color: var(--brand-green);
  transition: background-color 0.15s ease;
}

.bar-fill.forecast {
  background-color: var(--brand-copper);
}

.bar-col:hover .bar-fill {
  background-color: var(--ink);
}

.bar-year {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 8px;
}

/* ==================== FILTER BUTTONS ==================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--border);
  background-color: var(--paper);
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.active {
  background-color: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ==================== PRODUCT CARDS & SPEC TABLE ==================== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  border: 1px solid var(--border);
  background-color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-img-box {
  height: 220px;
  background-color: #161e22;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.product-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 4px 8px;
  border: 1px solid var(--border);
}

.product-body {
  padding: 24px;
}

.product-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.spec-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.spec-list li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink);
  padding: 5px 0;
  border-bottom: 1px dashed var(--stone-dark);
}

.product-footer {
  padding: 0 24px 24px;
}

/* Technical Spec Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--paper);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.spec-table th {
  background-color: var(--anthracite);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 14px 16px;
  white-space: nowrap;
}

.spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

.spec-table tr:nth-child(even) td {
  background-color: var(--stone);
}

/* ==================== PROJECTS GALLERY ==================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.project-card {
  background: var(--paper);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.project-card:hover {
  border-color: var(--ink);
}

.project-thumb {
  height: 185px;
  background: var(--anthracite);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-cap {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--anthracite);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
}

.project-info {
  padding: 16px;
}

.project-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand-copper);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.project-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

/* ==================== CALCULATOR & FORMS ==================== */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  background: var(--paper);
}

@media (min-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-inputs {
  padding: 36px;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .calc-inputs {
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
}

.calc-outputs {
  padding: 36px;
  background-color: var(--anthracite);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.range-group {
  margin-bottom: 24px;
}

.range-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--brand-green);
  cursor: pointer;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-green);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 28, 0.82);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--paper);
  border: 1px solid var(--ink);
  max-width: 680px;
  width: 100%;
}

/* ==================== COMMERCIAL UPGRADES: HERO SHOWCASE, SECTORS & COMPARISON ==================== */
.hero-value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .hero-value-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-value-item {
  border: 1px solid var(--border);
  background: var(--stone);
  padding: 14px 16px;
  border-left: 3px solid var(--brand-green);
}

.hero-value-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 3px;
}

.hero-value-item span {
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.4;
  display: block;
}

.hero-showcase-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--anthracite-border);
  background: #0d1316;
}

.hero-tab-btn {
  padding: 12px 10px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--anthracite-border);
  color: #9ca3af;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hero-tab-btn:last-child {
  border-right: none;
}

.hero-tab-btn.active {
  background: var(--brand-green);
  color: #ffffff;
}

.hero-tab-btn span {
  display: block;
  font-size: 10px;
  opacity: 0.8;
  margin-top: 2px;
}

.hero-spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--anthracite-border);
  background: #172025;
}

.hero-spec-cell {
  padding: 14px 16px;
  border-right: 1px solid var(--anthracite-border);
}

.hero-spec-cell:last-child {
  border-right: none;
}

.hero-spec-val {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.hero-spec-lbl {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}

/* Sector Solutions & ROI Cards */
.sector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sector-card {
  border: 1px solid var(--border);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sector-card:hover {
  border-color: var(--brand-green);
  box-shadow: 0 10px 28px rgba(17, 24, 28, 0.06);
}

.sector-img-wrap {
  position: relative;
  height: 220px;
  background: var(--anthracite);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.sector-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sector-roi-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-green);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  letter-spacing: 0.03em;
}

.sector-model-tag {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(18, 25, 29, 0.92);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 12px;
}

.sector-body {
  padding: 26px;
}

.sector-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.sector-desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.sector-Metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  background: var(--stone);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

.sector-metric-num {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-green);
}

.sector-metric-txt {
  font-size: 11.5px;
  color: var(--ink-muted);
}

.sector-footer {
  padding: 16px 26px;
  border-top: 1px solid var(--stone-dark);
  background: var(--stone);
  display: flex;
  gap: 10px;
}

/* Comparison Box: BESS vs Diesel Generator */
.compare-wrap {
  border: 1px solid var(--border);
  background: var(--paper);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  font-size: 13.5px;
  text-align: left;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: none;
}

.compare-col-bess {
  background-color: #eef6f3;
  color: var(--ink);
  font-weight: 600;
}

.compare-head-bess {
  background-color: var(--brand-green) !important;
  color: #ffffff !important;
}

/* Floating Quick Action Bar */
.floating-cta {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 95;
  display: flex;
  gap: 8px;
  background: var(--anthracite);
  border: 1px solid var(--ink);
  padding: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* ==================== MOBILE RESPONSIVENESS (< 640px) ==================== */
@media (max-width: 639px) {
  .section {
    padding: 48px 0;
  }

  .hero-content {
    padding: 28px 16px;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .hero-lead {
    font-size: 14.5px;
    margin-bottom: 22px;
  }

  .hero-photo-wrap {
    height: 220px;
  }

  .hero-photo-caption {
    padding: 8px 12px;
    font-size: 10px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .hero-tab-btn {
    padding: 10px 6px;
    font-size: 10px;
  }

  .hero-spec-cell {
    padding: 10px 8px;
  }

  .hero-spec-val {
    font-size: 13px;
  }

  .hero-spec-lbl {
    font-size: 10px;
  }

  .hero-credentials {
    padding: 20px 16px;
  }

  .metric-cell {
    padding: 16px 14px;
  }

  .metric-val {
    font-size: 1.25rem;
  }

  .arch-cell {
    padding: 20px 16px;
  }

  .sector-body {
    padding: 20px 16px;
  }

  .sector-footer {
    padding: 14px 16px;
    flex-direction: column;
  }

  .calc-inputs,
  .calc-outputs {
    padding: 22px 16px;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .floating-cta a {
    flex: 1;
    text-align: center;
  }
}


