/* Hero Energy Australia — marketing design system */

:root {
  --ink: #0b1620;
  --ink-2: #132430;
  --ink-3: #1c3340;
  --gold: #d9a21b;
  --gold-2: #e8bc4a;
  --gold-deep: #a87810;
  --cream: #f2ede3;
  --paper: #f8f4ec;
  --white: #fffdf8;
  --stone: #5a544a;
  --stone-2: #3a352e;
  --line: rgba(11, 22, 32, 0.1);
  --line-strong: rgba(11, 22, 32, 0.18);
  --gold-soft: rgba(217, 162, 27, 0.14);
  --shadow: 0 20px 48px rgba(11, 22, 32, 0.1);
  --shadow-sm: 0 8px 24px rgba(11, 22, 32, 0.06);
  --radius: 16px;
  --radius-lg: 22px;
  --header-h: 72px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0 0 0.55em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.8vw, 4.25rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.42rem);
}

p {
  margin: 0 0 1em;
}

p.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  color: var(--stone-2);
  max-width: 38rem;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -48px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  z-index: 100;
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1.5px;
  background: currentColor;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 520px) {
  .brand-logo {
    height: 44px;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.16rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.5rem;
}

.nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--stone-2);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.15s ease;
}

.nav a:not(.btn):hover,
.nav a:not(.btn)[aria-current="page"] {
  color: var(--ink);
}

.nav a:not(.btn)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-phone {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ink) !important;
  font-weight: 700 !important;
}

.nav-phone:hover {
  color: var(--gold-deep) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  padding: 0.76rem 1.3rem;
  border-radius: 999px;
  transition: transform 0.18s var(--ease), background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 6px 18px rgba(167, 120, 16, 0.22);
}

.btn-gold:hover {
  background: linear-gradient(180deg, #efc65a, var(--gold-2));
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: var(--ink-2);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 238, 228, 0.3);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-2);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 11px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
  border-color: var(--ink);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 1px;
  transition: transform 0.2s var(--ease), opacity 0.15s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(880px 460px at 92% -8%, rgba(232, 188, 74, 0.2), transparent 58%),
    radial-gradient(640px 380px at -5% 100%, rgba(217, 162, 27, 0.1), transparent 52%),
    linear-gradient(165deg, #0b1620 0%, #132a38 55%, #0e1c26 100%);
  color: var(--cream);
  padding: 4rem 0 5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 188, 74, 0.35), transparent);
}

.hero h1,
.hero h2 {
  color: var(--white);
}

.hero .eyebrow {
  color: var(--gold-2);
}

.hero p {
  color: rgba(243, 238, 228, 0.82);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.8rem;
  align-items: center;
}

.hero-copy .lede {
  color: rgba(243, 238, 228, 0.84);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.7rem 0 1.5rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(243, 238, 228, 0.12);
  font-size: 0.86rem;
  color: rgba(243, 238, 228, 0.68);
}

.hero-meta strong {
  display: block;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.12rem;
  font-size: 0.9rem;
}

.sun-art {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sun-art img,
.sun-art svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.25));
}

.page-hero {
  background:
    radial-gradient(680px 300px at 100% 0%, rgba(232, 188, 74, 0.14), transparent 58%),
    linear-gradient(165deg, #0b1620, #152a36);
  color: var(--cream);
  padding: 3.2rem 0 3.4rem;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 188, 74, 0.28), transparent);
}

.page-hero h1 {
  color: var(--white);
  max-width: 18ch;
}

.page-hero .lede {
  color: rgba(243, 238, 228, 0.84);
}

.page-hero .eyebrow {
  color: var(--gold-2);
}

/* Sections */

.section {
  padding: 4.4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.3rem;
}

.section-muted {
  background: var(--cream);
}

.section-ink {
  background: var(--ink-2);
  color: var(--cream);
}

.section-ink h2,
.section-ink h3 {
  color: var(--white);
}

.section-ink p {
  color: rgba(243, 238, 228, 0.8);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.8rem;
  align-items: start;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.45rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s var(--ease);
}

.card:hover {
  border-color: rgba(217, 162, 27, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.4rem;
}

.card p {
  color: var(--stone-2);
}

.card p:last-of-type {
  margin-bottom: 0;
}

.card .icon {
  width: 42px;
  height: 42px;
  color: var(--gold-deep);
  margin-bottom: 0.95rem;
}

.card a.more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 1px;
}

.card a.more::after {
  content: "→";
  transition: transform 0.15s ease;
}

.card a.more:hover {
  color: var(--gold-deep);
}

.card a.more:hover::after {
  transform: translateX(3px);
}

.why-list {
  display: grid;
  gap: 0;
}

.why-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.why-item:last-child {
  border-bottom: 1px solid var(--line);
}

.why-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-deep);
  font-weight: 600;
  line-height: 1.2;
}

