:root {
	--hes-blue: #0784c8;
	--hes-navy: #132f44;
	--hes-ink: #1e252b;
	--hes-muted: #63707a;
	--hes-mist: #f3f8fb;
}

html { scroll-behavior: smooth; }
.hes-page { margin: 0; color: var(--hes-ink); background: #fff; font-family: Arial, Helvetica, sans-serif; }
.hes-page * { box-sizing: border-box; }
.hes-page a { color: inherit; }
.hes-main { overflow: hidden; }
.hes-header { min-height: 124px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 6px 3vw; background: #fff; box-shadow: 0 3px 15px rgba(22,55,76,.1); position: relative; z-index: 5; }
.hes-brand { flex: 0 1 485px; }
.hes-brand img { display: block; width: min(485px, 34vw); height: 112px; object-fit: contain; object-position: left center; }
.hes-header-actions { display: flex; align-items: center; gap: clamp(26px, 3vw, 52px); }
.hes-main-site { color: var(--hes-muted); border-bottom: 1px solid #aebbc3; padding-bottom: 3px; text-decoration: none; font-size: 14px; font-weight: 700; white-space: nowrap; }
.hes-main-site:hover, .hes-main-site:focus { color: var(--hes-blue); border-color: var(--hes-blue); }
.hes-phone { display: flex; flex-direction: column; color: var(--hes-blue); text-decoration: none; font-size: 18px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
.hes-phone small { color: var(--hes-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.hes-button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 27px; border: 0; border-radius: 6px; color: #fff !important; background: linear-gradient(135deg, var(--hes-blue), #0074b8); box-shadow: 0 8px 20px rgba(0,126,195,.22); text-decoration: none !important; font-weight: 800; cursor: pointer; }
.hes-button-small { min-height: 46px; font-size: 14px; white-space: nowrap; }
.hes-hero { min-height: 730px; position: relative; display: flex; align-items: center; overflow: hidden; background: #edf5f8 var(--hes-hero-image) center / cover no-repeat; }
.hes-hero-fade { position: absolute; inset: 0; background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 31%,rgba(255,255,255,.65) 49%,transparent 69%); }
.hes-hero-copy { position: relative; width: min(700px,56vw); margin-left: 4vw; padding: 55px 0; z-index: 1; }
.hes-eyebrow { color: var(--hes-blue); text-transform: uppercase; letter-spacing: .15em; font-weight: 800; font-size: 13px; margin: 0 0 17px; }
.hes-loan-message { display: flex; align-items: center; gap: 24px; color: var(--hes-navy); margin: 4px 0; }
.hes-loan-message > span { display: flex; flex-direction: column; align-items: center; border-right: 2px solid #c9dbe5; padding-right: 24px; }
.hes-loan-message > span b { font-size: clamp(70px,7vw,108px); line-height: .82; letter-spacing: -.07em; color: var(--hes-blue); }
.hes-loan-message > span small { text-transform: uppercase; letter-spacing: .22em; font-weight: 800; margin-top: 9px; }
.hes-loan-message > strong { font-size: 25px; line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; }
.hes-loan-message em { color: var(--hes-blue); font-size: clamp(42px,4.7vw,72px); font-style: normal; letter-spacing: -.045em; }
.hes-main h1 { font-size: clamp(42px,3.7vw,60px); line-height: 1.08; letter-spacing: -.035em; margin: 22px 0 0; }
.hes-main h2 { font-size: clamp(36px,4vw,55px); line-height: 1.1; letter-spacing: -.03em; margin: 0; }
.hes-lead { font-size: 20px; line-height: 1.5; max-width: 520px; }
.hes-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; }
.hes-hero-actions > a:last-child { color: #0074b8; font-weight: 800; text-decoration: none; }
.hes-micro { display: block; color: #75818a; margin-top: 18px; }
.hes-pad { padding: 105px max(5vw, calc((100vw - 1320px)/2)); }
.hes-intro, .hes-why, .hes-quote, .hes-faq { display: grid; grid-template-columns: 1.05fr .95fr; gap: 9%; align-items: start; }
.hes-intro > div:last-child, .hes-section-head > p, .hes-quote > div > p, .hes-faq > div > p, .hes-eligibility-intro > p:not(.hes-eyebrow) { color: var(--hes-muted); font-size: 17px; line-height: 1.7; }
.hes-dark { color: #fff; background: var(--hes-navy); }
.hes-dark .hes-eyebrow { color: #69cef7; }
.hes-section-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 8%; align-items: end; margin-bottom: 50px; }
.hes-dark .hes-section-head > p, .hes-dark > small, .hes-dark article p, .hes-why > div > p { color: #bed0dc; }
.hes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.hes-grid article { min-height: 230px; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.045); }
.hes-grid article > b { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; background: var(--hes-blue); border-radius: 50%; }
.hes-grid h3, .hes-steps h3 { font-size: 20px; margin: 22px 0 10px; }
.hes-grid p, .hes-steps p { line-height: 1.6; font-size: 14px; }
.hes-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 42px; }
.hes-steps article { border-top: 2px solid #dce8ef; padding-top: 24px; }
.hes-steps b { color: var(--hes-blue); }
.hes-eligibility { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8%; align-items: start; background: var(--hes-mist); }
.hes-eligibility-intro > small { display: block; color: var(--hes-muted); line-height: 1.6; margin-top: 25px; }
.hes-quiz-card { min-height: 440px; padding: 38px; border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgba(27,67,91,.12); }
.hes-quiz-top { display: flex; justify-content: space-between; gap: 20px; color: var(--hes-muted); font-size: 13px; }
.hes-quiz-top b { color: var(--hes-navy); }
.hes-quiz-progress { height: 7px; border-radius: 10px; background: #dce8ef; margin: 18px 0 42px; overflow: hidden; }
.hes-quiz-progress i { display: block; width: 25%; height: 100%; border-radius: 10px; background: var(--hes-blue); transition: width .25s ease; }
.hes-quiz-step, .hes-quiz-result { text-align: center; }
.hes-question-number { display: inline-block; color: var(--hes-blue); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 800; }
.hes-quiz-step h3 { font-size: 29px; line-height: 1.25; margin: 14px auto 12px; max-width: 590px; }
.hes-quiz-step > p { color: var(--hes-muted); line-height: 1.6; max-width: 560px; margin: 0 auto 30px; }
.hes-quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; max-width: 470px; margin: auto; }
.hes-quiz-options button { min-height: 58px; border: 2px solid var(--hes-blue); border-radius: 7px; color: #fff; background: var(--hes-blue); font-size: 17px; font-weight: 800; cursor: pointer; }
.hes-quiz-options button:hover, .hes-quiz-options button:focus { background: #006fac; }
.hes-quiz-options .hes-unsure { grid-column: 1/-1; color: var(--hes-blue); background: #fff; }
.hes-quiz-options .hes-unsure:hover, .hes-quiz-options .hes-unsure:focus { background: #edf8fd; }
.hes-quiz-back, .hes-quiz-restart { border: 0; color: var(--hes-muted); background: none; text-decoration: underline; cursor: pointer; margin-top: 25px; }
.hes-quiz-result { border-radius: 8px; padding: 24px; }
.hes-quiz-result.is-positive { border-left: 4px solid #28a56a; background: #e9f7f0; }
.hes-quiz-result.is-neutral { border-left: 4px solid #d99a24; background: #fff7e8; }
.hes-result-icon { width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: #fff; font-size: 26px; font-weight: 800; }
.hes-quiz-result strong { display: block; font-size: 20px; }
.hes-quiz-result p { color: var(--hes-muted); line-height: 1.6; }
.hes-quiz-restart { display: block; margin: 20px auto 0; }
.hes-why ul { list-style: "✓  "; padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hes-why aside { padding: 35px; border-radius: 12px; color: var(--hes-ink); background: #fff; text-align: center; }
.hes-why aside img { width: 100%; margin: 20px 0; }
.hes-why aside strong, .hes-why aside small { display: block; }
.hes-quote { background: var(--hes-mist); }
.hes-call { border-left: 4px solid var(--hes-blue); padding-left: 20px; margin-top: 35px; }
.hes-call > * { display: block; }
.hes-call a { color: var(--hes-blue); font-size: 28px; font-weight: 800; text-decoration: none; margin: 5px 0; }
.hes-form-card { padding: 40px; border-radius: 12px; background: #fff; box-shadow: 0 14px 40px rgba(27,67,91,.12); }
.hes-form-card h3 { font-size: 27px; margin: 0; }
.hes-form-card label, .hes-form-card legend { display: block; font-size: 13px; font-weight: 700; margin: 16px 0; }
.hes-form-card input:not([type="checkbox"]), .hes-form-card select, .hes-form-card textarea { width: 100%; min-height: 46px; border: 1px solid #ccdce5; border-radius: 5px; padding: 8px 10px; margin-top: 7px; }
.hes-form-card fieldset { border: 0; padding: 0; margin: 0; }
.hes-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.hes-form-card .wpcf7-list-item { margin: 0 15px 8px 0; }
.hes-form-card .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-weight: 400; }
.hes-form-card .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; font-weight: 400; }
.hes-form-card input[type="submit"] { width: 100%; min-height: 56px; border: 0; border-radius: 6px; color: #fff; background: linear-gradient(135deg,var(--hes-blue),#0074b8); font-weight: 800; cursor: pointer; }
.hes-faq details { border-top: 1px solid #dce8ef; }
.hes-faq details:last-child { border-bottom: 1px solid #dce8ef; }
.hes-faq summary { min-height: 78px; display: flex; align-items: center; justify-content: space-between; font-weight: 800; cursor: pointer; }
.hes-faq details p { color: var(--hes-muted); line-height: 1.7; }
.hes-disclaimer { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 35px 6vw; background: #eaf2f6; font-size: 12px; line-height: 1.6; }
.hes-disclaimer a { color: var(--hes-blue); }
.hes-footer { display: grid; grid-template-columns: 300px 1fr auto; align-items: center; gap: 30px; padding: 35px 5vw; color: var(--hes-muted); font-size: 13px; }
.hes-footer img { width: 270px; height: 85px; object-fit: contain; object-position: left center; }
.hes-footer a { color: var(--hes-blue); font-weight: 800; text-decoration: none; }
[hidden] { display: none !important; }

@media (max-width: 1000px) {
	.hes-main-site { display: none; }
	.hes-grid { grid-template-columns: repeat(2,1fr); }
	.hes-eligibility { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 700px) {
	.hes-header { min-height: 82px; padding: 5px 15px; }
	.hes-brand { flex-basis: 235px; }
	.hes-brand img { width: 235px; height: 70px; }
	.hes-header-actions { gap: 13px; }
	.hes-phone { display: none; }
	.hes-button-small { min-height: 42px; padding: 0 13px; font-size: 11px; }
	.hes-hero { min-height: 790px; align-items: flex-end; background-position: 63% center; }
	.hes-hero-fade { background: linear-gradient(180deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,.8) 38%,#fff 58%); }
	.hes-hero-copy { width: auto; margin: 0; padding: 260px 20px 70px; }
	.hes-main h1 { font-size: 41px; }
	.hes-loan-message { gap: 14px; }
	.hes-loan-message > span { padding-right: 14px; }
	.hes-loan-message > span b { font-size: 70px; }
	.hes-loan-message > strong { font-size: 18px; }
	.hes-loan-message em { font-size: 43px; }
	.hes-hero-actions { flex-direction: column; align-items: stretch; }
	.hes-pad { padding: 72px 21px; }
	.hes-intro, .hes-section-head, .hes-why, .hes-quote, .hes-faq { grid-template-columns: 1fr; gap: 40px; }
	.hes-grid, .hes-steps, .hes-form-row { grid-template-columns: 1fr; }
	.hes-why ul { grid-template-columns: 1fr; }
	.hes-quiz-card { min-height: 470px; padding: 25px 18px; }
	.hes-quiz-top { flex-direction: column; gap: 5px; }
	.hes-quiz-progress { margin: 15px 0 34px; }
	.hes-quiz-step h3 { font-size: 24px; }
	.hes-quiz-options { grid-template-columns: 1fr; }
	.hes-quiz-options .hes-unsure { grid-column: auto; }
	.hes-form-card { padding: 27px 19px; }
	.hes-disclaimer, .hes-footer { grid-template-columns: 1fr; text-align: center; }
	.hes-footer img { margin: auto; object-position: center; }
}
