/* Hero Section Styles (Matching Reference Site Image 2 Exact Layout & Proportions) */
.hero-section {
  background: #ffffff;
  padding: 2.25rem 48px 4.5rem 48px;
}

.hero-container {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-heading {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.35rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #0f172a;
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.hero-subheading {
  font-size: 1.45rem;
  color: #475569;
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-subheading .dynamic-user-state {
  color: #0f172a;
  font-weight: 800;
}

/* Combined Wide Search Bar spanning under Subheading */
.hero-zip-form {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 540px;
}

@media (min-width: 540px) {
  .hero-zip-form {
    flex-direction: row;
    align-items: stretch;
  }
}

/* Rounded Input Box with Floating Top Label */
.hero-zip-box-wrapper {
  flex: 1;
  height: 68px;
  border: 1.5px solid #0f172a;
  border-radius: 12px;
  background: #ffffff;
  padding: 8px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
  cursor: text;
}

@media (min-width: 540px) {
  .hero-zip-box-wrapper {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
  }
}

.hero-zip-box-wrapper:focus-within {
  border-color: #ff5700;
  box-shadow: 0 0 0 3px rgba(255, 87, 0, 0.2);
}

.hero-zip-floating-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1;
  margin-bottom: 2px;
}

.hero-zip-input {
  border: none;
  outline: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  font-family: inherit;
}

/* Connected Continue Button with Arrow Movement */
.hero-btn-continue {
  height: 68px;
  width: 100%;
  background: #ff5700;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  padding: 0 2rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 87, 0, 0.28);
  white-space: nowrap;
}

@media (min-width: 540px) {
  .hero-btn-continue {
    width: 220px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.hero-btn-continue:hover {
  background: #e64d00;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 87, 0, 0.38);
}

.hero-btn-continue .btn-arrow-icon {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-continue:hover .btn-arrow-icon {
  transform: translateX(8px);
}

.hero-disclaimer {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 1rem;
  line-height: 1.45;
  max-width: 540px;
}

.hero-disclaimer a {
  color: #0284c7;
  text-decoration: underline;
}

.hero-visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Clean Transparent 3D House Image */
.hero-split-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0,0,0,0.06));
}

/* MOBILE RESPONSIVE FIXES (Clean, professional 2 lines max) */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1.25rem 3rem 1.25rem;
  }
  .hero-heading {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }
  .hero-subheading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .hero-zip-form {
    gap: 0.75rem;
  }
  .hero-zip-box-wrapper {
    max-width: 100%;
    height: 56px;
    border-radius: 10px !important;
    border-right: 1.5px solid #0f172a !important;
    padding: 6px 16px;
  }
  .hero-zip-input {
    font-size: 1.15rem;
  }
  .hero-btn-continue {
    max-width: 100%;
    height: 56px;
    border-radius: 10px !important;
    font-size: 1.15rem;
  }
  .hero-split-image {
    max-width: 380px;
  }
}

/* V25 mobile/tablet hero cleanup to match reference screenshots */
.hero-section {
  padding-top: 0 !important;
  background: #ffffff;
}
.hero-container {
  gap: 1.5rem !important;
}
.hero-heading {
  font-weight: 700 !important;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 0 26px 2.6rem 26px !important;
  }
  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.35rem !important;
  }
  .hero-content {
    padding-top: 34px !important;
  }
  .hero-heading {
    font-size: clamp(2.15rem, 8.1vw, 2.9rem) !important;
    line-height: 1.11 !important;
    letter-spacing: -0.035em !important;
    font-weight: 700 !important;
    max-width: 520px !important;
    margin: 0 0 1.55rem 0 !important;
  }
  .hero-subheading {
    font-size: clamp(1.18rem, 4.6vw, 1.55rem) !important;
    line-height: 1.38 !important;
    margin-bottom: 2rem !important;
    max-width: 500px !important;
  }
  .hero-subheading .dynamic-user-state {
    font-weight: 700 !important;
  }
  .hero-zip-form {
    max-width: 100% !important;
    gap: 12px !important;
  }
  .hero-zip-box-wrapper {
    height: 86px !important;
    border-radius: 14px !important;
    padding: 13px 26px !important;
    border: 1.5px solid #0f172a !important;
  }
  .hero-zip-floating-label {
    font-size: 1rem !important;
    font-weight: 700 !important;
  }
  .hero-zip-input {
    font-size: 1.55rem !important;
    font-weight: 700 !important;
  }
  .hero-btn-continue {
    height: 84px !important;
    border-radius: 14px !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
  }
  .hero-disclaimer {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
    margin-top: 1rem !important;
    max-width: 100% !important;
  }
  .hero-visual-wrapper {
    margin-top: 1.1rem !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .hero-split-image {
    max-width: min(78vw, 360px) !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-left: 26px !important;
    padding-right: 26px !important;
    padding-bottom: 2.2rem !important;
  }
  .hero-content {
    padding-top: 36px !important;
  }
  .hero-heading {
    font-size: 2.38rem !important;
    line-height: 1.12 !important;
    max-width: 420px !important;
    margin-bottom: 1.55rem !important;
  }
  .hero-subheading {
    font-size: 1.48rem !important;
    line-height: 1.38 !important;
    margin-bottom: 2rem !important;
  }
  .hero-zip-box-wrapper,
  .hero-btn-continue {
    height: 84px !important;
  }
  .hero-split-image {
    max-width: 345px !important;
  }
}

