/**
 * Gigawatt.vn Design System & Component Stylesheet
 * Prefix: .gw- | Custom Properties: --gw-
 * Does NOT override global .row, .button, or input of third-party plugins.
 */

:root {
  --gw-forest: #123C32;
  --gw-forest-dark: #0C2922;
  --gw-forest-light: #1A5245;
  --gw-solar: #F5C542;
  --gw-solar-hover: #EAB62B;
  --gw-solar-soft: #FDF6DF;
  --gw-ivory: #F7F8F2;
  --gw-white: #FFFFFF;
  --gw-ink: #182D27;
  --gw-muted: #52645C;
  --gw-line: #DCE5DE;
  --gw-success: #0D7A5F;
  --gw-warning: #B45309;
  --gw-danger: #B91C1C;
  /* Semantic token aliases */
  --gw-color-forest: #123C32;
  --gw-color-solar: #F5C542;
  --gw-bg-ivory: #F7F8F2;
  --gw-bg-white: #FFFFFF;
  --gw-text-ink: #182D27;
  --gw-text-muted: #52645C;
  --gw-border-line: #DCE5DE;
  --gw-status-success: #0D7A5F;
  --gw-status-warning: #B45309;
  --gw-status-danger: #B91C1C;
  --gw-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --gw-radius-card: 18px;
  --gw-radius-ctrl: 11px;
  --gw-shadow-sm: 0 2px 8px rgba(18, 60, 50, 0.05);
  --gw-shadow-md: 0 8px 28px rgba(18, 60, 50, 0.08);
  --gw-shadow-lg: 0 16px 40px rgba(18, 60, 50, 0.12);
  --gw-container: 1240px;
}

/* Base Scope */
body.gw-site {
  background-color: var(--gw-ivory);
  color: var(--gw-ink);
  font-family: var(--gw-font);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.gw-site #wrapper,
body.gw-site #main {
  background-color: var(--gw-ivory);
  overflow: visible !important;
  overflow-x: clip !important;
}

body.gw-scroll-locked {
  overflow: hidden !important;
}

/* Container & 12-Column Grid */
.gw-container {
  width: 100%;
  max-width: calc(var(--gw-container) + 64px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

.gw-grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.gw-section {
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}

.gw-section--sm {
  padding-top: 56px;
  padding-bottom: 56px;
}

.gw-section--forest {
  background-color: var(--gw-forest);
  color: var(--gw-white);
}

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

/* Typography */
.gw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--gw-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gw-muted);
  margin-bottom: 14px;
}

.gw-eyebrow--solar {
  color: var(--gw-solar);
}

.gw-eyebrow--forest {
  color: var(--gw-forest);
  background: rgba(18, 60, 50, 0.07);
  padding: 6px 12px;
  border-radius: 999px;
}

.gw-h1 {
  font-family: var(--gw-font);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--gw-ink);
  margin: 0 0 20px 0;
}

.gw-h1-dot {
  color: var(--gw-solar);
}

.gw-h2 {
  font-family: var(--gw-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--gw-ink);
  margin: 0 0 12px 0;
}

.gw-h2--white {
  color: var(--gw-white);
}

.gw-h3 {
  font-family: var(--gw-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--gw-ink);
  margin: 0 0 8px 0;
}

.gw-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gw-muted);
  margin: 0 0 28px 0;
}

.gw-lead--light {
  color: rgba(255, 255, 255, 0.84);
}

/* Buttons (Minimum height 44px, radius 10-12px, Yellow uses Forest text) */
.gw-btn,
button.gw-btn,
a.gw-btn,
input[type="submit"].gw-btn,
input[type="button"].gw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 22px;
  border-radius: var(--gw-radius-ctrl);
  font-family: var(--gw-font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
  vertical-align: middle;
}

.gw-btn:focus-visible,
.gw-input:focus-visible,
.gw-select:focus-visible,
.gw-nav-link:focus-visible {
  outline: 3px solid var(--gw-solar);
  outline-offset: 2px;
}

.gw-btn--solar {
  background-color: var(--gw-solar);
  color: var(--gw-forest) !important;
  border-color: var(--gw-solar);
  font-weight: 700;
}

