@media (min-width: 992px) {
    .second-mortgage-body .navbar-nav > li > a { line-height: 40px; }
}

.second-mortgage-page { min-height: 680px; padding: 38px 0 48px; background: #fff; font-family: Poppins, Arial, sans-serif; }
.second-mortgage-hero { max-width: 1040px; text-align: center; }
.second-mortgage-hero h1 { margin: 0; color: #111; font-size: 36px; font-weight: 800; text-transform: uppercase; }
.hero-copy { margin: 6px 0 34px; color: #555; }
.second-mortgage-hero h2, .calculator label { display: block; color: #111; font-size: 14px; font-weight: 800; text-transform: uppercase; }
.requirements { display: flex; justify-content: center; gap: 16px; margin: 18px auto 28px; }
.requirement { display: flex; align-items: center; justify-content: center; gap: 12px; width: 182px; min-height: 84px; padding: 14px; border: 1px solid #e5e9e8; border-radius: 9px; box-shadow: 0 4px 12px rgba(0,0,0,.08); text-align: left; font-size: 13px; }
.requirement i { width: 42px; height: 42px; padding-top: 11px; border: 1px solid #222; border-radius: 50%; color: #111; font-size: 19px; text-align: center; }
.today-rate { max-width: 680px; margin: 0 auto; padding: 12px; border: 2px solid #00aa83; border-radius: 5px; color: #111; font-weight: 800; text-transform: uppercase; }
.today-rate strong { color: #00a87d; font-size: 24px; }
.fine-print { max-width: 760px; margin: 8px auto 28px; color: #666; font-size: 10px; }
.calculator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr); align-items: start; gap: 40px; max-width: 960px; margin: 0 auto; }
.calculator-panel { min-width: 0; }
.calculator-payment { padding-top: 0; }
.calculator-payment p { white-space: nowrap; }
.calculator output { display: block; margin: 5px 0 14px; color: #00a87d; font-size: 30px; font-weight: 800; }
.calculator input[type=range] { width: 100%; accent-color: #00a87d; }
.range-labels { display: flex; justify-content: space-between; margin: 2px 0 0; color: #333; font-size: 11px; font-weight: 700; }
.calculator p { color: #666; font-size: 11px; }
.start-button { min-width: 440px; margin-top: 18px; padding: 15px 30px; border: 0; border-radius: 7px; background: #008080; color: #fff; font-weight: 800; }
.start-button:hover, .start-button:focus { background: #006666; }
.requirement .requirement-icon { width:48px; height:48px; object-fit:contain; flex:0 0 48px; }

.second-mortgage-social-proof { max-width: 980px; margin: 38px auto 0; }
.second-mortgage-partners { display: flex; align-items: center; min-height: 76px; border-radius: 10px; background: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.13); overflow: hidden; }
.second-mortgage-partners h2 { flex: 0 0 190px; margin: 0; padding: 22px 18px; border-right: 1px solid #129b91; color: #34495e; font-size: 14px; font-weight: 500; text-transform: none; }
.second-mortgage-partner-list { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-around; min-width: 0; padding: 0 15px; }
.second-mortgage-partner { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 12px 10px; }
.second-mortgage-partner img { width: auto; max-width: 125px; height: 27px; object-fit: contain; }

.second-mortgage-reviews { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.second-mortgage-google-rating,
.second-mortgage-review-card { min-width: 0; height: 150px; border-radius: 10px; background: #fff; box-shadow: 0 5px 14px rgba(0,0,0,.13); text-align: left; }
.second-mortgage-google-rating { padding: 16px 18px; }
.second-mortgage-google-logo { display: block; width: 92px; height: 30px; object-fit: cover; object-position: top; }
.second-mortgage-rating-value { display: inline-block; margin: 10px 5px 0 0; color: #20262e; font-size: 28px; font-weight: 700; line-height: 1; }
.second-mortgage-rating-stars { width: 77px; height: 16px; vertical-align: baseline; }
.second-mortgage-review-card { position: relative; padding: 15px 14px 9px 32px; overflow: hidden; }
.second-mortgage-review-quote { min-height: 52px; color: #29313d; font-size: 11px; line-height: 1.45; }
.second-mortgage-review-quote::before { content: "\201C"; position: absolute; top: 10px; left: 12px; color: #29313d; font-family: Georgia, serif; font-size: 25px; font-weight: 700; line-height: 1; }
.second-mortgage-review-stars { display: block; width: 65px; height: auto; margin: 4px 0 5px; }
.second-mortgage-review-author { display: flex; align-items: center; min-width: 0; }
.second-mortgage-review-avatar { width: 34px; height: 34px; margin-right: 7px; border-radius: 50%; object-fit: cover; }
.second-mortgage-review-name { color: #20262e; font-size: 11px; font-weight: 700; white-space: nowrap; }
.second-mortgage-review-age { margin-left: auto; color: #575757; font-size: 9px; white-space: nowrap; }
.second-mortgage-review-extra { display: none; }
.second-mortgage-review-age-block { display: block; margin: 5px 0 0; }
.second-mortgage-body #footer > .container > .row:first-child { padding-top: 30px; }

@media (max-width: 767px) {
    .second-mortgage-page { padding-top: 34px; padding-bottom: 0; }
    .second-mortgage-hero h1 { font-size: 32px; }
    .requirements { flex-wrap: wrap; }
    .requirement { width: calc(50% - 8px); min-height: 78px; padding: 10px; font-size: 12px; }
    .requirement .requirement-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .calculator { display: block; max-width: 520px; }
    .calculator-payment { margin-top: 25px; }
    .calculator-payment p { white-space: normal; }
    .range-labels { margin-bottom: 24px; }
    .start-button { min-width: 0; width: 100%; padding-right: 12px; padding-left: 12px; font-size: 12px; white-space: nowrap; }
    .second-mortgage-page { padding-left: 15px; padding-right: 15px; }
    .second-mortgage-social-proof { margin-top: 34px; }
    .second-mortgage-partners { display: block; }
    .second-mortgage-partners h2 { padding: 12px; border-right: 0; border-bottom: 1px solid #e4e4e4; }
    .second-mortgage-partner-list { flex-wrap: wrap; justify-content: center; padding: 4px 4px 8px; }
    .second-mortgage-partner { width: 33.333%; padding: 6px 4px; }
    .second-mortgage-partner img { max-width: 100%; height: 22px; }
    .second-mortgage-reviews { display: flex; align-items: stretch; width: 100%; gap: 0; margin: 14px 0 30px; padding: 0 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
    .second-mortgage-google-rating { flex: 0 0 120px; width: 120px; min-width: 120px; height: 170px; margin-right: 10px; padding: 18px 10px; box-shadow: none; scroll-snap-align: start; }
    .second-mortgage-google-logo { width: 92px; height: 30px; }
    .second-mortgage-rating-value { display: block; margin: 8px 0 5px; font-size: 19px; }
    .second-mortgage-rating-stars { width: 55px; height: auto; }
    .second-mortgage-review-card { flex: 0 0 88%; width: 88%; min-width: 88%; height: 170px; margin-right: 10px; padding: 18px 16px 12px 34px; scroll-snap-align: start; }
    .second-mortgage-review-quote { min-height: 70px; font-size: 13px; line-height: 1.45; }
    .second-mortgage-review-quote::before { top: 13px; left: 12px; font-size: 26px; }
    .second-mortgage-review-stars { width: 75px; margin: 5px 0 7px; }
    .second-mortgage-review-avatar { width: 36px; height: 36px; margin-right: 8px; }
    .second-mortgage-review-name { font-size: 12px; letter-spacing: normal; }
    .second-mortgage-review-age { font-size: 10px; }
    .second-mortgage-review-extra { display: block; }
    .second-mortgage-body #footer > .container > .row:first-child { padding-top: 38px; }
}