@media (max-width: 390px) {
  .hero-heading {
    font-size: 2.16rem !important;
  }
  .hero-subheading {
    font-size: 1.25rem !important;
  }
  .hero-zip-box-wrapper,
  .hero-btn-continue {
    height: 76px !important;
  }
  .hero-split-image {
    max-width: 310px !important;
  }
}

/* V26 final mobile hero typography: force 2-line hero and remove top gap */
@media (max-width: 991px) {
  .site-header + .hero-section,
  .hero-section {
    padding-top: 0 !important;
  }
  .hero-content {
    padding-top: 18px !important;
  }
  .hero-heading {
    font-size: clamp(1.72rem, 6.15vw, 2.28rem) !important;
    line-height: 1.08 !important;
    font-weight: 650 !important;
    letter-spacing: -0.04em !important;
    max-width: 100% !important;
    margin-bottom: 1.05rem !important;
    text-wrap: balance;
  }
  .hero-subheading {
    font-size: clamp(1.02rem, 3.95vw, 1.22rem) !important;
    line-height: 1.32 !important;
    margin-bottom: 1.45rem !important;
    max-width: 100% !important;
  }
  .hero-zip-box-wrapper,
  .hero-btn-continue {
    height: 72px !important;
  }
  .hero-disclaimer {
    font-size: 0.82rem !important;
    line-height: 1.38 !important;
  }
  .hero-visual-wrapper {
    margin-top: 0.25rem !important;
  }
  .hero-split-image {
    max-width: min(70vw, 310px) !important;
  }
}