.gw-btn--solar:hover {
  background-color: var(--gw-solar-hover);
  border-color: var(--gw-solar-hover);
  color: var(--gw-forest) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 197, 66, 0.32);
}

.gw-btn--forest {
  background-color: var(--gw-forest);
  color: var(--gw-white) !important;
  border-color: var(--gw-forest);
}

.gw-btn--forest:hover {
  background-color: var(--gw-forest-light);
  border-color: var(--gw-forest-light);
  color: var(--gw-white) !important;
  transform: translateY(-1px);
}

.gw-btn--outline {
  background-color: var(--gw-white);
  color: var(--gw-ink) !important;
  border-color: var(--gw-line);
}

.gw-btn--outline:hover {
  border-color: var(--gw-forest);
  color: var(--gw-forest) !important;
  background-color: var(--gw-ivory);
}

.gw-btn--ghost-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gw-white) !important;
  border-color: rgba(255, 255, 255, 0.24);
}

.gw-btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.gw-btn--sm,
button.gw-btn--sm,
a.gw-btn--sm {
  height: 42px;
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.gw-btn--full {
  width: 100%;
}

/* Form Controls */
.gw-field {
  margin-bottom: 16px;
}

.gw-input,
.gw-select,
.gw-textarea,
input.gw-input,
select.gw-select,
textarea.gw-textarea {
  width: 100%;
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 14px;
  font-family: var(--gw-font);
  font-size: 15px;
  color: var(--gw-ink);
  background-color: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-ctrl);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin: 0 !important;
}

.gw-textarea,
textarea.gw-textarea {
  height: auto !important;
  min-height: 100px !important;
  padding: 12px 14px;
  resize: vertical;
}

.gw-input:focus,
.gw-select:focus,
.gw-textarea:focus {
  border-color: var(--gw-forest);
  box-shadow: 0 0 0 3px rgba(18, 60, 50, 0.12);
  outline: none;
}

.gw-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gw-ink);
  margin-bottom: 6px;
}

.gw-field-hint {
  display: block;
  font-size: 13px;
  color: var(--gw-muted);
  margin-top: 4px;
}

.gw-field-error {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gw-danger);
  margin-top: 4px;
}

/* =========================================================
   1. HEADER (Desktop 80px, Mobile 64px)
   ========================================================= */
.gw-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background-color: rgba(247, 248, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gw-line);
}

.gw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 24px;
}

.gw-logo-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  text-decoration: none;
  flex-shrink: 0;
}

.gw-logo-img {
  width: 178px;
  height: auto;
  display: block;
}

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

.gw-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gw-nav__item {
  position: relative;
  margin: 0;
}

.gw-nav-link {
  font-family: var(--gw-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--gw-forest);
  text-decoration: none;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.15s ease;
}

.gw-nav-link:hover,
.gw-nav-link.is-active {
  color: var(--gw-forest-light);
  text-decoration: underline;
  text-decoration-color: var(--gw-solar);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Submenu dropdown for Giai phap */
.gw-nav__item--has-sub:hover .gw-nav__sub,
.gw-nav__item--has-sub:focus-within .gw-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gw-nav__sub {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 250px;
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: 14px;
  box-shadow: var(--gw-shadow-md);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.18s ease;
  z-index: 100;
}

.gw-nav__sub li {
  margin: 0;
}

.gw-nav__sub a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gw-ink);
  text-decoration: none;
  border-radius: 9px;
}

.gw-nav__sub a:hover {
  background: var(--gw-ivory);
  color: var(--gw-forest);
  font-weight: 600;
}

.gw-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gw-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gw-line);
  background: var(--gw-white);
  color: var(--gw-forest);
  cursor: pointer;
  padding: 0;
}

/* Mobile Drawer Navigation */
.gw-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 60, 50, 0.45);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gw-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.gw-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: var(--gw-white);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
}

.gw-drawer.is-open {
  transform: translateX(0);
}

.gw-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gw-line);
}

.gw-drawer__close {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--gw-line);
  background: var(--gw-ivory);
  color: var(--gw-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gw-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.gw-drawer__nav {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}

.gw-drawer__nav li {
  border-bottom: 1px solid var(--gw-line);
  margin: 0;
}

.gw-drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--gw-ink);
  text-decoration: none;
}

