/* ═══════════════════════════════════════════════════════════════
   Pinnacle Climate Systems — HOME PAGE CSS
   index.html specific styles only
═══════════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  background: var(--navy-deep);
  contain: layout;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Dot grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* dot pattern removed for perf — use opacity overlay instead */
  pointer-events: none;
}

/* Diagonal warm glow — top right */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    135deg,
    rgba(249,115,22,.07) 0%,
    rgba(249,115,22,.025) 45%,
    transparent 100%
  );
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp6) var(--sp4) var(--sp7);
  position: relative;
  z-index: 1;
  width: 100%;
  gap: var(--sp6);
}

.hero-content { max-width: 860px; }

/* Top pill row */
.hero-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--sp4);
}
.hero-rating-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}

/* Main headline */
.hero-h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: clamp(3.4rem, 7.5vw, 7rem);
  letter-spacing: -.045em;
  line-height: .95;
  color: #fff;
  margin-bottom: var(--sp4);
}
.hero-h1 em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero-h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  opacity: .4;
}

/* hero-sub removed — uses .subhead class from style.css */

/* Hero right panel */
.hero-right {
  display: none;
  flex-direction: column;
  gap: var(--sp3);
}
.hero-right-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rl);
  padding: var(--sp4);
  display: flex;
  align-items: flex-start;
  gap: var(--sp3);
}
.hrc-icon {
  width: 46px; height: 46px;
  border-radius: var(--rm);
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.hrc-title {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}
.hrc-sub { font-size: 0.82rem; color: rgba(255,255,255,.45); line-height: 1.55; }

.hero-right-rating {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rl);
  padding: var(--sp4);
  text-align: center;
}
.hrr-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  letter-spacing: -.04em;
}
.hrr-stars { margin: 8px 0 4px; justify-content: center; }
.hrr-label { font-size: 0.78rem; color: rgba(255,255,255,.35); }

.hero-actions {
  display: flex;
  gap: var(--sp2);
  flex-wrap: wrap;
  margin-bottom: var(--sp6);
}

/* Floating stat cards — desktop only */
.hero-floats {
  display: none;
}
.hero-float {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--rl);
  padding: var(--sp2) var(--sp3);
}
.hf-icon {
  width: 40px; height: 40px;
  border-radius: var(--rm);
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.hf-strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  line-height: 1.1;
}
.hf-sub { font-size: 0.74rem; color: rgba(255,255,255,.45); }

/* Proof strip */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp4);
  padding-top: var(--sp4);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-proof-item { display: flex; align-items: center; gap: 12px; }
.hpi-icon {
  width: 38px; height: 38px;
  border-radius: var(--rm);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.hpi-strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.1;
}
.hpi-sub { font-size: 0.75rem; color: rgba(255,255,255,.4); }

/* ─── STATS BAND ─── */
.stats-band { background: var(--orange); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0,0,0,.08);
}
.stat-item {
  background: var(--orange);
  padding: var(--sp4);
  text-align: center;
}
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── PROBLEM SECTION ─── */
.problem-section {
  background: var(--gray-50);
  padding: var(--sp8) 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp6);
  align-items: center;
}

/* Dark visual block */
.problem-visual {
  background: var(--navy);
  border-radius: var(--rxxl);
  padding: var(--sp6) var(--sp5);
  position: relative;
  overflow: hidden;
}
.problem-visual::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .05;
}
.problem-visual::after {
  content: '';
  position: absolute;
  bottom: -70px; right: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .04;
}
.pv-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.pv-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: .9;
  color: var(--orange);
  letter-spacing: -.04em;
  margin: var(--sp2) 0;
  position: relative;
  z-index: 1;
}
.pv-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: var(--sp5);
  position: relative;
  z-index: 1;
}
.pv-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp2);
  position: relative;
  z-index: 1;
}
.pv-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.pv-check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Content side */
.problem-content h2 { margin-bottom: var(--sp3); }
.problem-content .subhead { margin-bottom: var(--sp4); }

.problem-quote {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--orange);
  border-radius: var(--rl);
  padding: var(--sp4);
  margin-top: var(--sp5);
}
.problem-quote blockquote {
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: var(--sp2);
}
.problem-quote cite {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: normal;
  font-weight: 600;
}

