/**
 * Hot House — marketing landing pages (fireplaces hub + gas)
 */

.hh-landing {
  background: var(--hh-bg);
  color: var(--hh-text);
}

.hh-landing__container {
  width: min(100% - var(--hh-space-xl) * 2, var(--hh-container));
  margin-inline: auto;
}

.hh-landing__section {
  padding-block: var(--hh-space-3xl);
}

.hh-landing__section--alt {
  background: var(--hh-sand);
}

.hh-landing__intro {
  max-width: 42rem;
  margin-bottom: var(--hh-space-2xl);
}

.hh-landing-back {
  margin: 0 0 var(--hh-space-md);
  font-size: var(--hh-font-size-sm);
}

.hh-landing-back a {
  color: var(--hh-navy);
  text-decoration: none;
}

.hh-landing-back a:hover {
  color: var(--hh-gold);
}

.hh-landing-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hh-space-sm);
}

.hh-landing-hero__catalog a {
  color: var(--hh-navy);
  text-decoration: none;
}

.hh-landing-hero__catalog a:hover {
  color: var(--hh-gold);
}

/* Hero */
.hh-landing-hero {
  position: relative;
  padding-block: var(--hh-space-4xl) var(--hh-space-3xl);
  background: linear-gradient(165deg, var(--hh-sand) 0%, var(--hh-white) 55%, var(--hh-stone) 100%);
  border-bottom: 1px solid var(--hh-border);
}

.hh-landing-hero--image {
  padding-block: clamp(4rem, 12vw, 7rem) clamp(3rem, 8vw, 5rem);
  background-color: var(--hh-navy);
  background-image: var(--hh-landing-hero-bg);
  background-size: cover;
  background-position: center 35%;
  border-bottom: none;
}

.hh-landing-hero--image .hh-landing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 29, 51, 0.82) 0%,
    rgba(6, 29, 51, 0.55) 42%,
    rgba(6, 29, 51, 0.2) 100%
  );
  pointer-events: none;
}

.hh-landing-hero--image .hh-landing-hero__inner {
  position: relative;
  z-index: 1;
}

.hh-landing-hero--image .hh-eyebrow,
.hh-landing-hero--image .hh-landing-hero__title,
.hh-landing-hero--image .hh-landing-hero__lead,
.hh-landing-hero--image .hh-landing-back a {
  color: #fff;
}

.hh-landing-hero--image .hh-landing-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 42rem;
}

.hh-landing-hero--image .hh-landing-hero__title {
  max-width: 22ch;
  border-bottom: 3px solid var(--hh-ember, #d8662a);
  padding-bottom: var(--hh-space-md);
  display: inline-block;
}

.hh-landing-hero--image .hh-landing-hero__catalog a {
  color: #fff;
  border-bottom-color: var(--hh-ember, #d8662a);
}

.hh-landing--installation .hh-catalog-picker--install {
  padding-top: var(--hh-space-2xl);
}

.hh-landing-hero__title {
  font-family: var(--hh-font-serif);
  font-size: var(--hh-font-size-hero);
  font-weight: 500;
  line-height: var(--hh-line-tight);
  color: var(--hh-black);
  margin: 0 0 var(--hh-space-lg);
  max-width: 18ch;
}

.hh-landing-hero__lead {
  font-size: var(--hh-font-size-lg);
  line-height: var(--hh-line-body);
  color: var(--hh-graphite);
  max-width: 40rem;
  margin: 0 0 var(--hh-space-xl);
}

.hh-landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hh-space-md);
}

.hh-landing-hero__actions .hh-btn--primary,
.hh-landing-hero__actions .hh-btn--navy {
  background: var(--hh-navy);
  border-color: var(--hh-navy);
  color: #fff !important;
}

.hh-landing-hero__actions .hh-btn--navy::after,
.hh-landing-hero__actions .hh-btn--primary::after {
  display: none;
}

.hh-landing-hero__actions .hh-btn--secondary {
  border: 1px solid var(--hh-navy);
  color: var(--hh-navy);
  background: transparent;
}

/* Grids */
.hh-landing-grid {
  display: grid;
  gap: var(--hh-space-lg);
}

.hh-landing-grid--fuels {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.hh-landing-grid--styles {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr));
}

.hh-landing-grid--hubs {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

@media (min-width: 900px) {
  .hh-landing-grid--hubs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hh-landing-card {
  display: flex;
  flex-direction: column;
  background: var(--hh-white);
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius-md);
  overflow: hidden;
  box-shadow: var(--hh-shadow-sm);
  transition: border-color var(--hh-transition), box-shadow var(--hh-transition);
  height: 100%;
}

.hh-landing-card:hover {
  border-color: var(--hh-border-gold);
  box-shadow: var(--hh-shadow-md);
}

.hh-landing-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--hh-white);
  overflow: hidden;
}