.gw-drawer__sub {
  list-style: none;
  margin: 0 0 10px 12px;
  padding: 0;
}

.gw-drawer__sub li {
  border-bottom: none;
}

.gw-drawer__sub a {
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gw-muted);
}

/* =========================================================
   2. HERO SECTION (45% Text / 55% Image)
   ========================================================= */
.gw-hero {
  padding-top: 44px;
  padding-bottom: 36px;
}

.gw-hero__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
}

.gw-hero__content {
  padding-right: 8px;
}

.gw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gw-hero__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--gw-shadow-md);
  background: var(--gw-forest);
}

.gw-hero__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.gw-img-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(18, 60, 50, 0.82);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.gw-img-badge--left {
  right: auto;
  left: 14px;
}

/* =========================================================
   3. QUICK ESTIMATE BAR (Horizontal Card)
   ========================================================= */
.gw-quick-est-wrap {
  margin-top: -12px;
  margin-bottom: 24px;
  position: relative;
  z-index: 10;
}

.gw-quick-est {
  background-color: #EFECE1;
  background-image: linear-gradient(180deg, #F3F4EC 0%, #ECEEE4 100%);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 3.4fr 3.8fr 4.8fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--gw-shadow-sm);
}

.gw-quick-est__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gw-ink);
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.gw-quick-est__desc {
  font-size: 13.5px;
  color: var(--gw-muted);
  margin: 0;
}

.gw-quick-est__type-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gw-type-pill {
  flex: 1;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: var(--gw-radius-ctrl);
  border: 1px solid var(--gw-line);
  background: var(--gw-white);
  color: var(--gw-ink);
  font-family: var(--gw-font);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.gw-type-pill.is-active {
  background: var(--gw-forest);
  color: var(--gw-white);
  border-color: var(--gw-forest);
}

.gw-quick-est__input-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gw-quick-est__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gw-quick-est__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gw-ink);
}

.gw-mode-toggle-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--gw-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gw-forest);
  text-decoration: underline;
  cursor: pointer;
}

.gw-quick-est__form-row {
  display: flex;
  gap: 10px;
}

.gw-quick-est__form-row .gw-input {
  flex: 1;
}

/* =========================================================
   4. SOLUTIONS 3 CARDS
   ========================================================= */
.gw-section-head {
  margin-bottom: 36px;
}

.gw-section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

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

.gw-sol-card {
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw-sol-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gw-shadow-md);
}

.gw-sol-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gw-ivory);
}

.gw-sol-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gw-sol-card:hover .gw-sol-card__media img {
  transform: scale(1.03);
}

.gw-sol-card__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gw-sol-card__desc {
  font-size: 15px;
  color: var(--gw-muted);
  margin: 0 0 18px 0;
  flex: 1;
}

.gw-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gw-forest);
  text-decoration: none;
}

.gw-link-arrow:hover {
  color: var(--gw-forest-light);
  gap: 10px;
}

/* =========================================================
   5. CALCULATOR PREVIEW SECTION (Dark Forest #123C32)
   ========================================================= */
.gw-calc-promo {
  background-color: var(--gw-forest);
  border-radius: 24px;
  padding: 56px 48px;
  color: var(--gw-white);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 44px;
  align-items: center;
}

.gw-calc-preview-card {
  background: var(--gw-white);
  color: var(--gw-ink);
  border-radius: var(--gw-radius-card);
  padding: 24px 28px;
  box-shadow: var(--gw-shadow-lg);
}

.gw-preview-tabs {
  display: inline-flex;
  background: var(--gw-ivory);
  border: 1px solid var(--gw-line);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.gw-preview-tab {
  min-height: 38px;
  padding: 6px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  font-family: var(--gw-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--gw-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.gw-preview-tab.is-active {
  background: var(--gw-white);
  color: var(--gw-forest);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.gw-preview-pane {
  display: none;
}

.gw-preview-pane.is-active {
  display: block;
}

.gw-preview-sys-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
  align-items: center;
}

.gw-preview-kwp-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gw-muted);
}

.gw-preview-kwp-val {
  font-size: 34px;
  font-weight: 800;
  color: var(--gw-forest);
  line-height: 1.15;
  margin: 2px 0;
}

.gw-demo-note {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gw-muted);
  background: var(--gw-ivory);
  border: 1px solid var(--gw-line);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.gw-preview-stat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--gw-line);
  padding-top: 14px;
}