.cta-band {
  padding: 4rem 0;
  background:
    radial-gradient(560px 260px at 12% 120%, rgba(232, 188, 74, 0.16), transparent 58%),
    linear-gradient(165deg, #0b1620, #152a36);
  color: var(--cream);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  max-width: 36rem;
  margin-inline: auto;
  color: rgba(243, 238, 228, 0.82);
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-band a:not(.btn) {
  color: var(--gold-2);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 188, 74, 0.45);
}

.cta-band a:not(.btn):hover {
  border-color: var(--gold-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.step {
  padding: 1.35rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step-n {
  font-family: var(--serif);
  font-size: 1.85rem;
  color: var(--gold-deep);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  line-height: 1;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
}

.service-block {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.35rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: 1px solid var(--line);
}

.service-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-top: 0.4rem;
}

.note {
  font-size: 0.92rem;
  color: var(--stone);
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 0.95rem 1.05rem;
  border-radius: 0 12px 12px 0;
  margin-bottom: 1.6rem;
}

.legal-card dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.95rem;
}

.legal-card dt:first-of-type {
  margin-top: 0;
}

.legal-card dd {
  margin: 0.18rem 0 0;
  font-weight: 600;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.2rem;
  color: var(--stone-2);
}

.prose li {
  margin-bottom: 0.45rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(243, 238, 228, 0.14);
  color: rgba(243, 238, 228, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
}

.trust-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-2);
  flex-shrink: 0;
}

/* Form */

form {
  display: grid;
  gap: 0.95rem;
}

label {
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.req {
  color: #b42318;
  font-weight: 800;
  font-size: 1.05em;
}

.hint {
  font-weight: 500;
  color: var(--stone);
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.78rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(11, 22, 32, 0.28);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

textarea {
  min-height: 148px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: #e7f2ea;
  color: #1a4726;
  font-weight: 550;
}

.form-status.is-visible {
  display: block;
  background: rgba(217, 162, 27, 0.16);
  border: 1px solid rgba(217, 162, 27, 0.45);
  color: var(--ink);
}
.form-status.is-visible.is-error {
  background: rgba(180, 35, 24, 0.1);
  border-color: rgba(180, 35, 24, 0.35);
  color: #8a1c14;
}


.form-status.is-error {
  background: #f7e8e4;
  color: #6a291c;
}

.form-status.is-visible {
  display: block;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.6rem;
  align-items: start;
}

.email-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

.email-link:hover {
  color: var(--gold-deep);
}

.email-link.on-dark {
  color: var(--gold-2);
  border-color: rgba(232, 188, 74, 0.55);
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(243, 238, 228, 0.72);
  padding: 2.8rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(243, 238, 228, 0.1);
}

.site-footer .brand-name,
.site-footer h3 {
  color: var(--white);
  margin-bottom: 0.65rem;
}

.site-footer h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-2);
}

.footer-nav {
  display: grid;
  gap: 0.4rem;
}

.legal-line {
  margin-top: 1.15rem;
  font-size: 0.8rem;
  color: rgba(243, 238, 228, 0.52);
  line-height: 1.55;
}

.legal-line a {
  color: rgba(243, 238, 228, 0.7);
}

.domain-tag {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--gold-2);
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid,
  .cards,
  .cards-2,
  .steps,
  .form-row,
  .service-block,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 3.6rem;
  }

  .sun-art {
    min-height: 0;
    max-width: 400px;
    margin-inline: auto;
    order: -1;
  }

  .hero-grid {
    gap: 2rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(248, 244, 236, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 0 1rem;
    gap: 0;
    box-shadow: 0 18px 36px rgba(11, 22, 32, 0.1);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.btn) {
    padding: 0.85rem 0.15rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:not(.btn)[aria-current="page"]::after {
    display: none;
  }

  .nav a:not(.btn)[aria-current="page"] {
    color: var(--gold-deep);
  }

  .nav .nav-phone {
    color: var(--gold-deep) !important;
    font-size: 1.02rem;
  }

  .nav .btn {
    margin-top: 0.85rem;
    width: 100%;
  }

  .section {
    padding: 3.4rem 0;
  }

  .page-hero {
    padding: 2.6rem 0 2.8rem;
  }
}

@media (max-width: 520px) {
  .wrap {
    width: min(calc(100% - 1.6rem), var(--max));
  }

  .brand-sub {
    display: none;
  }

  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }

  .nav-toggle span {
    transition: none;
  }
}

body.nav-open {
  overflow: hidden;
}



.page-hero .offer-card {
  max-width: 36rem;
  margin-top: 1.35rem;
}
/* Current battery promo (ads landing) */
.offer-card {
  margin: 1.25rem 0 0;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(217, 162, 27, 0.18), rgba(232, 188, 74, 0.08));
  border: 1px solid rgba(217, 162, 27, 0.45);
  color: #fffdf8;
}
.offer-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gold-2);
  margin-bottom: 0.35rem;
}
.offer-card p {
  margin: 0;
  color: rgba(248, 244, 236, 0.9);
  font-size: 0.98rem;
}
.panel .offer-card {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(217, 162, 27, 0.16), rgba(248, 244, 236, 0.95));
}
.panel .offer-card strong {
  color: var(--gold-deep);
}
.panel .offer-card p {
  color: var(--stone-2);
}

/* Overlay behind mobile nav */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(11, 22, 32, 0.28);
  z-index: 40;
}

.nav-backdrop.is-visible {
  display: block;
}