.hh-landing-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--hh-space-md);
}

.hh-landing-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hh-stone), var(--hh-sand));
}

.hh-landing-card__body {
  padding: var(--hh-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--hh-space-sm);
  flex: 1;
}

.hh-landing-card__title {
  font-family: var(--hh-font-serif);
  font-size: var(--hh-font-size-xl);
  margin: 0;
}

.hh-landing-card__title a {
  color: var(--hh-navy);
  text-decoration: none;
}

.hh-landing-card__title a:hover {
  color: var(--hh-gold);
}

.hh-landing-card__desc {
  font-size: var(--hh-font-size-sm);
  color: var(--hh-soft-gray);
  margin: 0;
  flex: 1;
}

.hh-landing-card--compact .hh-landing-card__body {
  padding: var(--hh-space-md);
}

/* Steps */
.hh-steps {
  display: grid;
  gap: var(--hh-space-lg);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
}

.hh-step {
  padding: var(--hh-space-lg);
  background: var(--hh-white);
  border-radius: var(--hh-radius-md);
  border-inline-start: 3px solid var(--hh-gold);
}

.hh-step__num {
  display: block;
  font-family: var(--hh-font-serif);
  font-size: var(--hh-font-size-2xl);
  color: var(--hh-gold);
  margin-bottom: var(--hh-space-xs);
}

.hh-step h3 {
  color: var(--hh-navy);
}

.hh-step p {
  margin: 0;
  font-size: var(--hh-font-size-sm);
  color: var(--hh-soft-gray);
}

/* Trust */
.hh-trust--landing {
  background: var(--hh-white);
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius-md);
  padding: var(--hh-space-xl);
}

.hh-trust--landing .hh-trust__value {
  font-size: var(--hh-font-size-lg);
  font-family: var(--hh-font-sans);
  font-weight: 600;
  color: var(--hh-navy);
}

/* Split / checklist */
.hh-split-copy {
  display: grid;
  gap: var(--hh-space-2xl);
  align-items: start;
}

@media (min-width: 48rem) {
  .hh-split-copy {
    grid-template-columns: 1.2fr 1fr;
  }
}

.hh-checklist {
  margin: var(--hh-space-lg) 0 0;
  padding-inline-start: 1.25rem;
  color: var(--hh-graphite);
}

.hh-checklist li {
  margin-bottom: var(--hh-space-sm);
}

.hh-landing__more {
  text-align: center;
  margin-top: var(--hh-space-2xl);
}

/* Bottom CTA */
.hh-landing-cta {
  padding-block: var(--hh-space-4xl);
  background: linear-gradient(135deg, var(--hh-hearth, #040f1a) 0%, var(--hh-navy) 55%, #121820 100%);
  color: var(--hh-white);
  text-align: center;
}

.hh-landing-cta__title,
.hh-landing-cta__lead {
  font-family: var(--hh-font-sans);
  max-width: 40rem;
  margin-inline: auto;
}

.hh-landing-cta__title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: var(--hh-space-md);
}

.hh-landing-cta__lead {
  font-size: var(--hh-font-size-lg);
  line-height: var(--hh-line-body);
}

.hh-landing-cta .hh-h2,
.hh-landing-cta .hh-lead {
  color: var(--hh-white);
}

.hh-landing-cta .hh-lead {
  opacity: 0.9;
  margin-bottom: var(--hh-space-xl);
}

.hh-landing-cta .hh-btn--secondary {
  background: transparent;
  border-color: var(--hh-white);
  color: var(--hh-white);
}

.hh-landing .hh-h2:not(.hh-landing-cta .hh-h2) {
  color: var(--hh-navy);
  border-bottom: 2px solid var(--hh-gold);
  display: inline-block;
  padding-bottom: var(--hh-space-xs);
  margin-bottom: var(--hh-space-lg);
}

/* CTA band — keep light text on navy (see also hh-hub-qa.css) */
.hh-landing-cta .hh-h2 {
  color: var(--hh-white);
  border-bottom: none;
  display: block;
}

/* Guides — comparison table + steps */
.hh-compare-table-wrap {
  overflow-x: auto;
  margin-top: var(--hh-space-lg);
}

.hh-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hh-compare-table th,
.hh-compare-table td {
  padding: var(--hh-space-md) var(--hh-space-lg);
  border: 1px solid var(--hh-border);
  text-align: right;
  vertical-align: top;
}

.hh-compare-table thead th {
  background: var(--hh-navy);
  color: var(--hh-white);
  font-weight: 600;
}

.hh-compare-table tbody th[scope="row"] {
  background: var(--hh-off-white);
  font-weight: 600;
  color: var(--hh-navy);
  white-space: nowrap;
}

.hh-compare-note {
  margin-top: var(--hh-space-xl);
  font-size: 0.9rem;
  opacity: 0.85;
}

.hh-steps {
  display: grid;
  gap: var(--hh-space-xl);
  margin-top: var(--hh-space-lg);
}

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

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

.hh-step {
  padding: var(--hh-space-lg);
  background: var(--hh-off-white);
  border-radius: var(--hh-radius-md);
  border-inline-start: 3px solid var(--hh-gold);
}

.hh-step__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--hh-gold);
  margin-bottom: var(--hh-space-sm);
}

