﻿/* Version 2 homepage — layered hero (base rules forked from V1 merge-home) */

html[data-wd-build="v2"] .idx section.hero.v1-hero {
  min-height: 90vh;
  justify-content: flex-end;
  padding-bottom: clamp(2rem, 6vh, 3.5rem);
}

html[data-wd-build="v2"] .idx section.hero:not(.page-hero) .v1-rs-kicker.idx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--idx-accent);
}

html[data-wd-build="v2"] .idx section.hero:not(.page-hero) .v1-rs-kicker.idx-kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--idx-accent);
  flex-shrink: 0;
}

html[data-wd-build="v2"] .idx .v1-rs-shell {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
  padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(1.5rem, 5vh, 2.75rem);
}

html[data-wd-build="v2"] .idx .v1-rs-title {
  font-family: var(--idx-display);
  font-size: clamp(2.35rem, 7vw, 3.85rem);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.85);
}

html[data-wd-build="v2"] .idx .v1-rs-title em {
  font-style: normal;
  color: var(--idx-accent);
}

html[data-wd-build="v2"] .idx .v1-rs-lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.65;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75);
}

html[data-wd-build="v2"] .idx .v1-rs-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.65rem, 2.5vw, 1.5rem);
  margin: 1.85rem 0 1.35rem;
}

html[data-wd-build="v2"] .idx .v1-rs-stat {
  min-width: 5.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 242, 0, 0.55);
  background: rgba(0, 0, 0, 0.45);
}

html[data-wd-build="v2"] .idx .v1-rs-num {
  display: block;
  font-family: var(--idx-display);
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: var(--idx-accent);
  line-height: 1;
}

html[data-wd-build="v2"] .idx .v1-rs-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e4e4e7;
}

html[data-wd-build="v2"] .idx .v1-rs-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.65rem;
}

html[data-wd-build="v2"] .idx .v1-rs-pill {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fafafa;
  background: rgba(0, 0, 0, 0.5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[data-wd-build="v2"] .idx .v1-rs-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.65rem 0.85rem;
}

/* Hero CTAs: compact slab + phone strip. `.v1-rs-help` is a <p> â€” reset UA margins
   or the phone card stacks ~1em empty space and reads taller than the button. */
html[data-wd-build="v2"] .idx section.hero:not(.page-hero) .v1-rs-ctas .cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0.5rem 1.15rem;
  font-size: 0.65rem;
  line-height: 1.15;
  letter-spacing: 0.1em;
  align-self: stretch;
}

html[data-wd-build="v2"] .idx .v1-rs-phone-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  gap: 0.45rem 0.65rem;
  text-align: left;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(0, 0, 0, 0.45);
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  align-self: stretch;
}

html[data-wd-build="v2"] .idx .v1-rs-phone-box .v1-rs-help {
  margin: 0;
  padding: 0;
  font-size: 0.56rem;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a1a1aa;
  white-space: nowrap;
}

html[data-wd-build="v2"] .idx .v1-rs-phone-box a {
  font-family: var(--idx-display);
  font-size: clamp(0.8rem, 1.85vw, 0.92rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--idx-accent);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
}

html[data-wd-build="v2"] .idx .v1-rs-trust {
  justify-content: center;
  margin-top: 1.65rem;
}

html[data-wd-build="v2"] .idx .v1-rs-trust li {
  border-left: 3px solid rgba(255, 242, 0, 0.9);
  background: rgba(0, 0, 0, 0.58);
  padding: 0.45rem 0.85rem 0.45rem 1rem;
  margin-bottom: 0.45rem;
  border-radius: 2px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