.gw-preview-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gw-preview-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--gw-ivory);
  color: var(--gw-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gw-preview-stat-text span {
  display: block;
  font-size: 12.5px;
  color: var(--gw-muted);
}

.gw-preview-stat-text strong {
  font-size: 14.5px;
  color: var(--gw-ink);
}

.gw-donut-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gw-donut-chart {
  position: relative;
  width: 164px;
  height: 164px;
  flex-shrink: 0;
}

.gw-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.gw-donut-center__lbl {
  font-size: 11px;
  color: var(--gw-muted);
}

.gw-donut-center__val {
  font-size: 16px;
  font-weight: 800;
  color: var(--gw-ink);
  line-height: 1.2;
}

.gw-donut-center__sub {
  font-size: 10px;
  color: var(--gw-muted);
}

.gw-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
}

.gw-donut-legend__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.gw-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}

/* =========================================================
   6. PROJECTS / REAL-WORLD APPLICATIONS (Asymmetric Grid)
   ========================================================= */
.gw-proj-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 28px;
}

.gw-proj-card {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.gw-proj-card__media {
  position: relative;
  border-radius: var(--gw-radius-card);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
  background: var(--gw-forest);
}

.gw-proj-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gw-proj-card:hover .gw-proj-card__media img {
  transform: scale(1.03);
}

.gw-proj-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gw-ink);
  margin: 0 0 4px 0;
}

.gw-proj-card__loc {
  font-size: 14px;
  font-weight: 600;
  color: var(--gw-forest);
  margin: 0;
}

/* =========================================================
   7. 4-STEP INSTALLATION PROCESS (Horizontal Desktop, Vertical Mobile)
   ========================================================= */
.gw-steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gw-step-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  padding: 22px 20px;
}

.gw-step-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gw-forest);
  color: var(--gw-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gw-step-item__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--gw-muted);
  display: block;
  margin-bottom: 2px;
}

.gw-step-item__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gw-ink);
  margin: 0 0 6px 0;
}

.gw-step-item__desc {
  font-size: 13.5px;
  color: var(--gw-muted);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   8. KNOWLEDGE SECTION (1 Featured + 2 Short Posts)
   ========================================================= */
.gw-know-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 28px;
}

.gw-know-featured {
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gw-know-featured__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gw-ivory);
}

.gw-know-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gw-know-featured__body {
  padding: 26px;
}

.gw-know-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gw-know-card-sm {
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gw-topic-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--gw-forest);
  background: rgba(18, 60, 50, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: fit-content;
}

/* =========================================================
   9. YELLOW CTA BANNER & CONSULTATION FORM (#F5C542)
   ========================================================= */
.gw-cta-yellow {
  background-color: var(--gw-solar);
  border-radius: 22px;
  padding: 36px 44px;
  color: var(--gw-forest);
}

.gw-cta-yellow__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.gw-cta-yellow__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--gw-forest);
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.gw-cta-yellow__sub {
  font-size: 15px;
  color: var(--gw-forest-dark);
  margin: 0;
}

.gw-cta-yellow__form {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(18, 60, 50, 0.16);
}

.gw-cta-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.gw-consent-row {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gw-forest);
}

.gw-consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gw-forest);
  margin: 0;
}

.gw-consent-row a {
  color: var(--gw-forest);
  font-weight: 700;
  text-decoration: underline;
}

/* =========================================================
   10. FOOTER (Dark Forest #123C32)
   ========================================================= */
.gw-footer {
  background-color: var(--gw-forest);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 64px;
  padding-bottom: 40px;
}

.gw-footer__grid {
  display: grid;
  grid-template-columns: 3.5fr 2fr 2fr 2fr 2.5fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.gw-footer__logo {
  width: 172px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.gw-footer__tagline {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 18px 0;
  max-width: 280px;
}

.gw-footer__heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--gw-white);
  margin: 0 0 16px 0;
}

