/* ============================================================
   Home Page — LifeSource 2026
   ============================================================ */

/* ----- Hero ----- */
.hp-hero {
    position: relative;
    overflow: visible;
    padding-top: 120px;
    padding-bottom: 0;
    background: #ffffff;
}

.hp-hero .container {
    position: relative;
    z-index: 2;
}

.hp-hero-content {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 48px;
}

.hp-hero-text {
    flex: 0 0 50%;
    max-width: 650px;
}

.hp-hero-title {
    font-family: "Montserrat", sans-serif;
    font-size: 66px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ls-color-black);
    margin: 0;
}

.hp-hero-title .accent {
    font-weight: 900;
    color: var(--ls-color-light-green);
}

.hp-hero-right {
    flex: 1;
}

.hp-hero-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
    margin: 0 0 23px;
}

.hp-hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hp-btn-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.hp-hero-image-card {
    position: relative;
    width: 100%;
    max-width: 1392px;
    margin: 0 auto;
    height: 579px;
    border-radius: 42px;
    overflow: hidden;
}
.hp-hero-image-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* ----- Proof Strip ----- */
.hp-proof-strip {
    background: #132717;
    padding: 48px 0;
    margin-top: 24px;
}

.hp-proof-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hp-proof-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.hp-proof-icon {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
    line-height: 1;
}

.hp-proof-icon img {
    width: 34px;
    height: 34px;
    display: block;
    margin: 0 auto;
}

.hp-proof-value {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--ls-color-light-green);
    line-height: 1.15;
    letter-spacing: -1.3px;
    margin-bottom: 4px;
}

.hp-proof-label {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.55;
}

/* ----- One System Section ----- */
.hp-one-system {
    padding: 80px 0;
}

.hp-one-system-card {
    display: flex;
    align-items: center;
    gap: 45px;
    background: linear-gradient(224deg, #407e43 24%, #182f22 81%);
    border-radius: 72px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    padding: 13px;
    overflow: hidden;
}

.hp-one-system-image {
    flex: 0 0 617px;
    height: 752px;
    border-radius: 58px;
    overflow: hidden;
}

.hp-one-system-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-one-system-content {
    flex: 1;
    padding: 32px 32px 32px 0;
    color: #ffffff;
}

.hp-one-system-content h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
    color: #ffffff;
}

.hp-one-system-content > p {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    margin: 0 0 24px;
    color: #ffffff;
}

.hp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}

.hp-feature-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-feature-icon {
    width: 38px;
    height: 38px;
    line-height: 1;
}

.hp-feature-icon img {
    width: 38px;
    height: 38px;
    display: block;
}

.hp-feature-title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin: 0;
}

.hp-feature-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: #ffffff;
    margin: 0;
}

/* ----- Stats Strip ----- */
.hp-stats-section {
    padding: 0;
    margin-bottom: 80px;
}

.hp-stats-strip {
    background: #132717;
    border-radius: 48px;
    padding: 41px 48px;
}

.hp-stats-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.hp-stat-item {
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.hp-stat-value {
    font-family: "Montserrat", sans-serif;
    font-size: 35px;
    font-weight: 800;
    color: var(--ls-color-light-green);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.hp-stat-label {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.55;
}

/* ----- How It Works ----- */
.hp-how-works {
    padding: 0 0 120px;
}

.hp-how-works-inner {
    display: flex;
    align-items: center;
    gap: 42px;
}

.hp-how-works-text {
    flex: 0 0 485px;
}

.hp-how-works-text h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #182f22;
    margin: 0 0 24px;
}

.hp-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.hp-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-step-number {
    font-family: "Montserrat", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--ls-color-light-green);
    line-height: 1.15;
    letter-spacing: -1px;
}

.hp-step-title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--ls-color-text);
    line-height: 1.55;
}

.hp-step-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ls-color-text);
    line-height: 1.55;
    margin: 0;
}