@media (max-width: 540px) {
  .hero-section {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .hero-content {
    padding-top: 16px !important;
  }
  .hero-heading {
    font-size: clamp(1.62rem, 6.05vw, 2.05rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 1rem !important;
  }
  .hero-subheading {
    font-size: clamp(0.98rem, 3.9vw, 1.12rem) !important;
    line-height: 1.32 !important;
    margin-bottom: 1.35rem !important;
  }
  .hero-zip-box-wrapper,
  .hero-btn-continue {
    height: 68px !important;
  }
  .hero-btn-continue {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 430px) {
  .hero-section {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .hero-heading {
    font-size: clamp(1.52rem, 5.85vw, 1.78rem) !important;
    line-height: 1.09 !important;
  }
  .hero-subheading {
    font-size: 0.98rem !important;
  }
}

@media (max-width: 360px) {
  .hero-heading {
    font-size: 1.36rem !important;
  }
  .hero-subheading {
    font-size: 0.9rem !important;
  }
}

/* V27 landing refinements */
.hero-section { background:#f7f7f7 !important; }
@media (max-width: 991px){
  .hero-section{background:#f7f7f7 !important; padding-top:0!important;}
  .hero-heading{
    font-size:clamp(1.9rem,7vw,2.35rem)!important;
    line-height:1.08!important;
    font-weight:700!important;
    max-width:100%!important;
    margin-bottom:1.15rem!important;
  }
  .hero-subheading{
    font-size:clamp(1.05rem,4.2vw,1.25rem)!important;
    line-height:1.32!important;
    margin-bottom:1.5rem!important;
  }
  .hero-split-image{max-width:min(72vw,330px)!important;}
}
@media (max-width:430px){
  .hero-heading{font-size:1.9rem!important;}
  .hero-subheading{font-size:1.08rem!important;}
}
/* V96 TABLET HERO RESPONSIVE FIX
   Tablet views: heading one line, ZIP/button full rows, bigger house image */

/


/* V96B TABLET HERO FINAL RESPONSIVE FIX */
@media (min-width: 600px) and (max-width: 1024px) {
  .hero,
  .hero-section,
  .hero-container,
  .hero-content,
  main {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(20px, 4.1vw, 30px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.8px !important;
    word-spacing: -1.5px !important;
    white-space: nowrap !important;
  }

  .hero-subtitle,
  .hero-subtitle p,
  .swc-subtitle-text-lg,
  .swc-subtitle-text-lg p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero form,
  .zip-form,
  .hero-zip-form,
  .zip-code-form,
  form:has(input[placeholder*="ZIP"]),
  form:has(input[name*="zip"]),
  form:has(input[id*="zip"]) {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero input,
  input[placeholder*="ZIP"],
  input[name*="zip"],
  input[id*="zip"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero button,
  .hero button[type="submit"],
  .hero .hero-btn,
  .hero .hero-btn-continue,
  form:has(input[placeholder*="ZIP"]) button {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero img,
  .hero-image img,
  .hero-illustration img,
  img[src*="hero"],
  img[src*="house"],
  img[src*="FHI"] {
    width: min(100%, 430px) !important;
    max-width: 430px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* V97 HERO HEADING FIT ALL MOBILE DEVICES
   Heading thodi choti, 2 lines, full available width use kare */

/* Mobile + small tablet */
@media (max-width: 767px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;

    /* Text thora chota + responsive */
    font-size: clamp(24px, 7.2vw, 31px) !important;
    line-height: 1.08 !important;

    /* Extra space fill, lekin 3rd line na bane */
    letter-spacing: -0.9px !important;
    word-spacing: -1.6px !important;

    white-space: normal !important;
    text-align: left !important;
    font-weight: 600 !important;
  }

  /* Hero content ko full available width do */
  .hero,
  .hero-section,
  .hero-container,
  .hero-content,
  .hero-text,
  .hero-left,
  .swc-hero,
  .swc-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Very small phones: still 2 lines, no extra right gap */
@media (max-width: 390px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    font-size: clamp(23px, 7vw, 28px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
    word-spacing: -1.8px !important;
  }
}

/* Larger phones: fill width nicely */
@media (min-width: 391px) and (max-width: 767px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    font-size: clamp(28px, 7.1vw, 33px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.9px !important;
    word-spacing: -1.4px !important;
  }
}

/* Tablet/web safe: heading single line where space allows */
@media (min-width: 768px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    max-width: 100% !important;
    font-size: clamp(30px, 4.2vw, 46px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1px !important;
    word-spacing: -1px !important;
  }
}


/* V98 HERO HEADING SPACING FILL
   Right side extra space ko natural letter/word spacing se fill kare */
@media (max-width: 767px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    letter-spacing: 0.35px !important;
    word-spacing: 1.2px !important;
    font-size: clamp(24px, 7.15vw, 31px) !important;
    line-height: 1.08 !important;
    white-space: normal !important;
    text-align: left !important;
  }
}

/* Very small mobile par spacing kam, taake 3rd line na bane */
@media (max-width: 390px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    letter-spacing: 0.15px !important;
    word-spacing: 0.6px !important;
    font-size: clamp(23px, 7vw, 28px) !important;
  }
}

/* 400px+ mobile par thori zyada spacing for fill */
@media (min-width: 391px) and (max-width: 767px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    letter-spacing: 0.45px !important;
    word-spacing: 1.6px !important;
  }
}


/* V99 FINAL HERO HEADING FILL */
@media (max-width: 767px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    letter-spacing: 0.75px !important;
    word-spacing: 2.4px !important;
  }
}

/* Small devices par thora safe spacing, taake 3rd line na bane */
@media (max-width: 390px) {
  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    letter-spacing: 0.35px !important;
    word-spacing: 1.2px !important;
  }
}


/* V120 WEB ONLY LANDING HEADING FIX
   Sirf desktop/web par line break apply hoga.
   Mobile/tablet responsive ko touch nahi karega. */

/* Default: mobile/tablet par break hide */
.web-only-heading-break {
  display: none !important;
}

/* Web/Desktop only */
@media screen and (min-width: 1025px) {
  .web-only-heading-break {
    display: inline !important;
  }

  .hero-title,
  .hero-title p,
  .hero h1,
  .hero-heading,
  .swc-title-text-xl,
  .swc-title-text-xl p {
    font-size: clamp(46px, 3.4vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1.4px !important;
    word-spacing: -1.2px !important;
    max-width: 980px !important;
    white-space: normal !important;
  }
}