.gw-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gw-footer__links li {
  margin: 0;
}

.gw-footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  transition: color 0.15s ease;
}

.gw-footer__links a:hover {
  color: var(--gw-solar);
}

.gw-footer__bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.64);
  flex-wrap: wrap;
}

.gw-footer__bottom-links {
  display: flex;
  gap: 20px;
}

.gw-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.gw-footer__bottom-links a:hover {
  color: var(--gw-solar);
}

/* =========================================================
   11. MOBILE STICKY BOTTOM BAR (2 Buttons: Tính chi phí / Tư vấn)
   ========================================================= */
.gw-mobile-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 980;
  background: var(--gw-white);
  border-top: 1px solid var(--gw-line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 20px rgba(18, 60, 50, 0.1);
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

body.gw-keyboard-open .gw-mobile-sticky-bar {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

/* =========================================================
   12. SOLAR CALCULATOR PAGE (/tinh-he-thong-solar/)
   Desktop: 8/12 Input Wizard + 4/12 Sticky Summary
   ========================================================= */
.gw-calc-page-wrap {
  padding-top: 40px;
  padding-bottom: 80px;
}

.gw-calc-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.gw-step-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gw-white);
  border: 2px solid var(--gw-line);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  font-family: var(--gw-font);
  transition: all 0.18s ease;
}

.gw-step-tab.is-active {
  border-color: var(--gw-forest);
  background: #F0F5F2;
}

.gw-step-tab__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gw-ivory);
  border: 1px solid var(--gw-line);
  color: var(--gw-forest);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gw-step-tab.is-active .gw-step-tab__num {
  background: var(--gw-forest);
  border-color: var(--gw-forest);
  color: var(--gw-white);
}

.gw-step-tab__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gw-ink);
}

.gw-step-tab__sub {
  display: block;
  font-size: 12.5px;
  color: var(--gw-muted);
}

.gw-calc-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.gw-calc-main {
  grid-column: span 8;
}

.gw-calc-aside {
  grid-column: span 4;
  position: sticky;
  top: 98px;
}

.gw-card {
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  padding: 28px;
  box-shadow: var(--gw-shadow-sm);
  margin-bottom: 24px;
}

.gw-wizard-step {
  display: none;
}

.gw-wizard-step.is-active {
  display: block;
}

.gw-form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.gw-form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.gw-radio-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.gw-radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--gw-line);
  border-radius: 12px;
  background: var(--gw-white);
  cursor: pointer;
  transition: all 0.15s ease;
}

.gw-radio-card.is-active {
  border-color: var(--gw-forest);
  background: #F3F7F5;
}

.gw-radio-card input {
  margin-top: 4px;
  accent-color: var(--gw-forest);
}

.gw-summary-box {
  background: var(--gw-forest);
  color: var(--gw-white);
  border-radius: var(--gw-radius-card);
  padding: 24px;
  box-shadow: var(--gw-shadow-md);
}

.gw-summary-box__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.gw-summary-box__row:last-of-type {
  border-bottom: none;
}

.gw-summary-box__total {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
}

/* Result Tabs (Tổng quan / Vật tư / Vốn vay) */
.gw-result-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--gw-line);
  margin-bottom: 24px;
  overflow-x: auto;
}

.gw-result-tab-btn {
  min-height: 46px;
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font-family: var(--gw-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--gw-muted);
  cursor: pointer;
  white-space: nowrap;
}

.gw-result-tab-btn.is-active {
  color: var(--gw-forest);
  border-bottom-color: var(--gw-forest);
}

.gw-result-pane {
  display: none;
}

.gw-result-pane.is-active {
  display: block;
}

.gw-kpi-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.gw-kpi-box {
  background: var(--gw-ivory);
  border: 1px solid var(--gw-line);
  border-radius: 14px;
  padding: 16px;
}

.gw-kpi-box__lbl {
  font-size: 12.5px;
  color: var(--gw-muted);
  display: block;
  margin-bottom: 4px;
}

.gw-kpi-box__val {
  font-size: 22px;
  font-weight: 800;
  color: var(--gw-forest);
}

.gw-kpi-box__sub {
  font-size: 12px;
  color: var(--gw-muted);
  display: block;
  margin-top: 2px;
}