.hp-how-works-media {
    flex: 1;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    height: 563px;
}

.hp-how-works-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 69px;
    height: 69px;
}

/* ----- Why Families ----- */
.hp-why-families {
    padding: 0 0 120px;
}

.hp-why-families-inner {
    display: flex;
    align-items: center;
    gap: 52px;
}

.hp-why-families-left {
    flex: 0 0 734px;
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    height: 720px;
}

.hp-why-families-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.hp-why-families-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 32px;
    padding: 42px;
}

.hp-why-families-overlay h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #182f22;
    margin: 0 0 16px;
}

.hp-why-families-overlay .kicker {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: var(--ls-color-light-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.55;
    margin: 0 0 16px;
}

.hp-why-families-overlay p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
    margin: 0;
}

.hp-why-families-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hp-benefit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hp-benefit-icon {
    flex-shrink: 0;
    width: 10px;
    margin-top: 6px;
}

.hp-benefit-icon img {
    width: 10px;
    height: 25px;
    display: block;
}

.hp-benefit-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-benefit-title {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #182f22;
    line-height: 1.55;
    letter-spacing: -0.3px;
    margin: 0;
}

.hp-benefit-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ls-color-text);
    line-height: 1.55;
    margin: 0;
}

/* ----- Testimonials ----- */
.hp-testimonials {
    padding: 0 0 120px;
    text-align: center;
}

.hp-testimonials h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #182f22;
    margin: 0 0 40px;
}

.hp-testimonial-cards {
    display: flex;
    gap: 24px;
}

.hp-testimonial-card {
    flex: 1;
    background: #eef2f0;
    border: 2px solid rgba(0, 0, 0, 0.14);
    border-radius: 32px;
    padding: 32px;
    text-align: left;
}

.hp-testimonial-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.hp-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.hp-testimonial-name {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    line-height: 21px;
    margin: 0;
}

.hp-testimonial-location {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--ls-color-light-green);
    line-height: 21px;
    margin: 0;
}

.hp-testimonial-text {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--ls-color-text);
    line-height: 1.55;
    margin: 0;
}

/* ----- Service Area ----- */
.hp-service-area {
    padding: 0 0 120px;
}

.hp-service-area-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.hp-service-text {
    flex: 0 0 512px;
}

.hp-service-text h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ls-color-black);
    margin: 0 0 24px;
}

.hp-service-text > p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ls-color-text);
    margin: 0 0 39px;
}

.hp-visit-section h3 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ls-color-black);
    margin: 0 0 24px;
}

.hp-visit-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hp-visit-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hp-visit-icon {
    width: 22px;
    flex-shrink: 0;
    text-align: center;
}

.hp-visit-icon img {
    width: 22px;
    height: 22px;
    display: block;
}

.hp-visit-detail {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: var(--ls-color-text);
    line-height: 1.55;
}

.hp-visit-detail strong {
    font-weight: 700;
}

.hp-service-map {
    flex: 1;
    border-radius: 42px;
    overflow: hidden;
    height: 540px;
}

.hp-service-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Service CTA Banner ----- */
.hp-service-cta {
    padding: 0 0 120px;
}

.hp-service-cta-card {
    display: flex;
    align-items: center;
    gap: 45px;
    background: linear-gradient(221deg, #407e43 24%, #182f22 81%);
    border-radius: 72px;
    border: 2px solid rgba(0, 0, 0, 0.05);
    padding: 13px;
    overflow: hidden;
    height: 608px;
    position: relative;
}

.hp-service-cta-text {
    position: absolute;
    left: 70px;
    top: 164px;
    width: 343px;
    z-index: 2;
}

.hp-service-cta-text h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 24px;
}

.hp-service-cta-text p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.55;
    margin: 0 0 32px;
}

.hp-service-cta-image {
    margin-left: auto;
    height: 100%;
    border-radius: 52px;
    overflow: hidden;
    width: 733px;
    flex-shrink: 0;
}

