/* =============================
   COMPARE MY INSULATION – GLOBAL
   ============================= */

:root {
  --primary: #e85d04;
  --primary-dark: #c44d00;
  --primary-light: #fff3ec;
  --navy: #0a1628;
  --navy-mid: #132240;
  --grey-bg: #f4f6fa;
  --white: #ffffff;
  --text: #1a2535;
  --text-light: #5a6a7a;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  padding: 14px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.logo-main {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem; font-weight: 800; line-height: 1;
  color: var(--primary); letter-spacing: 1px;
}
.logo-sub {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 2px;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
}
.nav-badge {
  background: var(--primary); color: var(--white);
  font-weight: 700; font-size: 0.82rem;
  padding: 6px 14px; border-radius: 50px; letter-spacing: 0.5px;
}

/* ===== TICKER ===== */
.ticker-strip { background: var(--primary); overflow: hidden; padding: 10px 0; }
.ticker-inner {
  display: flex; gap: 60px; white-space: nowrap;
  animation: ticker 28s linear infinite; width: max-content;
}
.ticker-inner span { font-size: 0.82rem; font-weight: 700; color: white; letter-spacing: 0.5px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a2f5a 100%);
  min-height: 88vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 60px 24px; gap: 60px; max-width: 100%;
  flex-wrap: wrap; justify-content: center;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px; pointer-events: none;
}
.hero-blob {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,93,4,0.14) 0%, transparent 70%);
  border-radius: 50%; top: -100px; right: -100px; pointer-events: none;
}
.hero-content { max-width: 580px; color: var(--white); animation: fadeUp 0.7s ease both; }
.hero-pill {
  display: inline-block;
  background: rgba(232,93,4,0.2); border: 1px solid var(--primary);
  color: var(--primary); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 1px; padding: 6px 16px; border-radius: 50px;
  margin-bottom: 20px; text-transform: uppercase;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  line-height: 1.05; margin-bottom: 20px; letter-spacing: -0.5px;
}
.hero-title em { font-style: normal; color: var(--primary); }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.78); line-height: 1.65; margin-bottom: 32px; }
.hero-sub strong { color: var(--primary); }