/* Tables (BOM & Loan Amortization) */
.gw-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--gw-line);
  border-radius: 14px;
}

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

.gw-table th {
  background: var(--gw-ivory);
  color: var(--gw-ink);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gw-line);
}

.gw-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gw-line);
  color: var(--gw-ink);
}

.gw-table tr:last-child td {
  border-bottom: none;
}

.gw-table .gw-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   13. PRODUCTS CATALOG (/san-pham/) & SINGLE PRODUCT (45% / 55%)
   ========================================================= */
.gw-shop-layout {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: 28px;
  align-items: start;
}

.gw-filter-card {
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  padding: 22px;
  position: sticky;
  top: 98px;
}

.gw-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gw-prod-card {
  background: var(--gw-white);
  border: 1px solid var(--gw-line);
  border-radius: var(--gw-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gw-prod-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gw-shadow-md);
}

.gw-prod-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--gw-ivory);
  overflow: hidden;
}

.gw-prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gw-prod-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gw-prod-detail-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 40px;
  align-items: start;
}

/* =========================================================
   14. RESPONSIVE BREAKPOINTS (1024px, 768px, 390px, 360px)
   ========================================================= */
@media (max-width: 1024px) {
  .gw-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .gw-h1 {
    font-size: 44px;
  }
  .gw-h2 {
    font-size: 32px;
  }
  .gw-hero__grid,
  .gw-calc-promo,
  .gw-prod-detail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .gw-quick-est {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gw-sol-grid,
  .gw-prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-steps-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-calc-main,
  .gw-calc-aside {
    grid-column: span 12;
    position: static;
  }
  .gw-shop-layout {
    grid-template-columns: 1fr;
  }
  .gw-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-cta-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.gw-site {
    padding-bottom: 76px;
  }
  .gw-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .gw-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .gw-header__inner {
    height: 64px;
  }
  .gw-logo-img {
    width: 142px;
  }
  .gw-nav,
  .gw-header__cta-desktop {
    display: none !important;
  }
  .gw-mobile-toggle {
    display: inline-flex;
  }
  .gw-h1 {
    font-size: 36px;
  }
  .gw-h2 {
    font-size: 28px;
  }
  .gw-hero {
    padding-top: 24px;
  }
  .gw-hero__actions {
    flex-direction: column;
  }
  .gw-hero__actions .gw-btn {
    width: 100%;
  }
  .gw-quick-est__form-row {
    flex-direction: column;
  }
  .gw-quick-est__form-row .gw-btn {
    width: 100%;
  }
  .gw-sol-grid,
  .gw-proj-grid,
  .gw-steps-timeline,
  .gw-know-grid,
  .gw-prod-grid,
  .gw-form-row-2,
  .gw-form-row-3,
  .gw-radio-cards,
  .gw-calc-stepper,
  .gw-preview-sys-grid,
  .gw-cta-form-grid,
  .gw-footer__grid {
    grid-template-columns: 1fr;
  }
  .gw-kpi-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-calc-promo {
    padding: 32px 20px;
  }
  .gw-calc-preview-card {
    padding: 18px;
  }
  .gw-donut-wrap {
    flex-direction: column;
    align-items: center;
  }
  .gw-cta-yellow {
    padding: 28px 20px;
  }
  .gw-mobile-sticky-bar {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   15. FLOATING HEADER, BACK TO TOP & SUBPAGE COMPONENTS
   ========================================================= */
.gw-header.is-floating {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 8px 28px rgba(18, 60, 50, 0.1);
}

body.admin-bar .gw-header.is-floating,
body.admin-bar .gw-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .gw-header.is-floating {
    top: 46px;
  }
}

/* Back to Top Button */
.gw-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 985;
  width: 46px;
  height: 46px;
  min-height: 46px;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50%;
  background-color: var(--gw-forest);
  color: var(--gw-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(18, 60, 50, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background-color 0.18s ease, color 0.18s ease;
}

.gw-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gw-back-to-top:hover,
.gw-back-to-top:focus-visible {
  background-color: var(--gw-solar);
  color: var(--gw-forest);
  border-color: var(--gw-forest);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .gw-back-to-top {
    bottom: 84px;
    right: 16px;
    width: 42px;
    height: 42px;
    min-height: 42px;
  }
}

/* Subpage Hero & Breadcrumbs */
.gw-page-hero {
  background-color: var(--gw-ivory);
  border-bottom: 1px solid var(--gw-line);
  padding: 44px 0 40px;
}

.gw-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gw-muted);
  margin-bottom: 14px;
}

.gw-breadcrumb a {
  color: var(--gw-forest);
  text-decoration: none;
  font-weight: 600;
}

.gw-breadcrumb a:hover {
  text-decoration: underline;
}

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

.gw-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.gw-section-header .gw-lead {
  max-width: 520px;
  margin-bottom: 0;
}

/* Utility Grids & Typography Helpers */
.gw-grid {
  display: grid;
  gap: 24px;
}

.gw-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gw-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gw-text-muted {
  color: var(--gw-muted);
}

.gw-text-sm {
  font-size: 14px;
  line-height: 1.55;
}

.gw-num {
  font-variant-numeric: tabular-nums;
}

.gw-btn--outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--gw-white) !important;
  border-color: rgba(255, 255, 255, 0.28);
}

