/* Featured HELOC: homepage band + /heloc/ page. Preview build 2026-11-28.
   Hero art swap: the section background below is a navy/gold placeholder; the <picture> inside
   .heloc-hero-media paints over it. Replace the two files in /images/heloc/ (or delete the <picture>) to change. */
.heloc-hero{--hl-navy:#0c1d3b;--hl-gold:#e8c050;--hl-gold-lt:#f6dc7e;position:relative;isolation:isolate;overflow:hidden;color:#fff;min-height:clamp(500px,40vw,600px);display:flex;align-items:center;background-image:url(/images/heloc/hero-desktop-2400x1000.webp),radial-gradient(900px 420px at 85% 30%,rgba(232,192,80,.38),transparent 70%),linear-gradient(115deg,#0c1d3b 0%,#16336a 60%,#2a4b8c 100%);background-size:cover,auto,auto;background-position:right center,85% 30%,center;background-repeat:no-repeat}
.heloc-hero-media{position:absolute;inset:0;z-index:0;display:block;pointer-events:none}
.heloc-hero-media img{width:100%;height:100%;object-fit:cover;object-position:right center;display:block}
.heloc-hero-scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(12,29,59,.78) 0%,rgba(12,29,59,.62) 45%,rgba(12,29,59,.3) 65%,rgba(12,29,59,0) 88%)}
.heloc-hero .heloc-hero-inner{position:relative;z-index:2;width:100%;padding-top:clamp(2.5rem,5vw,4rem);padding-bottom:clamp(2.5rem,5vw,4rem)}
.heloc-hero-copy{max-width:640px}
.heloc-eyebrow{display:inline-block;margin:0 0 1rem;padding:.3rem .8rem;border:1px solid var(--hl-gold);border-radius:999px;color:var(--hl-gold-lt);font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:rgba(12,29,59,.45)}
.heloc-hero h1,.heloc-hero h2{margin:0 0 1rem;color:#fff;font-size:clamp(1.9rem,3.6vw,2.9rem);line-height:1.12;text-shadow:0 2px 14px rgba(12,29,59,.55)}
.heloc-hero h1 em,.heloc-hero h2 em{font-style:normal;color:var(--hl-gold-lt)}
.heloc-sub{margin:0 0 1.25rem;font-size:clamp(1rem,1.3vw,1.15rem);line-height:1.6;color:#fff;text-shadow:0 1px 10px rgba(12,29,59,.6)}
.heloc-chips{list-style:none;margin:0 0 1.5rem;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.heloc-chips li{margin:0;padding:.4rem .8rem;border-radius:999px;background:rgba(12,29,59,.62);border:1px solid rgba(232,192,80,.7);color:#fff;font-size:.88rem;font-weight:600;line-height:1.3}
.heloc-chips li::before{content:"\2713";color:var(--hl-gold);margin-right:.4rem;font-weight:800}
.heloc-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin:0 0 .75rem}
.heloc-btn,.btn.heloc-btn{display:inline-block;padding:1rem 2.4rem;border-radius:8px;background:linear-gradient(180deg,#f6dc7e,#e8c050);color:#0c1d3b!important;font-family:Gilroy,system-ui,sans-serif;font-size:1.1rem;font-weight:700;text-decoration:none;border:0;box-shadow:0 4px 16px rgba(0,0,0,.28);transition:transform .15s,box-shadow .15s}
.heloc-btn:hover,.heloc-btn:focus-visible{transform:translateY(-1px);box-shadow:0 6px 20px rgba(0,0,0,.35);background:linear-gradient(180deg,#fbe79a,#eec65c)}
.heloc-btn:focus-visible,.heloc-link:focus-visible{outline:3px solid #fff;outline-offset:3px}
.heloc-contact{margin:0;font-size:.95rem;color:#fff;text-shadow:0 1px 8px rgba(12,29,59,.6)}
.heloc-contact a,.heloc-link{color:var(--hl-gold-lt);font-weight:700;text-decoration:underline;text-underline-offset:.15em}
.heloc-note{margin:.35rem 0 0;font-size:.82rem;line-height:1.5;color:rgba(255,255,255,.92);text-shadow:0 1px 8px rgba(12,29,59,.6)}
.heloc-fine{margin:.75rem 0 0;font-size:.74rem;line-height:1.5;color:rgba(255,255,255,.85);text-shadow:0 1px 8px rgba(12,29,59,.6)}
@media (max-width:700px){
 .heloc-hero{min-height:0;align-items:flex-start;background-image:url(/images/heloc/hero-mobile-1080x1350.webp),radial-gradient(900px 420px at 85% 30%,rgba(232,192,80,.38),transparent 70%),linear-gradient(115deg,#0c1d3b 0%,#16336a 60%,#2a4b8c 100%);background-position:center bottom,50% 0,center}
 .heloc-hero-media img{object-position:center bottom}
 .heloc-hero-scrim{background:linear-gradient(180deg,rgba(12,29,59,.82) 0%,rgba(12,29,59,.66) 45%,rgba(12,29,59,.25) 75%,rgba(12,29,59,0) 100%)}
 .heloc-hero .heloc-hero-inner{padding-top:2rem;padding-bottom:16rem}
 .heloc-chips li{font-size:.82rem;padding:.35rem .65rem}
 .heloc-btn,.btn.heloc-btn{display:block;width:100%;text-align:center}
}
/* /heloc/ body sections */
.heloc-page section{padding:clamp(2.5rem,5vw,4rem) 0}
.heloc-page h2{margin:0 0 .5rem;color:var(--color-dark,#0c1d3b);font-size:clamp(1.5rem,2.6vw,2rem)}
.heloc-page .heloc-lead{margin:0 0 2rem;max-width:760px;color:#46516a;font-size:1.05rem;line-height:1.6}
.heloc-benefits{background:var(--color-bg-subtle,#f1f4f9)}
.heloc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;list-style:none;margin:0;padding:0}
.heloc-card{background:#fff;border:1px solid #d9dee8;border-top:4px solid #e8c050;border-radius:10px;padding:1.4rem;box-shadow:0 2px 8px rgba(12,29,59,.06)}
.heloc-card h3{margin:0 0 .5rem;color:var(--color-dark,#0c1d3b);font-size:1.12rem;line-height:1.3}
.heloc-card p{margin:0;color:#2b3445;line-height:1.6;font-size:.97rem}
.heloc-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;list-style:none;margin:0;padding:0;counter-reset:s}
.heloc-step{position:relative;padding:1.4rem 1.4rem 1.4rem 1.4rem;border:1px solid #d9dee8;border-radius:10px;background:#fff}
.heloc-step::before{counter-increment:s;content:counter(s);display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;margin-bottom:.7rem;border-radius:50%;background:#0c1d3b;color:#f6dc7e;font-weight:800}
.heloc-step h3{margin:0 0 .4rem;color:var(--color-dark,#0c1d3b);font-size:1.12rem}
.heloc-step p{margin:0;color:#2b3445;line-height:1.6;font-size:.97rem}
.heloc-band{background:linear-gradient(115deg,#0c1d3b,#1a3f80);color:#fff;text-align:center}
.heloc-band h2{color:#fff}
.heloc-band p{margin:0 auto 1.25rem;max-width:640px;color:#fff;line-height:1.6}
.heloc-band .heloc-cta-row{justify-content:center}
.heloc-band .heloc-contact{color:#fff}
.heloc-faq-list{max-width:860px}
.heloc-faq-item{padding:1.1rem 0;border-top:1px solid #d9dee8}
.heloc-faq-item:last-child{border-bottom:1px solid #d9dee8}
.heloc-faq-item h3{margin:0 0 .4rem;color:var(--color-dark,#0c1d3b);font-size:1.1rem}
.heloc-faq-item p{margin:0;color:#2b3445;line-height:1.65}
.heloc-disc{background:#f6f8fb;border-top:1px solid #d6dbe4;padding:1.5rem 0!important}
.heloc-disc p{margin:0;font-size:.8rem;line-height:1.6;color:#2b3445}
.heloc-disc a{color:#0f1f3d;text-decoration:underline}
.heloc-disc img{vertical-align:middle;margin-right:.35rem}
@media (max-width:900px){.heloc-grid,.heloc-steps{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.heloc-grid,.heloc-steps{grid-template-columns:1fr}}

/* 7 Day HELOC additions */
.heloc-name{color:#f6dc7e;white-space:nowrap}
.heloc-hook{margin:0 0 1rem;font-size:clamp(1.2rem,2vw,1.55rem);font-weight:700;line-height:1.3;color:#f6dc7e;text-shadow:0 2px 12px rgba(12,29,59,.7)}
.heloc-namenote{background:#0c1d3b;color:#fff;padding:.7rem 0;border-top:2px solid #e8c050}
.heloc-namenote p{margin:0;font-size:.82rem;line-height:1.5;color:#fff}
.heloc-def{background:#fffdf5;border-bottom:1px solid #eadfb4;padding:1.5rem 0!important}
.heloc-def h2{font-size:1.15rem!important;margin:0 0 .3rem!important}
.heloc-def p{margin:0;max-width:860px;font-size:1.05rem;line-height:1.6;color:#0c1d3b}
.heloc-savfine{margin:1.25rem 0 0;font-size:.82rem;line-height:1.5;color:#46516a}
.heloc-namenote-foot{margin:0 0 .75rem!important;font-size:.85rem!important;color:#0c1d3b!important}
@media (max-width:700px){.heloc-hero .heloc-hero-inner{padding-bottom:10rem}}
.heloc-page .heloc-faq-item h3{font-size:1.1rem;line-height:1.35}
.heloc-page .heloc-card h3,.heloc-page .heloc-step h3{font-size:1.12rem}

.heloc-hero .heloc-benfine{margin:.15rem 0 1rem;font-size:.78rem;line-height:1.5;color:rgba(255,255,255,.92);text-shadow:0 1px 8px rgba(12,29,59,.7);max-width:36rem}
.heloc-benefits .heloc-benfine{margin:1.25rem 0 0;font-size:.82rem;line-height:1.5;color:#46516a;text-shadow:none;max-width:none}
@media (max-width:700px){.heloc-hero .heloc-benfine{font-size:.72rem}}

/* Featured section on pages without the main site chrome (e.g. /vi/) */
@font-face{font-family:Gilroy;src:url(/fonts/Gilroy-Bold.ttf) format("truetype");font-weight:700;font-display:fallback}
@font-face{font-family:Gilroy;src:url(/fonts/Gilroy-SemiBold.ttf) format("truetype");font-weight:600;font-display:fallback}
@font-face{font-family:Gilroy;src:url(/fonts/Gilroy-Regular-Copy.ttf) format("truetype");font-weight:400;font-display:fallback}
.heloc-hero,.heloc-namenote{font-family:Gilroy,system-ui,sans-serif}
.heloc-hero .container,.heloc-namenote .container{max-width:1200px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.vi-home-bar{max-width:1200px;margin:0 auto;padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.vi-home-bar img{height:60px;width:auto;display:block}
.vi-home-bar a{color:#0c1d3b;font-weight:600;text-decoration:underline}

/* SEO/AEO 2026-11-28: loan officer block + /vi/heloc/ header nav */
.heloc-lo .heloc-lo-card{max-width:860px;background:#fff;border:1px solid #d9dee8;border-radius:12px;padding:1.25rem 1.4rem;box-sizing:border-box}
.heloc-lo .heloc-lo-card p{margin:.25rem 0;color:#2b3445;line-height:1.6}
.heloc-lo .heloc-lo-card .heloc-lo-name{font-size:1.3rem!important;font-weight:700;color:#0c1d3b!important}
.heloc-lo .heloc-lo-title{font-weight:600}
.heloc-lo a{color:#0c1d3b;text-decoration:underline}
.vi-nav{display:flex;gap:1.1rem;flex-wrap:wrap;align-items:center}
.vi-nav a[aria-current="page"]{text-decoration:none;border-bottom:3px solid #c9a227}
