﻿/* Clean CMS chrome: top bar + white header + premium hero */

:root {
  --cms-navy: #0a1628;
  --cms-accent: #e8910c;
  --cms-ink: #0b0c0e;
  --cms-body: #4b5563;
  --cms-line: #e8eaed;
}

/* —— Top bar base —— */
.cms-topbar {
  width: 100%;
  background: var(--brand-top, var(--navy, var(--cms-navy)));
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  font-weight: 500;
  position: relative;
  z-index: 60;
}

.cms-topbar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cms-accent, var(--orange, var(--green, #e8910c)));
  opacity: 0.85;
}

.cms-topbar-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 2.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cms-topbar-left,
.cms-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cms-topbar-item {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.cms-topbar-item svg,
.cms-topbar-right a svg,
.cms-topbar a svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cms-topbar-item { display: inline-flex; }
}
@media (max-width: 899px) {
  .cms-topbar-area { display: none; }
}

.cms-topbar-right a,
.cms-topbar a {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.cms-topbar-right a:hover,
.cms-topbar a:hover { color: #fff; }

@media (min-width: 768px) {
  .cms-topbar-right a,
  .tb-pg a { display: inline-flex; }
}

.cms-topbar-phone {
  display: inline-flex !important;
  font-weight: 700;
  color: #fff !important;
}

.tb-chip {
  display: none;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}
@media (min-width: 900px) {
  .tb-chip { display: inline-flex; }
}

.tb-soft {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.tb-phone-pill {
  padding: 0.28rem 0.75rem !important;
  border-radius: 999px;
  gap: 0.4rem;
}
.tb-phone-outline {
  padding: 0.25rem 0.7rem !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.tb-phone-block {
  padding: 0.3rem 0.8rem !important;
  border-radius: 8px;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.28);
}
.tb-phone-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 700;
}
.tb-phone-underline {
  border-bottom: 2px solid var(--cms-accent, #F3A10A);
  padding-bottom: 0.1rem;
}
.tb-phone-tech {
  padding: 0.28rem 0.7rem !important;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  gap: 0.45rem;
  font-variant-numeric: tabular-nums;
}

/* 1 Fortune Power — navy + orange pill */
.tb-fp {
  background: linear-gradient(100deg, #07111d 0%, #0A1628 72%, #12233a 100%);
}
.tb-fp::after {
  height: 3px;
  background: linear-gradient(90deg, transparent, #E8910C, #F5A623, #E8910C, transparent);
  opacity: 1;
}
.tb-fp .tb-chip-accent {
  background: rgba(232, 145, 12, 0.18);
  border-color: rgba(232, 145, 12, 0.45);
  color: #ffd29a;
}
.tb-fp .tb-phone-pill {
  background: #E8910C;
  color: #fff !important;
}

/* 2 RenewX — forest green + soft chips */
.tb-rx {
  background: linear-gradient(90deg, #0a1a12 0%, #12301f 55%, #0f2819 100%);
}
.tb-rx::after {
  background: linear-gradient(90deg, #5C9E31, #7CB342, #5C9E31);
  opacity: 1;
}
.tb-rx .tb-phone-outline {
  border-color: #7CB342;
  color: #fff !important;
}
.tb-rx .tb-phone-outline:hover {
  background: rgba(92, 158, 49, 0.25);
}

/* 3 Planet Grid — centered slim strip */
.tb-pg {
  background: #101c14;
}
.tb-pg::before,
.tb-pg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: color-mix(in srgb, #5c9e31 70%, white);
  opacity: 0.7;
}
.tb-pg::before { top: 0; }
.tb-pg::after { bottom: 0; height: 1px; }
.tb-pg-inner {
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.tb-pg .cms-topbar-item,
.tb-pg a {
  display: none;
}
@media (min-width: 640px) {
  .tb-pg .cms-topbar-item { display: inline-flex; }
}
@media (min-width: 768px) {
  .tb-pg a { display: inline-flex; }
}
.tb-pg .cms-topbar-phone {
  color: #a7e06a !important;
}

/* 4 Grid2Solar — left rail + call block */
.tb-g2 {
  background: #111827;
}
.tb-g2::after {
  width: 4px;
  height: 100%;
  left: 0;
  right: auto;
  bottom: 0;
  background: linear-gradient(180deg, #5C9E31, #E8910C);
  opacity: 1;
}
.tb-g2-meta {
  gap: 1rem;
}
.tb-g2-meta > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 1rem;
}
.tb-g2 .tb-phone-block {
  background: #1f2937;
  border: 1px solid rgba(92, 158, 49, 0.45);
}

/* 5 Solar Upgrade — warm charcoal, angled edge */
.tb-su {
  background: linear-gradient(105deg, #1c1710 0%, #2a2116 50%, #1c1710 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  padding-bottom: 0.15rem;
}
.tb-su::after {
  background: #D99A26;
  opacity: 1;
  height: 2px;
}
.tb-su .tb-phone-pill {
  background: #D99A26;
  color: #1c1710 !important;
}

/* 6 National Upgrades — amber dash underline */
.tb-nu {
  background: #142030;
}
.tb-nu::after {
  height: 2px;
  background: repeating-linear-gradient(90deg, #F3A10A 0 10px, transparent 10px 16px);
  opacity: 1;
}
.tb-nu .tb-chip-amber {
  background: rgba(243, 161, 10, 0.16);
  border-color: rgba(243, 161, 10, 0.4);
  color: #ffd27a;
}
.tb-nu .tb-phone-underline {
  border-bottom-color: #F3A10A;
}

/* 7 Essential Aircon — cool/warm dual */
.tb-ea {
  background: linear-gradient(90deg, #132039 0%, #1A2B56 55%, #2a1a22 100%);
}
.tb-ea::after {
  height: 3px;
  background: linear-gradient(90deg, #3A9AD9, #7eb8e8, #D12027);
  opacity: 1;
}
.tb-ea-pair {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (min-width: 900px) {
  .tb-ea-pair { display: inline-flex; }
}
.tb-ea-cool { color: #8fd0f5; }
.tb-ea-warm { color: #ff8a8f; }
.tb-phone-warm {
  background: #D12027 !important;
}

/* 8 Victorian Aircon — soft navy + teal phone */
.tb-va {
  background: linear-gradient(90deg, #152a45 0%, #1e3a5f 100%);
}
.tb-va::after {
  background: #3A9AD9;
  opacity: 0.9;
}
.tb-va-area {
  font-weight: 700;
  color: #cfe8f8;
}
.tb-phone-teal {
  background: #3A9AD9 !important;
  color: #fff !important;
}

/* 9 HiTech Energy — tech dark + labeled line */
.tb-ht {
  background: #07182c;
  border-bottom: 0;
}
.tb-ht::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(232, 145, 12, 0.12));
  pointer-events: none;
}
.tb-ht::after {
  height: 2px;
  background: linear-gradient(90deg, #E8910C 0%, transparent 40%, transparent 60%, #3A9AD9 100%);
  opacity: 1;
}
.tb-ht .tb-chip-tech {
  border-radius: 4px;
  border-color: rgba(232, 145, 12, 0.4);
  color: #ffc878;
}
.tb-ht .tb-phone-tech {
  background: rgba(255, 255, 255, 0.06);
}

/* —— White header (all sites) —— */
.cms-header {
  width: 100%;
  background: #fff !important;
  border-bottom: 1px solid var(--hairline, var(--cms-line));
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s ease;
}

.cms-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
}

.cms-header-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cms-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cms-logo img {
  display: block;
  height: 2.9rem;
  width: auto;
  object-fit: contain;
}

/* Solar Upgrade — larger header logo */
body[data-brand="solarupgrade"] .cms-header-inner {
  min-height: 5.5rem;
}
body[data-brand="solarupgrade"] .cms-logo img {
  height: 4.5rem !important;
  max-height: none !important;
  width: auto !important;
}

.cms-nav {
  display: none;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 1.15rem;
  flex-wrap: wrap;
}

.cms-nav-link {
  position: relative;
  color: var(--body, var(--cms-body));
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0;
  white-space: nowrap;
}

.cms-nav-link:hover,
.cms-nav-link.is-active {
  color: var(--heading, var(--ink, var(--cms-ink)));
}

.cms-nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange, var(--green, var(--cms-accent)));
  border-radius: 1px;
}

.cms-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cms-header-phone {
  display: none;
  color: var(--heading, var(--cms-ink));
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.cms-header-phone:hover {
  color: var(--orange, var(--green, var(--cms-accent)));
}

@media (min-width: 1200px) {
  .cms-header-phone { display: inline; }
}

.cms-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange, var(--green, var(--cms-accent)));
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.72rem 1.15rem;
  cursor: pointer;
  text-decoration: none;
}

.cms-header-cta:hover { filter: brightness(1.05); }
.cms-header-cta-block { width: 100%; margin-top: 0.5rem; }

.cms-menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0.5rem;
  border: 1px solid var(--cms-line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  color: var(--cms-ink);
}
.cms-menu-btn span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.cms-mobile {
  display: none;
  border-top: 1px solid var(--cms-line);
  background: #fff;
  padding: 0.85rem 1rem 1.25rem;
}
.cms-mobile:not([hidden]),
.cms-mobile.is-open { display: block; }

.cms-mobile-nav { display: flex; flex-direction: column; }
.cms-mobile-link {
  padding: 0.85rem 0.35rem;
  color: var(--cms-ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--cms-line);
}
.cms-mobile-link.is-active { color: var(--orange, var(--green, var(--cms-accent))); }
.cms-mobile-phone {
  display: block;
  margin: 1rem 0 0.75rem;
  font-weight: 700;
  color: var(--cms-ink);
  text-decoration: none;
}

@media (min-width: 1024px) {
  .cms-nav { display: flex; }
  .cms-menu-btn,
  .cms-mobile { display: none !important; }
}

/* Kill old experimental brand header layouts if leftover markup/CSS loads */
.bh,
.bh-fp,
.bh-rx,
.bh-pg,
.bh-g2,
.bh-su,
.bh-nu,
.bh-ea,
.bh-va,
.bh-ht,
.fp-topstrip {
  /* no-op: new chrome replaces these */
}

body[data-brand] main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* —— Premium hero base —— */
.cms-hero {
  position: relative;
  width: 100%;
  min-height: min(86vh, 720px);
  background: #0a1628;
  overflow: hidden;
  color: #fff;
}

.cms-hero-track,
.cms-hero-slide {
  position: absolute;
  inset: 0;
}

.cms-hero-slide {
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.cms-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.cms-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6.5s ease;
}

.cms-hero-slide.is-active .cms-hero-media {
  transform: scale(1);
}

.cms-hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 16, 28, 0.88) 0%, rgba(8, 16, 28, 0.55) 46%, rgba(8, 16, 28, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
}

.cms-hero-content {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0 5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  box-sizing: border-box;
}

.cms-hero-brand {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.cms-hero-title {
  margin: 0 0 1rem;
  max-width: 15ch;
  font-size: clamp(2.35rem, 5.2vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.cms-hero-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.cms-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.cms-hero-btn,
.cms-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.cms-hero-btn {
  background: var(--orange, var(--green, var(--cms-accent)));
  color: #fff;
}

.cms-hero-btn:hover { filter: brightness(1.06); }

.cms-hero-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.cms-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cms-hero-controls {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
}

.cms-hero-arrow {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cms-hero-arrow:hover { background: rgba(255, 255, 255, 0.28); }

.cms-hero-dots {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.cms-hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.cms-hero-dots button.is-active {
  width: 1.5rem;
  background: var(--orange, var(--green, var(--cms-accent)));
}

/* —— 1 Fortune Power: classic + bottom progress —— */
.hs-fp-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 4;
}
.hs-fp-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange, var(--cms-accent));
  transform-origin: left center;
}
.hs-fp-progress span.is-running {
  animation: hsProgress linear forwards;
}
@keyframes hsProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* —— 2 RenewX: frosted card + vertical rail —— */
.hs-rx .cms-hero-veil {
  background:
    linear-gradient(90deg, rgba(8, 20, 36, 0.55) 0%, rgba(8, 20, 36, 0.2) 55%, rgba(8, 20, 36, 0.35) 100%);
}
.hs-rx .cms-hero-content {
  justify-content: center;
  padding: 4rem 0;
}
.hs-rx-card {
  width: min(34rem, 100%);
  padding: 1.75rem 1.75rem 1.85rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.hs-rx .cms-hero-title { max-width: 12ch; font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.hs-rx-rail {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hs-rx-rail button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: height 0.25s ease, background 0.25s ease;
}
.hs-rx-rail button.is-active {
  height: 1.75rem;
  background: var(--orange, var(--green, var(--cms-accent)));
}

/* —— 3 Planet Grid: centered editorial + title tabs —— */
.hs-pg .cms-hero-veil {
  background:
    linear-gradient(180deg, rgba(6, 14, 24, 0.35) 0%, rgba(6, 14, 24, 0.72) 100%);
}
.hs-pg .cms-hero-content {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-bottom: 7rem;
}
.hs-pg .cms-hero-brand::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0.75rem auto 0;
  background: var(--orange, var(--green, var(--cms-accent)));
}
.hs-pg .cms-hero-title {
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}
.hs-pg .cms-hero-lead {
  margin-left: auto;
  margin-right: auto;
}
.hs-pg .cms-hero-actions { justify-content: center; }
.hs-pg-tabs {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  width: min(920px, calc(100% - 2rem));
  justify-content: center;
  flex-wrap: wrap;
}
.hs-pg-tabs button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  max-width: 14rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(8px);
}
.hs-pg-tabs button.is-active {
  border-color: var(--orange, var(--green, var(--cms-accent)));
  background: rgba(0, 0, 0, 0.55);
}
.hs-pg-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.75;
  flex-shrink: 0;
}
.hs-pg-label {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* —— 4 Grid2Solar: right copy + tall number rail —— */
.hs-g2 .cms-hero-veil {
  background:
    linear-gradient(250deg, rgba(8, 16, 28, 0.9) 0%, rgba(8, 16, 28, 0.45) 48%, rgba(8, 16, 28, 0.15) 100%);
}
.hs-g2 .cms-hero-content {
  align-items: flex-end;
  text-align: right;
  padding-left: 5rem;
}
.hs-g2 .cms-hero-title { margin-left: auto; }
.hs-g2 .cms-hero-lead { margin-left: auto; }
.hs-g2 .cms-hero-actions { justify-content: flex-end; }
.hs-g2-rail {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hs-g2-rail button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 0.15rem 0.2rem;
  text-align: left;
}
.hs-g2-rail button.is-active {
  color: #fff;
  border-left: 2px solid var(--orange, var(--green, var(--cms-accent)));
  padding-left: 0.55rem;
}
.hs-g2-arrows {
  position: absolute;
  right: 1.25rem;
  bottom: 1.35rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

/* —— 5 Solar Upgrade: bottom band + thumbs —— */
.hs-su { min-height: min(88vh, 760px); }
.hs-su .cms-hero-veil {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1) 40%, rgba(6, 12, 22, 0.92) 100%);
}
.hs-su-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 0 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(6, 12, 22, 0.88));
}
.hs-su-band-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .hs-su-band-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}
.hs-su-copy {
  display: none;
  padding-bottom: 0.25rem;
}
.hs-su-copy.is-active { display: block; }
.hs-su-copy .cms-hero-title {
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}
.hs-su-thumbs {
  display: flex;
  gap: 0.55rem;
  justify-content: flex-start;
}
@media (min-width: 900px) {
  .hs-su-thumbs { justify-content: flex-end; }
}
.hs-su-thumbs button {
  width: 4.4rem;
  height: 3rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.65;
  background: #000;
}
.hs-su-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hs-su-thumbs button.is-active {
  opacity: 1;
  border-color: var(--orange, var(--green, var(--cms-accent)));
}

/* —— 6 National Upgrades: left slab panel —— */
.hs-nu .cms-hero-veil {
  background:
    linear-gradient(100deg, rgba(7, 14, 26, 0.55) 0%, rgba(7, 14, 26, 0.15) 60%, rgba(7, 14, 26, 0.35) 100%);
}
.hs-nu .cms-hero-content {
  justify-content: center;
  padding: 4rem 0;
}
.hs-nu-panel {
  width: min(32rem, 100%);
  padding: 2rem 1.85rem 2.1rem;
  border-radius: 4px 22px 22px 4px;
  background: rgba(8, 16, 28, 0.82);
  border-left: 4px solid var(--orange, var(--green, var(--cms-accent)));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.hs-nu .cms-hero-title { max-width: 13ch; font-size: clamp(2.1rem, 4vw, 3.3rem); }
.hs-nu-dots {
  position: absolute;
  left: max(1rem, calc((100% - 1280px) / 2 + 1.85rem));
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}
.hs-nu-dots button {
  width: 2rem;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
}
.hs-nu-dots button.is-active {
  background: var(--orange, var(--green, var(--cms-accent)));
}

/* —— 7 Essential Aircons: full-bleed dual cool/warm climate —— */
.hs-ea {
  --ea-cool: #3A9AD9;
  --ea-warm: #D12027;
  --ea-ink: #132039;
  min-height: min(88vh, 760px);
  background: var(--ea-ink);
}
.hs-ea .cms-hero-veil {
  background:
    linear-gradient(115deg, rgba(19, 32, 57, 0.92) 0%, rgba(19, 32, 57, 0.62) 42%, rgba(58, 154, 217, 0.28) 68%, rgba(209, 32, 39, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.hs-ea .cms-hero-content {
  justify-content: flex-end;
  padding: 5rem 0 5.5rem;
}
.hs-ea-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  width: fit-content;
}
.hs-ea-cool,
.hs-ea-warm {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hs-ea-cool { color: #8fd0f5; }
.hs-ea-warm { color: #ff8a8f; }
.hs-ea-sep {
  width: 1px;
  height: 0.85rem;
  background: rgba(255, 255, 255, 0.35);
}
.hs-ea .cms-hero-brand {
  color: rgba(255, 255, 255, 0.78);
}
.hs-ea .cms-hero-title {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
}
.hs-ea .cms-hero-title::after {
  content: '';
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ea-cool), var(--ea-warm));
}
.hs-ea .cms-hero-btn {
  background: var(--ea-warm);
  box-shadow: 0 10px 28px rgba(209, 32, 39, 0.35);
}
.hs-ea .cms-hero-btn-ghost:hover {
  border-color: var(--ea-cool);
  background: rgba(58, 154, 217, 0.15);
}
.hs-ea-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}
.hs-ea-footer-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.hs-ea-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.hs-ea-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background 0.25s ease;
}
.hs-ea-dots button.is-active {
  width: 1.65rem;
  background: linear-gradient(90deg, var(--ea-cool), var(--ea-warm));
}
.hs-ea-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0.3rem 0.4rem 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}
.hs-ea-count {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.9;
  min-width: 4.25rem;
  text-align: center;
}
.hs-ea-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}
.hs-ea-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ea-cool), var(--ea-warm));
  transform-origin: left center;
}
.hs-ea-progress span.is-running {
  animation: hsProgress linear forwards;
}

/* —— 8 Victorian Aircon: bottom title + segment progress —— */
.hs-va .cms-hero-veil {
  background:
    linear-gradient(180deg, rgba(6, 12, 22, 0.2) 0%, rgba(6, 12, 22, 0.78) 100%);
}
.hs-va .cms-hero-content {
  padding-bottom: 4.5rem;
}
.hs-va .cms-hero-title {
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}
.hs-va-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.hs-va-prev { left: 1rem; }
.hs-va-next { right: 1rem; }
.hs-va-segments {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.4rem;
  width: min(420px, calc(100% - 5rem));
}
.hs-va-segments button {
  flex: 1;
  height: 3px;
  border: 0;
  padding: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.hs-va-segments button span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--orange, var(--green, var(--cms-accent)));
}
.hs-va-segments button.is-active span.is-running {
  animation: hsProgress linear forwards;
}
.hs-va-segments button.is-done span {
  width: 100%;
}

/* —— 9 HiTech Energy: diagonal veil + counter toolbar —— */
.hs-ht .cms-hero-veil {
  background:
    linear-gradient(122deg, rgba(6, 12, 22, 0.92) 0%, rgba(6, 12, 22, 0.55) 42%, rgba(6, 12, 22, 0.12) 68%, rgba(6, 12, 22, 0.4) 100%);
}
.hs-ht .cms-hero-content {
  justify-content: center;
  padding-top: 5rem;
  max-width: min(1280px, calc(100% - 2rem));
}
.hs-ht .cms-hero-title {
  max-width: 12ch;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}
.hs-ht-toolbar {
  position: absolute;
  top: 1.35rem;
  right: 1.25rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.45rem 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hs-ht-count {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .hs-rx-rail { right: 0.65rem; }
  .hs-g2 .cms-hero-content { padding-left: 3.25rem; text-align: left; align-items: flex-start; }
  .hs-g2 .cms-hero-title,
  .hs-g2 .cms-hero-lead { margin-left: 0; }
  .hs-g2 .cms-hero-actions { justify-content: flex-start; }
  .hs-pg-label { display: none; }
  .hs-va-arrow { display: none; }
}

/* —— Shared quote modal (all brands) —— */
#quoteModal.quote-modal,
.quote-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2000 !important;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin: 0 !important;
  background: rgba(11, 12, 14, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
}

#quoteModal.quote-modal.is-open,
.quote-modal.is-open {
  display: flex !important;
}

.quote-modal-panel {
  position: relative;
  background: #fff;
  color: #0b0c0e;
  border: 1px solid #e8eaed;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
  max-width: 640px;
  width: 100%;
  max-height: min(90vh, 900px);
  overflow-y: auto;
  padding: 1.75rem;
  margin: auto;
}

.quote-modal [data-close-quote] {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #4b5563;
  line-height: 1;
  padding: 0.15rem 0.35rem;
}

.quote-modal [data-close-quote]:hover {
  color: #0b0c0e;
}

/* —— About pages —— */
.about-story,
.about-stats,
.about-values,
.about-team,
.about-cta {
  width: 100%;
}

.about-story {
  background: #fff;
  padding: 4rem 0;
}

.about-story-inner,
.about-stats-inner,
.about-values-inner,
.about-team-inner,
.about-cta-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.about-story-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .about-story-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.about-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cms-accent, var(--orange, var(--green, #e8910c)));
}

.about-headline {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading, var(--ink, #0b0c0e));
}

.about-lead,
.about-para {
  margin: 0 0 1rem;
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--body, #4b5563);
}

.about-story-actions,
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-call.cms-hero-btn-ghost {
  color: var(--heading, #0b0c0e);
  border-color: rgba(11, 12, 14, 0.25);
}

.about-call.cms-hero-btn-ghost:hover {
  background: rgba(11, 12, 14, 0.05);
}

.about-story-media {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hairline, #e8eaed);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  background: #0a1628;
}

.about-story-media img {
  display: block;
  width: 100%;
  height: min(420px, 55vw);
  object-fit: cover;
}

.about-stats {
  background: color-mix(in srgb, var(--cms-accent, #e8910c) 8%, #f7f8fa);
  border-top: 1px solid var(--hairline, #e8eaed);
  border-bottom: 1px solid var(--hairline, #e8eaed);
  padding: 2.25rem 0;
}

.about-stats-inner {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  text-align: center;
}

.about-stat-value {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading, #0b0c0e);
}

.about-stat-label {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body, #4b5563);
}

.about-values,
.about-team {
  background: #fff;
  padding: 4rem 0;
}

.about-values-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.about-values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about-value {
  padding: 1.35rem 1.25rem 1.45rem;
  border: 1px solid var(--hairline, #e8eaed);
  border-radius: 14px;
  background: #fff;
  border-top: 3px solid var(--cms-accent, var(--orange, var(--green, #e8910c)));
}

.about-value h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 750;
  color: var(--heading, #0b0c0e);
}

.about-value p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--body, #4b5563);
}

.about-team-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.about-team-card {
  text-align: center;
}

.about-team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--hairline, #e8eaed);
}

.about-team-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.about-team-card p {
  margin: 0.25rem 0 0;
  color: var(--body, #4b5563);
  font-size: 0.9rem;
}

.about-cta {
  background: var(--brand-top, var(--navy, #0a1628));
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.about-cta .about-headline,
.about-cta .about-lead {
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.about-cta .about-lead {
  opacity: 0.9;
}

.about-cta-actions {
  justify-content: center;
}

.about-cta .cms-hero-btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

/* —— Shared suite (home / services / rebates) —— */
.suite-block {
  width: 100%;
  padding: 4rem 0;
}
.suite-inner {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}
.suite-why { background: #f6f7f9; }
.suite-pillar-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.suite-pillar {
  background: #fff;
  border: 1px solid var(--hairline, #e8eaed);
  border-radius: 14px;
  padding: 1.35rem 1.2rem 1.5rem;
  border-top: 3px solid var(--cms-accent, var(--orange, var(--green, #e8910c)));
}
.suite-pillar-num {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--cms-accent, var(--orange, var(--green, #e8910c)));
}
.suite-pillar h3 { margin: 0 0 0.5rem; font-size: 1.12rem; }
.suite-pillar p { margin: 0; color: var(--body, #4b5563); line-height: 1.55; font-size: 0.95rem; }
.suite-feature-list { display: grid; gap: 1.75rem; }
.suite-feature {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hairline, #e8eaed);
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .suite-feature { grid-template-columns: 1.1fr 0.9fr; }
  .suite-feature.is-flip { grid-template-columns: 0.9fr 1.1fr; }
  .suite-feature.is-flip .suite-feature-media { order: 2; }
}
.suite-feature-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.suite-feature-copy { padding: 1.5rem 1.5rem 1.75rem; }
.suite-badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--cms-accent, #e8910c) 16%, #fff);
  color: var(--heading, #0b0c0e);
}
.suite-feature-copy h3 { margin: 0 0 0.55rem; font-size: 1.45rem; }
.suite-feature-copy p { margin: 0 0 1rem; color: var(--body, #4b5563); line-height: 1.6; }
.suite-process { background: var(--brand-top, var(--navy, #0a1628)); color: #fff; }
.suite-process .about-eyebrow { color: var(--cms-accent, #e8910c); }
.suite-process .about-headline,
.suite-process .about-lead { color: #fff; }
.suite-process-inner {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .suite-process-inner { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}
.suite-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.suite-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.suite-step-num {
  flex: 0 0 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  background: var(--cms-accent, #e8910c);
  color: #0b0c0e;
}
.suite-steps h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.suite-steps p { margin: 0; opacity: 0.86; font-size: 0.95rem; line-height: 1.5; }
.suite-rebate-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .suite-rebate-inner { grid-template-columns: 0.95fr 1.05fr; }
}
.suite-rebate-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--hairline, #e8eaed);
}
.suite-check { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.65rem; }
.suite-check li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--body, #4b5563);
  line-height: 1.5;
}
.suite-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cms-accent, var(--orange, var(--green, #e8910c)));
  font-weight: 800;
}
.suite-quote-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.suite-quote {
  margin: 0;
  padding: 1.4rem 1.3rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--hairline, #e8eaed);
}
.suite-quote p { margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.55; color: var(--heading, #0b0c0e); }
.suite-quote footer { display: grid; gap: 0.15rem; font-size: 0.88rem; }
.suite-quote cite { font-style: normal; font-weight: 700; }
.suite-quote span { color: var(--body, #4b5563); }
.suite-faq-inner { max-width: 46rem; }
.suite-faqs { margin-top: 1.5rem; display: grid; gap: 0.65rem; }
.suite-faq {
  border: 1px solid var(--hairline, #e8eaed);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fff;
}
.suite-faq summary { cursor: pointer; font-weight: 700; }
.suite-faq div { margin-top: 0.65rem; color: var(--body, #4b5563); line-height: 1.6; }
.suite-blog { background: #fff; }
.suite-blog-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
.suite-blog-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.suite-blog-card { color: inherit; text-decoration: none; }
.suite-blog-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; margin-bottom: 0.75rem; }
.suite-blog-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.suite-blog-card p { margin: 0; color: var(--body, #4b5563); font-size: 0.92rem; line-height: 1.5; }
.suite-quote-band { background: #f6f7f9; }
.suite-quote-band-inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .suite-quote-band-inner { grid-template-columns: 0.85fr 1.15fr; }
}
.suite-quote-form {
  background: #fff;
  border: 1px solid var(--hairline, #e8eaed);
  border-radius: 16px;
  padding: 1.35rem;
}
.suite-hero-frame img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--hairline, #e8eaed);
}
.suite-split-band { background: #f6f7f9; }
.suite-split {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  .suite-split { grid-template-columns: 1fr 1fr; }
}
.suite-prose { margin: 0 0 1.25rem; }
.suite-disclaimer { margin-top: 1rem; font-size: 0.9rem; color: var(--body, #4b5563); }