.gw-btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--gw-white) !important;
}

/* Badges */
.gw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
}

.gw-badge--solar {
  background-color: var(--gw-solar);
  color: var(--gw-forest);
}

.gw-badge--forest {
  background-color: var(--gw-forest);
  color: var(--gw-white);
}

.gw-badge--illustrative {
  background-color: var(--gw-ivory);
  color: var(--gw-muted);
  border: 1px solid var(--gw-line);
}

/* Subpage Cards (Solutions, Products, Projects, Benefits) */
.gw-solution-card,
.gw-product-card,
.gw-project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.gw-solution-card__media,
.gw-project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--gw-ivory);
  overflow: hidden;
}

.gw-product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gw-ivory);
  overflow: hidden;
  display: block;
}

.gw-solution-card__media img,
.gw-product-card__media img,
.gw-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gw-solution-card__tag,
.gw-project-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.gw-solution-card__tag {
  background: rgba(18, 60, 50, 0.9);
  color: var(--gw-white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}

.gw-solution-card__body,
.gw-product-card__body,
.gw-project-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gw-solution-card__specs,
.gw-product-card__specs {
  list-style: none;
  margin: 12px 0 18px;
  padding: 12px 0 0;
  border-top: 1px solid var(--gw-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
}

.gw-solution-card__specs li,
.gw-product-card__spec-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--gw-muted);
}

.gw-solution-card__specs li strong,
.gw-product-card__spec-row strong {
  color: var(--gw-ink);
  text-align: right;
}

.gw-product-card__brand {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gw-forest);
  margin-bottom: 4px;
}

.gw-product-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.gw-product-card__title a {
  color: var(--gw-ink);
  text-decoration: none;
}

.gw-product-card__title a:hover {
  color: var(--gw-forest);
}

.gw-product-card__price {
  font-size: 19px;
  font-weight: 800;
  color: var(--gw-forest);
  margin: 4px 0 16px;
}

.gw-benefit-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gw-solar);
  color: var(--gw-forest);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.gw-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--gw-line);
  border-radius: 14px;
  background: var(--gw-white);
}

/* Ensure 8/12 + 4/12 layout works for both calculator and single knowledge post */
.gw-calc-layout > article {
  grid-column: span 8;
}

.gw-calc-layout > aside,
.gw-calc-sidebar {
  grid-column: span 4;
  position: sticky;
  top: 98px;
}

.gw-prose h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--gw-forest);
  margin: 28px 0 12px;
  scroll-margin-top: 104px;
}

.gw-prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gw-ink);
  margin: 22px 0 10px;
  scroll-margin-top: 104px;
}

.gw-prose p,
.gw-prose ul,
.gw-prose ol {
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .gw-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gw-calc-layout > article,
  .gw-calc-layout > aside,
  .gw-calc-sidebar {
    grid-column: span 12;
    position: static;
  }
}

@media (max-width: 767px) {
  .gw-grid--2,
  .gw-grid--3 {
    grid-template-columns: 1fr;
  }
}