/* ===== SAVINGS COUNTER ===== */
.savings-counter {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px; padding: 20px 24px;
  margin-bottom: 32px; flex-wrap: wrap;
}
.counter-item { flex: 1; text-align: center; min-width: 100px; }
.counter-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.2rem; font-weight: 900;
  color: var(--primary); line-height: 1; margin-bottom: 4px;
}
.counter-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.5px; }
.counter-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); margin: 0 8px; }

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-block; background: var(--primary); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 700;
  letter-spacing: 1px; padding: 18px 48px; border-radius: 50px; border: none;
  cursor: pointer; transition: all 0.22s ease;
  box-shadow: 0 6px 28px rgba(232,93,4,0.4); text-transform: uppercase;
}
.cta-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 10px 36px rgba(232,93,4,0.5); }
.cta-btn.pulse { animation: ctaPulse 2.4s ease-in-out infinite; }
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 6px 28px rgba(232,93,4,0.4); }
  50% { box-shadow: 0 6px 48px rgba(232,93,4,0.7), 0 0 0 8px rgba(232,93,4,0.12); }
}
.hero-timer { margin-top: 14px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ===== HOUSE SCENE ===== */
.hero-visual { animation: fadeUp 0.9s ease 0.2s both; }
.house-scene { position: relative; width: 300px; height: 340px; }
.house-card {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  width: 220px; height: 220px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; padding-bottom: 24px;
}
.house-roof {
  width: 0; height: 0;
  border-left: 80px solid transparent; border-right: 80px solid transparent;
  border-bottom: 60px solid var(--primary);
  position: absolute; top: 20px;
}
.house-body {
  width: 110px; height: 100px;
  background: rgba(255,255,255,0.15); border-radius: 4px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 6px; padding: 10px; position: absolute; top: 80px;
}
.house-window { background: rgba(232,93,4,0.5); border-radius: 3px; }
.house-door { background: rgba(232,93,4,0.8); border-radius: 3px 3px 0 0; grid-column: 1/3; height: 28px; align-self: end; }
.savings-badge {
  position: absolute; top: 12px; right: -16px;
  background: var(--primary); color: white;
  font-family: 'Barlow Condensed', sans-serif; font-size: 1.4rem; font-weight: 800;
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow-lg); line-height: 1;
}
.savings-badge small { display: block; font-size: 0.7rem; font-weight: 400; }
.warmth-lines { position: absolute; bottom: -20px; display: flex; gap: 8px; }
.warmth-lines span {
  display: block; width: 4px; height: 24px; background: var(--primary);
  border-radius: 4px; animation: warmth 1.5s ease-in-out infinite; opacity: 0.6;
}
.warmth-lines span:nth-child(2) { animation-delay: 0.3s; height: 34px; }
.warmth-lines span:nth-child(3) { animation-delay: 0.6s; }
@keyframes warmth { 0%,100% { transform: scaleY(0.7); opacity: 0.4; } 50% { transform: scaleY(1.1); opacity: 0.9; } }
.float-card {
  position: absolute; background: white; color: var(--navy);
  font-size: 0.78rem; font-weight: 700; padding: 8px 14px;
  border-radius: 50px; box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  white-space: nowrap; animation: floatBob 3s ease-in-out infinite;
}
.float-1 { top: 10px; right: -10px; animation-delay: 0s; }
.float-2 { top: 50%; left: -20px; animation-delay: 0.8s; }
.float-3 { bottom: 20px; right: -10px; animation-delay: 1.6s; }
@keyframes floatBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ===== PRESS BAR ===== */
.press-bar {
  background: var(--grey-bg); padding: 28px 24px; text-align: center;
  border-top: 1px solid #dee6ef; border-bottom: 1px solid #dee6ef;
}
.press-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); margin-bottom: 16px; }
.press-logos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 28px; }
.press-item { font-size: 1rem; font-weight: 700; color: #666; letter-spacing: -0.5px; opacity: 0.7; }
.press-item.sky { background: #00449e; color: white; padding: 4px 10px; border-radius: 3px; font-size: 0.82rem; }
.press-item.yahoo { color: #6001d2; font-size: 1.2rem; }
.press-item.sun { color: #e8393e; }

/* ===== SECTIONS ===== */
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; text-align: center; }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  color: var(--navy); margin-bottom: 12px;
}
.section-title.light { color: var(--white); }
.section-sub { color: var(--text-light); font-size: 1.05rem; margin-bottom: 48px; }

/* ===== WHY SECTION ===== */
.why-section { padding: 80px 24px; background: var(--navy); }
.why-section .section-title { color: white; }
.why-section .section-sub { color: rgba(255,255,255,0.6); }
.why-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.why-card {
  flex: 1; min-width: 220px; max-width: 300px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 32px 24px; text-align: center; color: white;
  transition: transform 0.2s, background 0.2s;
}
.why-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }
.why-card.why-featured { background: var(--primary); border-color: var(--primary); transform: scale(1.04); }
.why-card.why-featured:hover { transform: scale(1.04) translateY(-4px); }
.why-icon { font-size: 2rem; margin-bottom: 10px; }
.why-stat { font-family: 'Barlow Condensed', sans-serif; font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 8px; }
.why-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.85rem; opacity: 0.8; line-height: 1.5; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 80px 24px; background: var(--white); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step {
  flex: 1; min-width: 200px; max-width: 280px;
  text-align: center; padding: 32px 24px;
  background: var(--grey-bg); border-radius: var(--radius); position: relative;
}
.step-num { font-family: 'Barlow Condensed', sans-serif; font-size: 3rem; font-weight: 800; color: var(--primary); opacity: 0.3; line-height: 1; margin-bottom: 12px; }
.step h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }
.step-arrow { font-size: 2rem; color: var(--primary); align-self: center; padding: 0 12px; font-weight: 300; }

/* ===== TRUST SECTION ===== */
.trust-section { padding: 80px 24px; background: var(--grey-bg); }
.trust-inner { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; max-width: 1000px; }
.trust-item {
  flex: 1; min-width: 240px; background: var(--white);
  border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); text-align: left;
}
.trust-icon { font-size: 1rem; display: block; margin-bottom: 12px; }
.trust-item p { font-size: 0.92rem; color: var(--text); line-height: 1.55; font-style: italic; margin-bottom: 12px; }
.trust-item small { font-size: 0.78rem; color: var(--text-light); font-weight: 700; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 80px 24px; text-align: center; color: white; }
.cta-banner-inner { max-width: 900px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner-text h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; margin-bottom: 8px; color: white; }
.cta-banner-text p { font-size: 1rem; opacity: 0.9; color: white; }
.cta-banner .cta-btn { background: white; color: var(--primary-dark); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }
.cta-banner .cta-btn:hover { background: var(--grey-bg); }

/* ===== FOOTER ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.55); text-align: center; padding: 40px 24px; font-size: 0.82rem; }
.footer-links { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
.footer-links a { color: var(--primary); font-size: 0.82rem; }
.footer-small { max-width: 700px; margin: 14px auto 0; font-size: 0.72rem; opacity: 0.55; line-height: 1.5; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; min-height: auto; padding: 48px 20px; }
  .hero-visual { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .why-grid { flex-direction: column; align-items: center; }
  .why-card.why-featured { transform: scale(1); }
  .trust-inner { flex-direction: column; }
  .trust-item { min-width: unset; }
  .savings-counter { justify-content: center; }
  .counter-divider { display: none; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
}