/* ─── PROCESS STEPS ─── */
.process-section {
  background: var(--white);
  padding: var(--sp8) 0;
}
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp4);
  margin-top: var(--sp6);
}
.step-card {
  padding: var(--sp5) var(--sp4);
  background: var(--gray-50);
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  position: relative;
  overflow: hidden;
  transition: border-color var(--tb), box-shadow var(--tb), transform var(--tb);
}
.step-card:hover {
  border-color: var(--orange);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
/* Ghost step number */
.step-card::before {
  content: attr(data-step);
  position: absolute;
  top: -16px; right: -8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(0,0,0,.04);
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange-soft);
  border: 2px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--orange);
  flex-shrink: 0;
  margin-bottom: var(--sp3);
  transition: all var(--tb);
}
.step-card:hover .step-num {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp1);
}
.step-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.step-detail {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: var(--sp2);
}

/* ─── WHY US — navy background ─── */
.why-section {
  background: var(--navy);
  padding: var(--sp8) 0;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp6);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Photo side */
.why-visual { position: relative; }
.why-photo {
  border-radius: var(--rxxl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--sh-xl);
  background: var(--navy-light);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Overlay stat cards */
.why-stat-cards {
  position: absolute;
  right: -16px;
  bottom: var(--sp5);
  display: none;
  flex-direction: column;
  gap: var(--sp2);
}
.wsc-card {
  background: rgba(255,255,255,.97);
    border-radius: var(--rl);
  padding: var(--sp3) var(--sp4);
  box-shadow: var(--sh-xl);
  min-width: 155px;
}
.wsc-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--navy);
  line-height: 1;
}
.wsc-num span { color: var(--orange); }
.wsc-label { font-size: 0.74rem; color: var(--text-muted); font-weight: 600; margin-top: 2px; }

/* Content side */
.why-content .eyebrow { color: rgba(249,115,22,.9); }
.why-content h2 { color: #fff; margin-bottom: var(--sp3); }
.why-content .subhead { color: rgba(255,255,255,.5); max-width: 500px; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp4);
  margin-top: var(--sp5);
}
.why-item { display: flex; gap: var(--sp3); align-items: flex-start; }
.why-icon {
  width: 48px; height: 48px;
  border-radius: var(--rm);
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  transition: all var(--tb);
}
.why-item:hover .why-icon { background: var(--orange); color: #fff; }
.why-item strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}
.why-item p { font-size: 0.86rem; color: rgba(255,255,255,.45); line-height: 1.65; }

/* ─── SERVICES PREVIEW ─── */
.services-preview {
  background: var(--gray-50);
  padding: var(--sp8) 0;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp3);
  margin-top: var(--sp5);
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  padding: var(--sp5);
  display: flex;
  flex-direction: column;
  gap: var(--sp3);
  transition: border-color var(--tb), box-shadow var(--tb), transform var(--tb);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ts);
}
.service-card:hover {
  border-color: var(--orange);
  box-shadow: var(--sh-lg);
  transform: translateY(-3px);
}
.service-card:hover::after { transform: scaleX(1); }

.sc-icon {
  width: 56px; height: 56px;
  border-radius: var(--rl);
  background: var(--orange-soft);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tb);
}
.service-card:hover .sc-icon { background: var(--orange); color: #fff; }

.sc-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.sc-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.sc-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: auto;
  transition: gap var(--tb);
}
.service-card:hover .sc-link { gap: 10px; }

/* ─── HOME REVIEWS ─── */
.home-reviews { background: var(--white); padding: var(--sp8) 0; }
.home-reviews-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp4);
  flex-wrap: wrap;
  margin-bottom: var(--sp5);
}
.reviews-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp3);
}

/* ─── CTA STRIP ─── */
.cta-strip {
  background: linear-gradient(
    135deg,
    var(--navy-deep) 0%,
    var(--navy)      60%,
    var(--navy-mid)  100%
  );
  padding: var(--sp7) 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-strip-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-strip h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: var(--sp2); }
.cta-strip p  { color: rgba(255,255,255,.5); font-size: 1.05rem; max-width: 540px; margin: 0 auto var(--sp5); }

.cta-actions {
  display: flex;
  gap: var(--sp2);
  justify-content: center;
  flex-wrap: wrap;
}
.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp4);
  flex-wrap: wrap;
  margin-top: var(--sp4);
}
.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
}
.cta-trust-item svg { color: var(--orange); }

/* ─── RESPONSIVE ─── */
@media (min-width: 769px) {
  .problem-grid   { grid-template-columns: 1fr 1fr; gap: var(--sp7); }
  .steps-row      { grid-template-columns: repeat(2, 1fr); }
  .why-grid       { grid-template-columns: 1fr 1fr; }
  .why-stat-cards { display: flex; }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .reviews-3      { grid-template-columns: repeat(3, 1fr); }
  .stats-row      { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1060px) {
  .hero-inner     { grid-template-columns: 1fr 1fr; }
  .hero-right     { display: flex; }
  .hero-content   { max-width: 100%; }
  .steps-row     { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { gap: var(--sp2); }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 360px; }
}