.hp-service-cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----- Commercial ----- */
.hp-commercial {
    padding: 0 0 120px;
}

.hp-commercial-inner {
    display: flex;
    align-items: center;
    gap: 42px;
}

.hp-commercial-media {
    flex: 1;
    height: 563px;
    border-radius: 42px;
    overflow: hidden;
    background: #b1b1b1;
}

.hp-commercial-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-commercial-text {
    flex: 0 0 485px;
}

.hp-commercial-text h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #182f22;
    margin: 0 0 24px;
}

.hp-commercial-text p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ls-color-text);
    line-height: 1.55;
    margin: 0 0 24px;
}

/* ----- CTA + Form ----- */
.hp-consultation {
    padding: 0 0 120px;
}

.hp-consultation-card {
    display: flex;
    align-items: center;
    gap: 52px;
    background: linear-gradient(35deg, #9d2103 12%, #ca2c06 105%);
    border-radius: 64px;
    padding: 52px 12px 12px 48px;
}

.hp-consultation-left {
    flex: 1;
    color: #ffffff;
}

.hp-consultation-left h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    letter-spacing: -1px;
    margin: 0 0 16px;
    max-width: 494px;
}

.hp-consultation-left > p {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.55;
    letter-spacing: -0.3px;
    margin: 0 0 24px;
    max-width: 494px;
}

.hp-consultation-phone-label {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.55;
    letter-spacing: -0.3px;
    margin: 0 0 12px;
}

.hp-consultation-form {
    flex: 0 0 647px;
    background: #f6f6f6;
    border-radius: 52px;
    padding: 44px;
    box-shadow: 0 12px 8px rgba(0, 0, 0, 0.08), 0 4px 3px rgba(0, 0, 0, 0.03);
}

.hp-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.hp-form-row .hp-form-field {
    flex: 1;
}

.hp-form-field {
    margin-bottom: 15px;
}

.hp-form-field input,
.hp-form-field select {
    width: 100%;
    height: 48px;
    border: 2px solid #d3d3d3;
    border-radius: 10px;
    padding: 0 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--ls-color-text);
    line-height: 1.55;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.hp-form-field input::placeholder,
.hp-form-field select::placeholder {
    color: #afafaf;
}

.hp-form-field input:focus,
.hp-form-field select:focus {
    border-color: var(--ls-color-light-green);
}

.hp-form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23afafaf' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.hp-form-submit {
    width: 100%;
    margin-top: 8px;
}

/* ----- Responsive ----- */
@media (max-width: 1199.98px) {
    .hp-hero-title { font-size: 52px; }
    .hp-hero-content { gap: 40px; }
    .hp-hero-image-card { height: 420px; border-radius: 32px; }
    .hp-one-system-card { flex-direction: column; height: auto; }
    .hp-one-system-image { flex: none; width: 100%; height: 400px; }
    .hp-one-system-content { padding: 32px; }
    .hp-why-families-inner { flex-direction: column; }
    .hp-why-families-left { flex: none; width: 100%; height: 500px; }
    .hp-service-area-inner { flex-direction: column; }
    .hp-service-text { flex: none; width: 100%; }
    .hp-service-map { width: 100%; height: 400px; }
    .hp-service-cta-card { height: auto; min-height: 500px; }
    .hp-service-cta-image { width: 55%; }
    .hp-commercial-inner { flex-direction: column-reverse; }
    .hp-commercial-text { flex: none; width: 100%; }
    .hp-commercial-media { width: 100%; height: 400px; }
    .hp-consultation-card { flex-direction: column; padding: 48px 24px 24px; }
    .hp-consultation-form { flex: none; width: 100%; }
}

