/* ============================================
   HVAC Revenue Recovery — style.css
   ============================================ */

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

/* VARIABLES */
:root {
  --bg:          #05050A;
  --gold:        #C9A84C;
  --gold-bright: #DDB95C;
  --gold-glow:   rgba(201, 168, 76, 0.14);
  --gold-border: rgba(201, 168, 76, 0.2);
  --gold-dim:    rgba(201, 168, 76, 0.07);
  --white:       #F4F1EB;
  --body:        rgba(244, 241, 235, 0.78);
  --muted:       rgba(244, 241, 235, 0.45);
  --glass:       rgba(255, 255, 255, 0.03);
  --glass-border:rgba(255, 255, 255, 0.07);
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  overflow-x: hidden;
}

/* Ambient glow background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 800px 600px at 50% -100px, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* LAYOUT */
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* GOLD HIGHLIGHT */
.g {
  color: var(--gold-bright);
  font-weight: 700;
}

/* ── EYEBROW ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.6;
}
.eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── SECTION ACCENT LINE ── */
.sec-line {
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 auto 28px;
  border-radius: 2px;
  opacity: 0.7;
}

/* ── SECTION DIVIDER ── */
.divider {
  max-width: 720px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-border) 35%,
    rgba(201,168,76,0.3) 50%,
    var(--gold-border) 65%,
    transparent
  );
  position: relative;
  z-index: 1;
}
.divider::after {
  content: '◆';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 6px;
  color: var(--gold);
  background: var(--bg);
  padding: 0 12px;
  opacity: 0.8;
}

/* ── HERO ── */
#hero {
  padding: 148px 0 128px;
  position: relative;
}

h1 {
  font-size: clamp(3rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.038em;
  color: var(--white);
  margin-bottom: 36px;
}

.hero-body {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--body);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.9;
}
.hero-body + .hero-body {
  margin-top: 16px;
}

/* ── BUTTON ── */
.btn-wrap {
  margin-top: 56px;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #B8922E 0%, #DDB95C 45%, #C9A84C 100%);
  background-size: 200% auto;
  color: #06060A;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 19px 48px;
  border-radius: 4px;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.3),
    0 6px 40px rgba(201,168,76,0.25),
    0 2px 0 rgba(255,255,255,0.06) inset;
  transition:
    background-position 0.45s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}
.btn:hover {
  background-position: right center;
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.5),
    0 12px 56px rgba(201,168,76,0.4),
    0 2px 0 rgba(255,255,255,0.1) inset;
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.trust-line {
  margin-top: 20px;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ── SECTIONS ── */
section {
  padding: 112px 0;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}

.sec-sub {
  font-size: 1rem;
  font-weight: 400;
  color: var(--body);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.85;
}

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  max-width: 660px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(201,168,76,0.08);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    0 0 0 1px var(--gold-dim);
}

.card {
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}
.card:hover {
  background: rgba(201,168,76,0.04);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.card-num {
  font-size: 4.5rem;
  font-weight: 200;
  color: rgba(201,168,76,0.07);
  line-height: 1;
  position: absolute;
  top: 12px;
  right: 20px;
  letter-spacing: -0.06em;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
}

.card p {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.75;
  font-weight: 400;
  position: relative;
}

/* ── WHO WE HELP ── */
.body-text {
  font-size: 1.05rem;
  color: var(--body);
  max-width: 520px;
  margin: 0 auto 16px;
  font-weight: 400;
  line-height: 1.9;
}

.who-box {
  max-width: 580px;
  margin: 48px auto 0;
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  padding: 40px 48px;
  background: var(--gold-dim);
  backdrop-filter: blur(16px);
  position: relative;
}
.who-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.45), transparent);
}
.who-box p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--body);
  line-height: 1.9;
}
.who-box strong {
  color: var(--gold-bright);
  font-weight: 700;
}

/* ── GUARANTEE ── */
#guarantee {
  padding: 112px 0;
}

.g-card {
  max-width: 620px;
  margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.28);
  border-radius: 14px;
  padding: 68px 60px;
  background: linear-gradient(
    160deg,
    rgba(201,168,76,0.06) 0%,
    rgba(255,255,255,0.02) 60%,
    rgba(201,168,76,0.04) 100%
  );
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.1),
    0 32px 80px rgba(0,0,0,0.5),
    0 0 80px rgba(201,168,76,0.08),
    inset 0 1px 0 rgba(201,168,76,0.15);
}
.g-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.g-card::after {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.g-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 8px 18px;
  border-radius: 3px;
  background: rgba(201,168,76,0.09);
  margin-bottom: 36px;
}

.g-card blockquote {
  font-size: clamp(1.08rem, 2.2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.85;
  color: var(--body);
  font-style: italic;
}
.g-card blockquote strong {
  color: var(--white);
  font-style: normal;
  font-weight: 700;
}

/* ── FINAL CTA ── */
#cta {
  padding: 112px 0 150px;
}

/* ── FADE ANIMATIONS ── */
.fade {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.72s cubic-bezier(.22, .68, 0, 1.2),
    transform 0.72s cubic-bezier(.22, .68, 0, 1.2);
}
.fade.on {
  opacity: 1;
  transform: translateY(0);
}
.fd1 { transition-delay: .07s; }
.fd2 { transition-delay: .14s; }
.fd3 { transition-delay: .21s; }
.fd4 { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  .fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 580px) {
  h1       { font-size: 2.6rem; }
  h2       { font-size: 2rem; }
  .cards   { grid-template-columns: 1fr; }
  .g-card  { padding: 44px 28px; }
  .who-box { padding: 30px 24px; }
  section  { padding: 80px 0; }
  #hero    { padding: 100px 0 88px; }
}