/* Phase 3 — rich content */
.hh-rich-prose p {
  margin-bottom: var(--hh-space-md);
  line-height: 1.75;
  color: var(--hh-graphite);
}

.hh-rich-prose .hh-lead {
  font-size: 1.05rem;
}

.hh-rich-fit-grid {
  display: grid;
  gap: var(--hh-space-xl);
}

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

.hh-rich-fit-card {
  padding: var(--hh-space-lg);
  background: var(--hh-off-white);
  border-radius: var(--hh-radius-md);
}

.hh-callout--safety {
  border-inline-start: 3px solid var(--hh-gold);
  padding: var(--hh-space-md) var(--hh-space-lg);
  background: var(--hh-off-white);
}

/* Hierarchical catalog — category picker + product previews */
.hh-catalog-picker {
  padding-block: var(--hh-space-3xl);
  background: var(--hh-off-white);
}

.hh-catalog-picker__lead {
  max-width: 40rem;
  margin-bottom: var(--hh-space-2xl);
}

.hh-category-grid {
  display: grid;
  gap: var(--hh-space-xl);
  grid-template-columns: 1fr;
}

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

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

  .hh-category-grid--install {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hh-category-card {
  display: flex;
  flex-direction: column;
  background: var(--hh-white);
  border: 1px solid var(--hh-border);
  border-radius: var(--hh-radius-md);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(27, 43, 65, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hh-category-card:hover {
  box-shadow: 0 8px 24px rgba(27, 43, 65, 0.1);
  transform: translateY(-2px);
}

.hh-category-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--hh-stone, #f0eeeb);
  overflow: hidden;
}

.hh-category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hh-category-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--hh-off-white) 0%, #e8e6e3 100%);
}

.hh-category-card__body {
  padding: var(--hh-space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--hh-space-sm);
}

.hh-category-card__title {
  font-size: 1.15rem;
  margin: 0;
}

.hh-category-card__title a {
  color: var(--hh-navy);
  text-decoration: none;
}

.hh-category-card__desc {
  font-size: 0.92rem;
  color: var(--hh-graphite);
  line-height: 1.55;
  margin: 0;
}

.hh-category-card__fit {
  font-size: 0.85rem;
  color: var(--hh-graphite);
  margin: 0;
}

.hh-category-card__count {
  font-size: 0.8rem;
  color: var(--hh-gold);
  font-weight: 600;
  margin: 0;
}

.hh-category-card__cta {
  margin-top: auto;
  align-self: flex-start;
}

.hh-product-preview {
  padding-block: var(--hh-space-3xl);
}

.hh-product-preview:nth-of-type(even) {
  background: var(--hh-off-white);
}

.hh-product-preview__intro {
  max-width: 40rem;
  margin-bottom: var(--hh-space-xl);
}

.hh-card-grid--products-preview {
  grid-template-columns: repeat(2, 1fr);
}

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

.hh-catalog-cta-bar {
  padding-block: var(--hh-space-2xl);
  background: linear-gradient(135deg, var(--hh-hearth, #040f1a) 0%, var(--hh-navy) 100%);
  color: var(--hh-white);
}

.hh-catalog-cta-bar .hh-btn--primary,
.hh-catalog-cta-bar .hh-btn--navy {
  background: #fff !important;
  color: var(--hh-navy) !important;
  border-color: #fff !important;
}

.hh-catalog-cta-bar .hh-btn--primary::after,
.hh-catalog-cta-bar .hh-btn--navy::after {
  display: none !important;
}

.hh-catalog-cta-bar__inner {
  text-align: center;
}

.hh-catalog-cta-bar .hh-lead {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--hh-space-lg);
}

/* Premium product cards on landings */
.hh-card--product .hh-card__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hh-card--product .hh-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: var(--hh-space-sm);
}

.hh-card--product .hh-card__excerpt {
  font-size: 0.85rem;
  color: var(--hh-graphite);
  line-height: 1.5;
  margin: 0 0 var(--hh-space-sm);
}

.hh-card--product .hh-card__price {
  margin: 0 0 var(--hh-space-md);
  font-weight: 600;
}

.hh-price--quote {
  color: var(--hh-navy);
  font-size: 0.95rem;
}