@media (max-width: 991.98px) {
    .hp-hero { padding-top: 100px; }
    .hp-hero-content { flex-direction: column; gap: 32px; }
    .hp-hero-text { flex: none; max-width: 100%; }
    .hp-hero-title { font-size: 42px; }
    .hp-hero-image-card { height: 350px; border-radius: 28px; }
    .hp-proof-items { flex-wrap: wrap; justify-content: center; }
    .hp-proof-item { min-width: 45%; flex: 0 0 45%; }
    .hp-features-grid { grid-template-columns: 1fr; }
    .hp-how-works-inner { flex-direction: column; }
    .hp-how-works-text { flex: none; width: 100%; }
    .hp-how-works-media { width: 100%; height: 400px; }
    .hp-testimonial-cards { flex-direction: column; }
    .hp-stats-items { flex-wrap: wrap; justify-content: center; }
    .hp-stat-item { min-width: 45%; flex: 0 0 45%; }
    .hp-service-cta-card { flex-direction: column; padding: 48px 24px; }
    .hp-service-cta-text { position: static; width: 100%; }
    .hp-service-cta-image { width: 100%; height: 300px; border-radius: 32px; }
}

@media (max-width: 767.98px) {
    .hp-hero-title { font-size: 36px; }
    .hp-hero-actions { flex-direction: column; align-items: flex-start; }
    .hp-hero-image-card { height: 260px; border-radius: 24px; }
    .hp-one-system-card { border-radius: 32px; }
    .hp-one-system-image { height: 280px; border-radius: 28px; }
    .hp-stats-strip { padding: 32px 24px; border-radius: 32px; }
    .hp-stat-value { font-size: 28px; }
    .hp-why-families-left { height: 400px; }
    .hp-why-families-overlay h2 { font-size: 28px; }
    .hp-consultation-card { border-radius: 32px; }
    .hp-consultation-form { border-radius: 32px; padding: 32px 24px; }
    .hp-consultation-left h2 { font-size: 32px; }
    .hp-service-cta-card { border-radius: 32px; }
    .hp-service-cta-text h2 { font-size: 32px; }
}


/* === HERO TOP-SPACING STANDARDIZATION (nav→hero gap matched to commercial Figma reference, 2026-06-16) === */
@media (min-width: 992px) { .hp-hero { padding-top: 191px !important; } }

/* === TRUST BAR v2 (QA 2026-07-03b): floating proof card over the hero image ===
   Matches the onsite proof-card pattern (.op-proof-card on /our-products): dark
   rounded card straddling the hero image bottom edge. Image restored taller with
   a top-biased crop (faces / red arch / tanks visible); card stays above the fold. */
@media (min-width: 992px) {
  .hp-hero { padding-top: 150px !important; }
  .hp-hero-content { margin-bottom: 20px !important; align-items: flex-start !important; }
  .hp-hero-title { margin-top: -8px; } /* optical top-align: h1 line-height overshoots its cap height */
  /* compact 2-line headline like the original design */
  .hp-hero-title { font-size: 56px !important; line-height: 1.15 !important; }
  /* unobstructed image; height tracks viewport so the trust band below stays in view */
  .hp-hero-image-card { height: clamp(340px, 100vh - 500px, 620px) !important; }
  .hp-hero-image-card img { object-position: 50% 46%; }
  /* trust bar = original full-width dark band below the image (not floating) */
  .hp-proof-strip {
    background: #132717 !important;
    padding: 22px 0 !important;
    margin-top: 18px !important;
    position: static !important;
  }
  .hp-proof-items {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hp-hero-image-card { height: clamp(320px, 100vh - 500px, 560px) !important; }
}

/* QA 2026-07-06: why-families green bullets sat high of the text — render as a 10px dot
   aligned with the first line of each benefit title (was stretched into a 10x25 box) */
.hp-benefit-icon img { height: 10px !important; }
.hp-benefit-icon { margin-top: 7px !important; }

/* QA 2026-07-07: hero image enlarged (viewport-adaptive) per user request; proof card kept above fold */
