{"id":11874,"date":"2026-05-23T00:28:24","date_gmt":"2026-05-23T00:28:24","guid":{"rendered":"https:\/\/www.glovenco.com\/deal-analyzer\/"},"modified":"2026-05-29T02:07:42","modified_gmt":"2026-05-29T02:07:42","slug":"deal-analyzer","status":"publish","type":"page","link":"https:\/\/www.glovenco.com\/es\/deal-analyzer\/","title":{"rendered":"Analizador de acuerdos"},"content":{"rendered":"\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Poppins:wght@400;500;600;700;800&#038;family=Roboto:wght@400;500&#038;display=swap\" rel=\"stylesheet\">\n<style>\n\/* \u2500\u2500 Reset \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-wrap *{box-sizing:border-box;margin:0;padding:0}\n.gda-wrap{font-family:'Roboto',sans-serif;font-size:16px;line-height:1.5;color:#1C1D1F;background:#fff}\n\n\/* \u2500\u2500 Hero \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-hero{background:linear-gradient(135deg,#003D53 0%,#007582 100%);color:#fff;padding:56px 24px 44px;text-align:center}\n.gda-hero h1{font-family:'Poppins',sans-serif;font-size:clamp(24px,3.5vw,42px);font-weight:800;line-height:1.15;margin-bottom:12px;letter-spacing:-0.5px}\n.gda-hero p{font-size:clamp(14px,1.8vw,17px);color:rgba(255,255,255,.82);max-width:620px;margin:0 auto 22px}\n.gda-hero-badge{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);border-radius:30px;padding:5px 16px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:1.2px;color:rgba(255,255,255,.88)}\n\n\/* \u2500\u2500 Features strip \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-features{background:#F0EBE1;padding:16px 24px;border-bottom:1px solid #E3D9CB}\n.gda-features-inner{max-width:1320px;margin:0 auto;display:flex;flex-wrap:wrap;justify-content:center;gap:14px 36px}\n.gda-feature{display:flex;align-items:center;gap:7px;font-size:13px;color:#003D53;font-weight:500}\n.gda-feature svg{color:#007582;flex-shrink:0}\n\n\/* \u2500\u2500 Section wrapper \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-section{max-width:1320px;margin:0 auto;padding:36px 24px 40px}\n\n\/* \u2500\u2500 Main grid \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}\n@media(max-width:860px){.gda-grid{grid-template-columns:1fr;gap:18px}}\n\n\/* \u2500\u2500 Card \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-card{background:#fff;border:1px solid #D8E2E8;border-radius:14px;padding:26px 26px 22px;box-shadow:0 2px 16px rgba(0,61,83,.06)}\n\n\/* \u2500\u2500 Card title \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-card-title{font-family:'Poppins',sans-serif;font-size:17px;font-weight:700;color:#003D53;margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid #EEF2F5;display:flex;align-items:center;gap:9px}\n.gda-card-title svg{flex-shrink:0}\n\n\/* \u2500\u2500 Sub-heading \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-sub-heading{font-family:'Poppins',sans-serif;font-size:11px;font-weight:700;color:#007582;text-transform:uppercase;letter-spacing:1px;margin:20px 0 12px;padding-bottom:7px;border-bottom:1px solid #EEF2F5;display:flex;align-items:center;gap:6px}\n\n\/* \u2500\u2500 Hint bar \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-hint{background:#EBF4F6;border-radius:6px;padding:9px 13px;margin-bottom:16px;font-size:12px;color:#007582;display:flex;align-items:flex-start;gap:7px}\n.gda-hint svg{flex-shrink:0;margin-top:1px}\n\n\/* \u2500\u2500 Input field \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-field{margin-bottom:11px}\n.gda-field label{display:block;font-size:11px;font-weight:500;color:#5A6572;margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}\n.gda-input-wrap{position:relative;display:flex;align-items:center}\n.gda-input-wrap span.prefix,.gda-input-wrap span.suffix{position:absolute;font-size:13px;font-weight:600;color:#007582;pointer-events:none;z-index:1}\n.gda-input-wrap span.prefix{left:11px}\n.gda-input-wrap span.suffix{right:11px}\n.gda-field input[type=number]{width:100%;padding:10px 13px 10px 26px;border:1.5px solid #C8D4DC;border-radius:7px;font-size:14px;font-family:'Roboto',sans-serif;color:#1C1D1F;background:#FAFBFC;transition:border-color .18s,box-shadow .18s;-moz-appearance:textfield}\n.gda-field input[type=number]::-webkit-outer-spin-button,.gda-field input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none}\n.gda-field input[type=number]:focus{outline:none;border-color:#007582;box-shadow:0 0 0 3px rgba(0,117,130,.11);background:#fff}\n.gda-field.pct input[type=number]{padding-right:28px;padding-left:13px}\n.gda-field.dollar input[type=number]{padding-left:26px}\n.gda-field.plain input[type=number]{padding-left:13px}\n\n\/* \u2500\u2500 Tooltip \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-tip{position:relative;display:inline-flex;align-items:center;margin-left:5px;cursor:help;vertical-align:middle}\n.gda-tip svg{color:#8BA0AA;display:block;transition:color .15s}\n.gda-tip:hover svg{color:#007582}\n.gda-tip::after{content:attr(data-tip);position:absolute;bottom:calc(100% + 7px);left:50%;transform:translateX(-50%);background:#1C1D1F;color:#fff;padding:9px 13px;border-radius:7px;font-size:12px;font-weight:400;width:210px;line-height:1.45;text-align:left;pointer-events:none;opacity:0;transition:opacity .16s;z-index:9999;white-space:normal;text-transform:none;letter-spacing:0;font-family:'Roboto',sans-serif}\n.gda-tip:hover::after{opacity:1}\n\n\/* \u2500\u2500 Result grid \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}\n@media(max-width:480px){.gda-result-grid{grid-template-columns:1fr}}\n\n\/* Base result card *\/\n.gda-result-item{background:#EEF3F6;border-radius:10px;padding:14px 16px}\n.gda-result-label{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#6B7A82;font-weight:600;margin-bottom:4px;display:flex;align-items:center}\n.gda-result-value{font-family:'Poppins',sans-serif;font-size:19px;font-weight:700;color:#003D53}\n\n\/* Primary metric cards *\/\n.gda-result-item.highlight{background:#003D53;padding:20px 20px}\n.gda-result-item.highlight .gda-result-label{color:rgba(255,255,255,.65)}\n.gda-result-item.highlight .gda-result-value{color:#fff;font-size:28px}\n\n\/* Borrower Cash to Close \u2014 wide primary *\/\n.gda-result-item.wide{grid-column:1\/-1;background:#004F6B;padding:18px 20px}\n.gda-result-item.wide .gda-result-label{color:rgba(255,255,255,.65)}\n.gda-result-item.wide .gda-result-value{color:#fff;font-size:24px}\n\n\/* Secondary metrics *\/\n.gda-result-item.teal .gda-result-value{color:#007582}\n\n\/* Profit color states *\/\n.gda-result-item.profit-pos{background:#003D53}\n.gda-result-item.profit-pos .gda-result-value{color:#4DD9A0}\n.gda-result-item.profit-neg{background:#003D53}\n.gda-result-item.profit-neg .gda-result-value{color:#FF7B72}\n\n\/* \u2500\u2500 Status bar \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-status{margin-top:14px;margin-bottom:2px;padding:10px 14px;border-radius:7px;font-size:12.5px;font-weight:500;display:none;line-height:1.45}\n.gda-status.good{background:#E6F5EE;color:#145C38;border-left:3px solid #27AE60}\n.gda-status.caution{background:#FEF8E7;color:#7D5E08;border-left:3px solid #F0B429}\n.gda-status.poor{background:#FDECEA;color:#8B1A10;border-left:3px solid #E53935}\n\n\/* \u2500\u2500 Action buttons \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-actions{display:flex;flex-direction:column;gap:9px;margin-top:18px}\n.gda-btn{display:block;width:100%;padding:13px 18px;border-radius:8px;font-family:'Poppins',sans-serif;font-size:13px;font-weight:600;text-align:center;cursor:pointer;transition:all .18s;border:none;letter-spacing:.2px}\n.gda-btn-primary{background:#007582;color:#fff}\n.gda-btn-primary:hover{background:#009391;transform:translateY(-1px);box-shadow:0 5px 18px rgba(0,117,130,.32)}\n.gda-btn-secondary{background:#003D53;color:#fff}\n.gda-btn-secondary:hover{background:#004F6B;transform:translateY(-1px)}\n.gda-btn-ghost{background:transparent;color:#5A6572;border:1.5px solid #C8D4DC;font-size:12px}\n.gda-btn-ghost:hover{border-color:#007582;color:#007582}\n\n\/* \u2500\u2500 Reset button \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-btn-reset{background:none;border:none;color:#9BAAB3;font-size:12px;font-family:'Roboto',sans-serif;cursor:pointer;padding:8px 0 2px;display:flex;align-items:center;gap:5px;transition:color .15s;margin-top:6px;letter-spacing:.1px}\n.gda-btn-reset:hover{color:#C0392B}\n.gda-btn-reset svg{transition:transform .3s}\n.gda-btn-reset:hover svg{transform:rotate(-180deg)}\n\n\/* \u2500\u2500 Loan Structure panel \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-ls-panel{margin-top:24px;background:#fff;border:1px solid #D8E2E8;border-radius:14px;overflow:hidden;box-shadow:0 2px 16px rgba(0,61,83,.06)}\n.gda-ls-toggle{width:100%;padding:16px 22px;background:#002E40;color:#fff;font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;border:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition:background .18s;letter-spacing:.2px}\n.gda-ls-toggle:hover{background:#003D53}\n.gda-ls-toggle-left{display:flex;align-items:center;gap:9px}\n.gda-ls-toggle-left svg{opacity:.75}\n.gda-ls-toggle-sub{font-size:11px;font-weight:400;opacity:.7;margin-left:4px}\n.gda-ls-arrow{font-size:12px;transition:transform .22s;opacity:.8}\n.gda-ls-toggle.open .gda-ls-arrow{transform:rotate(180deg)}\n.gda-ls-body{display:none;padding:20px 22px;background:#F4F8FA}\n.gda-ls-body.open{display:block}\n.gda-ls-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}\n@media(max-width:900px){.gda-ls-grid{grid-template-columns:repeat(2,1fr)}}\n@media(max-width:500px){.gda-ls-grid{grid-template-columns:1fr}}\n.gda-ls-item{background:#fff;border:1px solid #E0E8ED;border-radius:9px;padding:14px 16px}\n.gda-ls-label{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#6B7A82;font-weight:600;margin-bottom:5px}\n.gda-ls-value{font-family:'Poppins',sans-serif;font-size:18px;font-weight:700;color:#003D53}\n.gda-ls-item.accent .gda-ls-value{color:#007582}\n.gda-ls-item.full{grid-column:1\/-1;background:#003D53;border-color:#003D53}\n.gda-ls-item.full .gda-ls-label{color:rgba(255,255,255,.65)}\n.gda-ls-item.full .gda-ls-value{font-size:22px;color:#fff}\n\n\/* \u2500\u2500 CTA section \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-cta-section{background:linear-gradient(135deg,#003D53 0%,#007582 100%);padding:52px 24px;text-align:center}\n.gda-cta-section h2{font-family:'Poppins',sans-serif;font-size:clamp(20px,3vw,30px);font-weight:700;color:#fff;margin-bottom:10px}\n.gda-cta-section p{color:rgba(255,255,255,.78);font-size:15px;margin-bottom:24px;max-width:500px;margin-left:auto;margin-right:auto}\n.gda-cta-btn{display:inline-block;padding:14px 36px;background:#fff;color:#003D53;font-family:'Poppins',sans-serif;font-size:14px;font-weight:700;border-radius:8px;text-decoration:none;transition:all .18s;letter-spacing:.2px}\n.gda-cta-btn:hover{background:#F0EBE1;transform:translateY(-2px);box-shadow:0 7px 24px rgba(0,0,0,.18)}\n\n\/* \u2500\u2500 Disclaimer \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-disclaimer-section{background:#EDF1F4;padding:20px 24px;text-align:center;border-top:1px solid #D8E2E8}\n.gda-disclaimer-section p{max-width:940px;margin:0 auto;font-size:11px;color:#7A8B96;line-height:1.7}\n.gda-disclaimer-section strong{color:#003D53}\n\n\/* \u2500\u2500 Modal \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n.gda-modal-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.52);z-index:99999;align-items:center;justify-content:center;padding:20px}\n.gda-modal-overlay.active{display:flex}\n.gda-modal-box{background:#fff;border-radius:14px;padding:32px 28px;max-width:440px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.22);position:relative;animation:gdaSlideIn .2s ease}\n@keyframes gdaSlideIn{from{opacity:0;transform:translateY(-16px)}to{opacity:1;transform:translateY(0)}}\n.gda-modal-close{position:absolute;top:13px;right:14px;background:none;border:none;font-size:20px;cursor:pointer;color:#8BA0AA;line-height:1;transition:color .15s}\n.gda-modal-close:hover{color:#003D53}\n.gda-modal-icon{width:44px;height:44px;background:#EBF4F6;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 13px}\n.gda-modal-box h3{font-family:'Poppins',sans-serif;font-size:20px;font-weight:700;color:#003D53;text-align:center;margin-bottom:4px}\n.gda-modal-box p.gda-modal-sub{text-align:center;color:#6B7A82;font-size:13px;margin-bottom:18px}\n.gda-modal-field{margin-bottom:12px}\n.gda-modal-field label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#5A6572;font-weight:500;margin-bottom:4px}\n.gda-modal-field input{width:100%;padding:11px 12px;border:1.5px solid #C8D4DC;border-radius:7px;font-size:14px;font-family:'Roboto',sans-serif;color:#1C1D1F;transition:border-color .18s}\n.gda-modal-field input:focus{outline:none;border-color:#007582;box-shadow:0 0 0 3px rgba(0,117,130,.1)}\n.gda-modal-field input.error{border-color:#E53935}\n.gda-modal-submit{width:100%;margin-top:7px;padding:13px;border-radius:7px;background:#003D53;color:#fff;font-family:'Poppins',sans-serif;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:background .18s}\n.gda-modal-submit:hover{background:#007582}\n.gda-modal-submit:disabled{background:#A0B0B8;cursor:not-allowed}\n.gda-modal-privacy{text-align:center;font-size:11px;color:#9B9B9B;margin-top:8px}\n.gda-modal-success{display:none;text-align:center;padding:10px 0}\n.gda-modal-success svg{color:#27AE60;margin-bottom:11px}\n.gda-modal-success h4{font-family:'Poppins',sans-serif;font-size:17px;font-weight:700;color:#003D53;margin-bottom:7px}\n.gda-modal-success p{font-size:13px;color:#6B7A82}\n\n\/* \u2500\u2500 Print \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500 *\/\n@media print{\n  @page{margin:0.6in 0.5in}\n  .gda-wrap{font-size:13px}\n  .gda-hero{background:#003D53!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:24px 20px}\n  .gda-hero h1{font-size:22px}\n  .gda-hero p{font-size:13px}\n  .gda-result-item.highlight,.gda-result-item.wide,.gda-result-item.profit-pos,.gda-result-item.profit-neg{-webkit-print-color-adjust:exact;print-color-adjust:exact}\n  .gda-result-item.highlight,.gda-result-item.profit-pos,.gda-result-item.profit-neg{background:#003D53!important}\n  .gda-result-item.wide{background:#004F6B!important}\n  .gda-ls-body{display:block!important}\n  .gda-ls-toggle{background:#002E40!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}\n  .gda-ls-item.full{background:#003D53!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}\n  .gda-actions,.gda-cta-section,.gda-features,.gda-modal-overlay,.gda-ls-arrow,.gda-tip::after{display:none!important}\n  .gda-tip{display:none}\n  .gda-card,.gda-ls-panel{box-shadow:none;border:1px solid #ccc;break-inside:avoid}\n  .gda-grid{grid-template-columns:1fr 1fr}\n  .gda-result-item.highlight .gda-result-value{font-size:20px!important}\n  .gda-result-item.wide .gda-result-value{font-size:18px!important}\n  .gda-result-value{font-size:15px!important}\n  .gda-ls-value{font-size:14px!important}\n  .gda-ls-item.full .gda-ls-value{font-size:16px!important}\n  .gda-section{padding:16px 14px}\n  .gda-ls-panel{margin-top:14px}\n  .gda-print-header{display:block!important;text-align:center;padding:12px 16px;border-bottom:2px solid #003D53;margin-bottom:14px}\n  .gda-disclaimer-section{padding:14px 20px}\n}\n.gda-print-header{display:none}\n<\/style>\n\n<div class=\"gda-wrap\">\n\n  <!-- Print header (hidden on screen) -->\n  <div class=\"gda-print-header\">\n    <strong style=\"font-size:16px;color:#003D53;font-family:'Poppins',sans-serif\">GLOVENCO \u2014 Investment Deal Analyzer<\/strong><br>\n    <span style=\"font-size:11px;color:#666\">Printed: <span id=\"gda-print-date\"><\/span> &nbsp;|&nbsp; glovenco.com\/deal-analyzer<\/span><br>\n    <small style=\"font-size:10px;color:#888\">Estimates only. Not financial, legal, tax, lending, or investment advice.<\/small>\n  <\/div>\n\n  <!-- Hero -->\n  <div class=\"gda-hero\">\n    <div class=\"gda-hero-badge\">Investor Hub &middot; Deal Analyzer<\/div>\n    <h1 style=\"margin-top:14px\">Investment Deal Analyzer<\/h1>\n    <p>Enter your deal and lender terms to instantly model your loan structure, borrower cash requirement, and estimated return.<\/p>\n  <\/div>\n\n  <!-- Features strip -->\n  <div class=\"gda-features\">\n    <div class=\"gda-features-inner\">\n      <span class=\"gda-feature\">\n        <svg width=\"13\" height=\"13\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"\/><\/svg>\n        Live calculations\n      <\/span>\n      <span class=\"gda-feature\">\n        <svg width=\"13\" height=\"13\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"\/><\/svg>\n        Real lender term structure\n      <\/span>\n      <span class=\"gda-feature\">\n        <svg width=\"13\" height=\"13\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"\/><\/svg>\n        Fix &amp; Flip focused\n      <\/span>\n      <span class=\"gda-feature\">\n        <svg width=\"13\" height=\"13\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M5 13l4 4L19 7\"\/><\/svg>\n        Downloadable PDF report\n      <\/span>\n    <\/div>\n  <\/div>\n\n  <!-- Calculator -->\n  <div class=\"gda-section\">\n    <div class=\"gda-grid\">\n\n      <!-- LEFT: Deal Inputs + Lender Terms -->\n      <div class=\"gda-card\">\n        <div class=\"gda-card-title\">\n          <svg width=\"17\" height=\"17\" fill=\"none\" stroke=\"#007582\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><rect x=\"3\" y=\"3\" width=\"18\" height=\"18\" rx=\"2\"\/><path d=\"M3 9h18M9 21V9\"\/><\/svg>\n          Deal Inputs\n        <\/div>\n\n        <div class=\"gda-hint\">\n          <svg width=\"13\" height=\"13\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M12 16v-4M12 8h.01\"\/><\/svg>\n          Enter your deal details below. Results update automatically as you type.\n        <\/div>\n\n        <div class=\"gda-field dollar\">\n          <label>Purchase Price<\/label>\n          <div class=\"gda-input-wrap\">\n            <span class=\"prefix\">$<\/span>\n            <input type=\"number\" id=\"gda-purchase\" min=\"0\" step=\"1000\" oninput=\"gdaCalc()\">\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field dollar\">\n          <label>After-Repair Value (ARV)<\/label>\n          <div class=\"gda-input-wrap\">\n            <span class=\"prefix\">$<\/span>\n            <input type=\"number\" id=\"gda-arv\" min=\"0\" step=\"1000\" oninput=\"gdaCalc()\">\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field dollar\">\n          <label>Rehab Budget<\/label>\n          <div class=\"gda-input-wrap\">\n            <span class=\"prefix\">$<\/span>\n            <input type=\"number\" id=\"gda-rehab\" min=\"0\" step=\"1000\" oninput=\"gdaCalc()\">\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field plain\">\n          <label>Holding Period (Months)<\/label>\n          <div class=\"gda-input-wrap\">\n            <input type=\"number\" id=\"gda-hold\" min=\"0\" max=\"120\" step=\"1\" oninput=\"gdaCalc()\">\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-sub-heading\">\n          <svg width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><path d=\"M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z\"\/><\/svg>\n          Lender Terms\n        <\/div>\n\n        <div class=\"gda-field pct\">\n          <label>Purchase Financing (%)<\/label>\n          <div class=\"gda-input-wrap\">\n            <input type=\"number\" id=\"gda-ltc\" min=\"0\" max=\"100\" step=\"0.5\" oninput=\"gdaCalc()\">\n            <span class=\"suffix\">%<\/span>\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field pct\">\n          <label>Rehab Financing (%)<\/label>\n          <div class=\"gda-input-wrap\">\n            <input type=\"number\" id=\"gda-holdback\" min=\"0\" max=\"100\" step=\"0.5\" oninput=\"gdaCalc()\">\n            <span class=\"suffix\">%<\/span>\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field pct\">\n          <label>Interest Rate % (Annual)<\/label>\n          <div class=\"gda-input-wrap\">\n            <input type=\"number\" id=\"gda-rate\" min=\"0\" max=\"50\" step=\"0.05\" oninput=\"gdaCalc()\">\n            <span class=\"suffix\">%<\/span>\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field pct\">\n          <label>Points \/ Origination Fee %<\/label>\n          <div class=\"gda-input-wrap\">\n            <input type=\"number\" id=\"gda-points\" min=\"0\" max=\"20\" step=\"0.25\" oninput=\"gdaCalc()\">\n            <span class=\"suffix\">%<\/span>\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field dollar\">\n          <label>Lender \/ Underwriting Fees<\/label>\n          <div class=\"gda-input-wrap\">\n            <span class=\"prefix\">$<\/span>\n            <input type=\"number\" id=\"gda-lender-fees\" min=\"0\" step=\"100\" oninput=\"gdaCalc()\">\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field plain\">\n          <label>Prepaid Interest (Months)<\/label>\n          <div class=\"gda-input-wrap\">\n            <input type=\"number\" id=\"gda-reserve-months\" min=\"0\" max=\"12\" step=\"1\" oninput=\"gdaCalc()\">\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field dollar\">\n          <label>Closing Costs<\/label>\n          <div class=\"gda-input-wrap\">\n            <span class=\"prefix\">$<\/span>\n            <input type=\"number\" id=\"gda-closing\" min=\"0\" step=\"100\" oninput=\"gdaCalc()\">\n          <\/div>\n        <\/div>\n\n        <div class=\"gda-field pct\">\n          <label>Estimated Selling Costs %<\/label>\n          <div class=\"gda-input-wrap\">\n            <input type=\"number\" id=\"gda-sell\" min=\"0\" max=\"30\" step=\"0.5\" oninput=\"gdaCalc()\">\n            <span class=\"suffix\">%<\/span>\n          <\/div>\n        <\/div>\n\n        <div style=\"border-top:1px solid #EEF2F5;margin-top:14px;padding-top:2px;display:flex;justify-content:flex-end\">\n          <button class=\"gda-btn-reset\" onclick=\"gdaReset()\">\n            <svg width=\"11\" height=\"11\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" viewBox=\"0 0 24 24\"><path d=\"M3 12a9 9 0 109-9 9.75 9.75 0 00-6.74 2.74L3 8\"\/><path d=\"M3 3v5h5\"\/><\/svg>\n            Reset all fields\n          <\/button>\n        <\/div>\n      <\/div>\n\n      <!-- RIGHT: Analysis Results -->\n      <div class=\"gda-card\">\n        <div class=\"gda-card-title\">\n          <svg width=\"17\" height=\"17\" fill=\"none\" stroke=\"#007582\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><polyline points=\"22 12 18 12 15 21 9 3 6 12 2 12\"\/><\/svg>\n          Analysis Results\n        <\/div>\n\n        <div class=\"gda-result-grid\">\n\n          <!-- PRIMARY: Estimated Profit -->\n          <div class=\"gda-result-item highlight\" id=\"rw-profit\">\n            <div class=\"gda-result-label\">Estimated Profit<\/div>\n            <div class=\"gda-result-value\" id=\"res-profit\">\u2014<\/div>\n          <\/div>\n\n          <!-- PRIMARY: Cash-on-Cash Return -->\n          <div class=\"gda-result-item highlight\" id=\"rw-coc\">\n            <div class=\"gda-result-label\">\n              Cash-on-Cash Return\n              <span class=\"gda-tip\" data-tip=\"Your projected profit as a percentage of total cash invested. Higher is better. A return above 15% is generally considered strong for fix-and-flip.\">\n                <svg width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M12 16v-4M12 8h.01\"\/><\/svg>\n              <\/span>\n            <\/div>\n            <div class=\"gda-result-value\" id=\"res-coc\">\u2014<\/div>\n          <\/div>\n\n          <!-- PRIMARY WIDE: Borrower Cash to Close -->\n          <div class=\"gda-result-item wide\" id=\"rw-cash\">\n            <div class=\"gda-result-label\">\n              Borrower Cash to Close\n              <span class=\"gda-tip\" data-tip=\"The estimated cash you need at the closing table \u2014 your down payment, out-of-pocket rehab contribution (if any), origination fee, lender fees, prepaid interest, and closing costs.\">\n                <svg width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M12 16v-4M12 8h.01\"\/><\/svg>\n              <\/span>\n            <\/div>\n            <div class=\"gda-result-value\" id=\"res-cash\">\u2014<\/div>\n          <\/div>\n\n          <!-- SECONDARY: Total Loan Amount -->\n          <div class=\"gda-result-item teal\">\n            <div class=\"gda-result-label\">Total Loan Amount<\/div>\n            <div class=\"gda-result-value\" id=\"res-loan\">\u2014<\/div>\n          <\/div>\n\n          <!-- SECONDARY: Rehab Holdback -->\n          <div class=\"gda-result-item\">\n            <div class=\"gda-result-label\">\n              Rehab Holdback\n              <span class=\"gda-tip\" data-tip=\"The portion of your rehab budget the lender funds and holds in reserve, releasing funds as construction draws are completed and inspected.\">\n                <svg width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M12 16v-4M12 8h.01\"\/><\/svg>\n              <\/span>\n            <\/div>\n            <div class=\"gda-result-value\" id=\"res-holdback\">\u2014<\/div>\n          <\/div>\n\n          <!-- SECONDARY: MAO -->\n          <div class=\"gda-result-item wide\" style=\"background:#EEF3F6\">\n            <div class=\"gda-result-label\" style=\"color:#6B7A82\">\n              Max Allowable Offer (MAO)\n              <span class=\"gda-tip\" data-tip=\"The highest purchase price that still leaves room for profit, using the standard 70% rule: (ARV x 70%) minus your rehab budget. Adjust as needed for your target return.\">\n                <svg width=\"12\" height=\"12\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M12 16v-4M12 8h.01\"\/><\/svg>\n              <\/span>\n            <\/div>\n            <div class=\"gda-result-value\" id=\"res-mao\" style=\"font-size:19px;color:#003D53\">\u2014<\/div>\n          <\/div>\n\n        <\/div>\n\n        <div class=\"gda-status\" id=\"gda-status\"><\/div>\n\n        <div class=\"gda-actions\">\n          <button class=\"gda-btn gda-btn-primary\" onclick=\"gdaOpenModal('consult')\">\n            Request Full Underwriting Review\n          <\/button>\n          <button class=\"gda-btn gda-btn-secondary\" onclick=\"gdaOpenModal('pdf')\">\n            Download PDF Report\n          <\/button>\n          <button class=\"gda-btn gda-btn-ghost\" onclick=\"gdaOpenModal('save')\">\n            Save &amp; Share Results\n          <\/button>\n        <\/div>\n      <\/div>\n\n    <\/div>\n\n    <!-- Loan Structure Details (collapsible) -->\n    <div class=\"gda-ls-panel\">\n      <button class=\"gda-ls-toggle\" id=\"gda-ls-btn\" onclick=\"gdaToggleLS()\">\n        <span class=\"gda-ls-toggle-left\">\n          <svg width=\"15\" height=\"15\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><path d=\"M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z\"\/><\/svg>\n          Loan Structure Details\n          <span class=\"gda-ls-toggle-sub\">\u2014 click to expand<\/span>\n        <\/span>\n        <span class=\"gda-ls-arrow\">&#9660;<\/span>\n      <\/button>\n      <div class=\"gda-ls-body\" id=\"gda-ls-body\">\n        <div class=\"gda-ls-grid\">\n          <div class=\"gda-ls-item\">\n            <div class=\"gda-ls-label\">Initial Loan Advance<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-advance\">\u2014<\/div>\n          <\/div>\n          <div class=\"gda-ls-item\">\n            <div class=\"gda-ls-label\">Rehab Holdback<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-holdback\">\u2014<\/div>\n          <\/div>\n          <div class=\"gda-ls-item accent\">\n            <div class=\"gda-ls-label\">Total Loan Amount<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-total-loan\">\u2014<\/div>\n          <\/div>\n          <div class=\"gda-ls-item\">\n            <div class=\"gda-ls-label\">Purchase Cash Due<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-purchase-cash\">\u2014<\/div>\n          <\/div>\n          <div class=\"gda-ls-item\">\n            <div class=\"gda-ls-label\">Rehab Cash from Investor<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-rehab-cash\">\u2014<\/div>\n          <\/div>\n          <div class=\"gda-ls-item\">\n            <div class=\"gda-ls-label\">Origination Cost<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-origination\">\u2014<\/div>\n          <\/div>\n          <div class=\"gda-ls-item\">\n            <div class=\"gda-ls-label\">Interest Reserve<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-reserve\">\u2014<\/div>\n          <\/div>\n          <div class=\"gda-ls-item full\">\n            <div class=\"gda-ls-label\">Estimated Borrower Cash to Close<\/div>\n            <div class=\"gda-ls-value\" id=\"ls-cash-to-close\">\u2014<\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n    <\/div>\n\n  <\/div>\n\n  <!-- CTA -->\n  <div class=\"gda-cta-section\">\n    <h2>Ready for a Full Underwriting Review?<\/h2>\n    <p>This tool gives you the framework. Our team delivers the full picture \u2014 lender matching, deal structuring, and capital solutions for your specific scenario.<\/p>\n    <a href=\"\/deal-structuring-session\" class=\"gda-cta-btn\">Request Full Underwriting Review<\/a>\n  <\/div>\n\n  <!-- Disclaimer -->\n  <div class=\"gda-disclaimer-section\">\n    <p>\n      <strong>Disclaimer:<\/strong> Results are estimates only. Actual lender terms, reserves, fees, insurance, title costs, inspections, draw requirements, closing costs, and investor returns may vary. This tool is for informational purposes only and does not constitute financial, legal, tax, lending, or investment advice. Maximum Allowable Offer is a simplified estimate based on the 70% rule and may not reflect actual underwriting requirements. Consult a qualified professional before making any investment decision.\n    <\/p>\n  <\/div>\n\n<\/div>\n\n<!-- Lead Capture Modal -->\n<div class=\"gda-modal-overlay\" id=\"gdaModal\">\n  <div class=\"gda-modal-box\">\n    <button class=\"gda-modal-close\" onclick=\"gdaCloseModal()\">&#x2715;<\/button>\n    <div id=\"gdaModalForm\">\n      <div class=\"gda-modal-icon\">\n        <svg width=\"20\" height=\"20\" fill=\"none\" stroke=\"#007582\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><path d=\"M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2\"\/><circle cx=\"12\" cy=\"7\" r=\"4\"\/><\/svg>\n      <\/div>\n      <h3 id=\"gdaModalTitle\">Access Your Report<\/h3>\n      <p class=\"gda-modal-sub\" id=\"gdaModalSub\">Enter your contact information to continue.<\/p>\n      <div class=\"gda-modal-field\">\n        <label>Full Name *<\/label>\n        <input type=\"text\" id=\"gda-lead-name\" placeholder=\"John Smith\">\n      <\/div>\n      <div class=\"gda-modal-field\">\n        <label>Email Address *<\/label>\n        <input type=\"email\" id=\"gda-lead-email\" placeholder=\"john@example.com\">\n      <\/div>\n      <div class=\"gda-modal-field\">\n        <label>Phone Number *<\/label>\n        <input type=\"tel\" id=\"gda-lead-phone\" placeholder=\"(305) 555-0100\">\n      <\/div>\n      <button class=\"gda-modal-submit\" id=\"gdaModalBtn\" onclick=\"gdaSubmitLead()\">Continue<\/button>\n      <p class=\"gda-modal-privacy\">Your information is kept strictly confidential.<\/p>\n    <\/div>\n    <div class=\"gda-modal-success\" id=\"gdaModalSuccess\">\n      <svg width=\"46\" height=\"46\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><path d=\"M9 12l2 2 4-4\"\/><\/svg>\n      <h4>You&#8217;re all set.<\/h4>\n      <p id=\"gdaSuccessMsg\">Processing your request&#8230;<\/p>\n    <\/div>\n  <\/div>\n<\/div>\n\n<script>\n(function(){\n\n  var gdaAction = null;\n  var gdaLeadSubmitted = false;\n\n  \/* Set print date *\/\n  var pd = document.getElementById('gda-print-date');\n  if(pd){ pd.textContent = new Date().toLocaleDateString('en-US', {year:'numeric',month:'long',day:'numeric'}); }\n\n  \/* \u2500\u2500 Helpers \u2500\u2500 *\/\n  function n(id){\n    var el = document.getElementById(id);\n    return el ? (parseFloat(el.value) || 0) : 0;\n  }\n  function set(id, val){\n    var el = document.getElementById(id);\n    if(el) el.textContent = val;\n  }\n  function fmtMoney(v){\n    if(v === null || isNaN(v)) return '\u2014';\n    var abs = Math.abs(v);\n    var str = '$' + abs.toLocaleString('en-US', {minimumFractionDigits:0, maximumFractionDigits:0});\n    return v < 0 ? '-' + str : str;\n  }\n  function fmtPct(v){\n    if(v === null || isNaN(v)) return '\u2014';\n    return v.toFixed(1) + '%';\n  }\n\n  \/* \u2500\u2500 Calculator \u2500\u2500 *\/\n  window.gdaCalc = function(){\n    var purchase      = n('gda-purchase');\n    var arv           = n('gda-arv');\n    var rehab         = n('gda-rehab');\n    var hold          = n('gda-hold');\n    var ltcPct        = n('gda-ltc');\n    var holdbackPct   = n('gda-holdback');\n    var ratePct       = n('gda-rate');\n    var pointsPct     = n('gda-points');\n    var lenderFees    = n('gda-lender-fees');\n    var reserveMonths = n('gda-reserve-months');\n    var closingCosts  = n('gda-closing');\n    var sellPct       = n('gda-sell');\n\n    \/* Loan structure *\/\n    var initialAdvance  = purchase * ltcPct \/ 100;\n    var rehabHoldback   = rehab * holdbackPct \/ 100;\n    var totalLoan       = initialAdvance + rehabHoldback;\n    var purchaseCashDue = purchase - initialAdvance;\n    var rehabCashNeeded = rehab - rehabHoldback;\n    var originationCost = totalLoan * pointsPct \/ 100;\n    var interestReserve = totalLoan * ratePct \/ 100 \/ 12 * reserveMonths;\n\n    \/* Borrower cash to close (at the table) *\/\n    var cashToClose = purchaseCashDue + rehabCashNeeded + originationCost + lenderFees + interestReserve + closingCosts;\n\n    \/* Analysis *\/\n    var sellingCosts      = arv * sellPct \/ 100;\n    var netSaleProceeds   = arv - sellingCosts;\n    var totalInterestCarry = totalLoan * ratePct \/ 100 \/ 12 * hold;\n    var remainingInterest = Math.max(0, totalInterestCarry - interestReserve);\n    var totalCapital      = cashToClose + remainingInterest;\n\n    var profit = 0;\n    var coc    = null;\n    var mao    = arv * 0.70 - rehab;\n\n    if(arv > 0) {\n      profit = netSaleProceeds - totalLoan - totalCapital;\n      if(totalCapital > 0) {\n        coc = profit \/ totalCapital * 100;\n      }\n    }\n\n    \/* Analysis Results *\/\n    set('res-profit',   arv > 0 ? fmtMoney(profit) : '\u2014');\n    set('res-coc',      coc !== null ? fmtPct(coc) : '\u2014');\n    set('res-cash',     purchase > 0 ? fmtMoney(cashToClose) : '\u2014');\n    set('res-loan',     purchase > 0 ? fmtMoney(totalLoan) : '\u2014');\n    set('res-holdback', purchase > 0 ? fmtMoney(rehabHoldback) : '\u2014');\n    set('res-mao',      arv > 0 ? fmtMoney(mao) : '\u2014');\n\n    \/* Loan Structure *\/\n    set('ls-advance',       purchase > 0 ? fmtMoney(initialAdvance) : '\u2014');\n    set('ls-holdback',      fmtMoney(rehabHoldback));\n    set('ls-total-loan',    purchase > 0 ? fmtMoney(totalLoan) : '\u2014');\n    set('ls-purchase-cash', purchase > 0 ? fmtMoney(purchaseCashDue) : '\u2014');\n    set('ls-rehab-cash',    fmtMoney(rehabCashNeeded));\n    set('ls-origination',   purchase > 0 ? fmtMoney(originationCost) : '\u2014');\n    set('ls-reserve',       purchase > 0 ? fmtMoney(interestReserve) : '\u2014');\n    set('ls-cash-to-close', purchase > 0 ? fmtMoney(cashToClose) : '\u2014');\n\n    \/* Profit card state *\/\n    var pw = document.getElementById('rw-profit');\n    if(pw) {\n      pw.classList.remove('profit-pos', 'profit-neg');\n      if(arv > 0) {\n        if(profit > 0) pw.classList.add('profit-pos');\n        else pw.classList.add('profit-neg');\n      }\n    }\n\n    \/* Status bar *\/\n    var statusEl = document.getElementById('gda-status');\n    if(statusEl) {\n      if(!(purchase || arv)) {\n        statusEl.style.display = 'none';\n      } else if(arv > 0) {\n        if(profit <= 0) {\n          statusEl.className = 'gda-status poor';\n          statusEl.innerHTML = '<strong>Negative Return:<\/strong> At these numbers the deal does not pencil. Review your purchase price, rehab budget, or financing assumptions.';\n          statusEl.style.display = 'block';\n        } else if(coc !== null) {\n          if(coc < 10) {\n            statusEl.className = 'gda-status caution';\n            statusEl.innerHTML = '<strong>Below Threshold:<\/strong> Cash-on-cash return is under 10%. Consider whether the risk-adjusted return meets your investment criteria.';\n            statusEl.style.display = 'block';\n          } else {\n            statusEl.className = 'gda-status good';\n            statusEl.innerHTML = '<strong>Deal Pencils:<\/strong> Positive return at current assumptions. Request a full underwriting review to validate with lender-specific terms.';\n            statusEl.style.display = 'block';\n          }\n        } else {\n          statusEl.style.display = 'none';\n        }\n      } else {\n        statusEl.style.display = 'none';\n      }\n    }\n  };\n\n  \/* \u2500\u2500 Loan Structure toggle \u2500\u2500 *\/\n  window.gdaToggleLS = function(){\n    var btn  = document.getElementById('gda-ls-btn');\n    var body = document.getElementById('gda-ls-body');\n    var sub  = btn ? btn.querySelector('.gda-ls-toggle-sub') : null;\n    if(btn) btn.classList.toggle('open');\n    if(body) body.classList.toggle('open');\n    if(sub) sub.textContent = (body.classList.contains('open')) ? '\u2014 click to collapse' : '\u2014 click to expand';\n  };\n\n  \/* \u2500\u2500 Modal \u2500\u2500 *\/\n  window.gdaOpenModal = function(action){\n    if(gdaLeadSubmitted){ executeAction(action); return; }\n    gdaAction = action;\n    var t = {\n      consult: {title:'Request Underwriting Review', sub:'A Glovenco advisor will contact you within 1 business day.'},\n      pdf:     {title:'Download PDF Report',         sub:'Enter your details to receive your analysis report.'},\n      save:    {title:'Save Your Results',           sub:\"We'll generate a shareable link to your current analysis.\"}\n    };\n    var info = t[action] || t.consult;\n    var titleEl   = document.getElementById('gdaModalTitle');\n    var subEl     = document.getElementById('gdaModalSub');\n    var formEl    = document.getElementById('gdaModalForm');\n    var succEl    = document.getElementById('gdaModalSuccess');\n    var overlayEl = document.getElementById('gdaModal');\n    var nameEl    = document.getElementById('gda-lead-name');\n    if(titleEl)   titleEl.innerHTML = info.title;\n    if(subEl)     subEl.textContent = info.sub;\n    if(formEl)    formEl.style.display = 'block';\n    if(succEl)    succEl.style.display = 'none';\n    if(overlayEl) overlayEl.classList.add('active');\n    if(nameEl)    nameEl.focus();\n  };\n\n  window.gdaCloseModal = function(){\n    var el = document.getElementById('gdaModal');\n    if(el) el.classList.remove('active');\n  };\n\n  var overlayEl = document.getElementById('gdaModal');\n  if(overlayEl){\n    overlayEl.addEventListener('click', function(e){\n      if(e.target === this) gdaCloseModal();\n    });\n  }\n  document.addEventListener('keydown', function(e){\n    if(e.key === 'Escape') gdaCloseModal();\n  });\n\n  \/* \u2500\u2500 Lead submission \u2500\u2500 *\/\n  window.gdaSubmitLead = function(){\n    var nameEl  = document.getElementById('gda-lead-name');\n    var emailEl = document.getElementById('gda-lead-email');\n    var phoneEl = document.getElementById('gda-lead-phone');\n    var name  = nameEl  ? nameEl.value.trim()  : '';\n    var email = emailEl ? emailEl.value.trim() : '';\n    var phone = phoneEl ? phoneEl.value.trim() : '';\n    var ok = true;\n\n    if(!name)  { if(nameEl)  nameEl.classList.add('error');  ok = false; }\n    else       { if(nameEl)  nameEl.classList.remove('error'); }\n    if(!email) { if(emailEl) emailEl.classList.add('error'); ok = false; }\n    else       { if(emailEl) emailEl.classList.remove('error'); }\n    if(!phone) { if(phoneEl) phoneEl.classList.add('error'); ok = false; }\n    else       { if(phoneEl) phoneEl.classList.remove('error'); }\n\n    if(email) {\n      if(!email.match(\/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$\/)){\n        if(emailEl) emailEl.classList.add('error');\n        ok = false;\n      }\n    }\n\n    if(!ok) return;\n\n    var btn = document.getElementById('gdaModalBtn');\n    if(btn){ btn.disabled = true; btn.textContent = 'Sending...'; }\n\n    var payload = {\n      action:   gdaAction,\n      name:     name,\n      email:    email,\n      phone:    phone,\n      purchase: document.getElementById('gda-purchase') ? document.getElementById('gda-purchase').value : '',\n      arv:      document.getElementById('gda-arv')      ? document.getElementById('gda-arv').value      : '',\n      rehab:    document.getElementById('gda-rehab')    ? document.getElementById('gda-rehab').value    : '',\n      profit:   document.getElementById('res-profit')   ? document.getElementById('res-profit').textContent   : '',\n      coc:      document.getElementById('res-coc')      ? document.getElementById('res-coc').textContent      : '',\n      cash:     document.getElementById('res-cash')     ? document.getElementById('res-cash').textContent     : '',\n      loan:     document.getElementById('res-loan')     ? document.getElementById('res-loan').textContent     : '',\n      page_url: window.location.href\n    };\n\n    fetch('\/wp-json\/glovenco\/v1\/deal-analyzer-lead', {\n      method: 'POST',\n      headers: {'Content-Type': 'application\/json'},\n      body: JSON.stringify(payload)\n    }).catch(function(){});\n\n    gdaLeadSubmitted = true;\n\n    var formEl = document.getElementById('gdaModalForm');\n    var succEl = document.getElementById('gdaModalSuccess');\n    var msgEl  = document.getElementById('gdaSuccessMsg');\n    if(formEl) formEl.style.display = 'none';\n    if(succEl) succEl.style.display = 'block';\n\n    var msgs = {\n      consult: 'Request received. A Glovenco advisor will contact you within 1 business day.',\n      pdf:     'Generating your PDF report now.',\n      save:    'Link copied to clipboard.'\n    };\n    if(msgEl) msgEl.textContent = msgs[gdaAction] || '';\n\n    setTimeout(function(){\n      gdaCloseModal();\n      executeAction(gdaAction);\n    }, 2000);\n  };\n\n  function executeAction(action){\n    if(action === 'pdf'){\n      window.print();\n    } else if(action === 'consult'){\n      window.location.href = '\/deal-structuring-session';\n    } else if(action === 'save'){\n      var fields = ['gda-purchase','gda-arv','gda-rehab','gda-hold','gda-ltc','gda-holdback','gda-rate','gda-points','gda-lender-fees','gda-reserve-months','gda-closing','gda-sell'];\n      var keys   = ['p','a','r','h','l','hb','i','pt','lf','rm','cc','s'];\n      var params = new URLSearchParams();\n      for(var idx = 0; idx < fields.length; idx++){\n        var el = document.getElementById(fields[idx]);\n        if(el) params.set(keys[idx], el.value || '');\n      }\n      var shareUrl = window.location.href.split('?')[0] + '?' + params.toString();\n      if(navigator.clipboard){\n        navigator.clipboard.writeText(shareUrl).catch(function(){});\n      }\n      alert('Shareable link copied to clipboard.');\n    }\n  }\n\n  \/* \u2500\u2500 Reset \u2500\u2500 *\/\n  window.gdaReset = function(){\n    var ids = ['gda-purchase','gda-arv','gda-rehab','gda-hold','gda-ltc','gda-holdback','gda-rate','gda-points','gda-lender-fees','gda-reserve-months','gda-closing','gda-sell'];\n    for(var i = 0; i < ids.length; i++){\n      var el = document.getElementById(ids[i]);\n      if(el) el.value = '';\n    }\n    gdaCalc();\n  };\n\n  \/* \u2500\u2500 Restore from URL params \u2500\u2500 *\/\n  (function loadFromUrl(){\n    var p = new URLSearchParams(window.location.search);\n    var map = {p:'gda-purchase',a:'gda-arv',r:'gda-rehab',h:'gda-hold',l:'gda-ltc',hb:'gda-holdback',i:'gda-rate',pt:'gda-points',lf:'gda-lender-fees',rm:'gda-reserve-months',cc:'gda-closing',s:'gda-sell'};\n    var loaded = false;\n    for(var k in map){\n      if(p.has(k)){\n        var el = document.getElementById(map[k]);\n        if(el){ el.value = p.get(k); loaded = true; }\n      }\n    }\n    if(loaded) gdaCalc();\n  })();\n\n  \/* Run on load *\/\n  gdaCalc();\n\n})();\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>GLOVENCO \u2014 Investment Deal Analyzer Printed: &nbsp;|&nbsp; glovenco.com\/deal-analyzer Estimates only. Not financial, legal, tax, lending, or investment advice. Investor Hub &middot; Deal Analyzer Investment Deal Analyzer Enter your deal and lender terms to instantly model your loan structure, borrower cash requirement, and estimated return. Live calculations Real lender term structure Fix &amp; Flip focused Downloadable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-11874","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/pages\/11874","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/comments?post=11874"}],"version-history":[{"count":8,"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/pages\/11874\/revisions"}],"predecessor-version":[{"id":11895,"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/pages\/11874\/revisions\/11895"}],"wp:attachment":[{"href":"https:\/\/www.glovenco.com\/es\/wp-json\/wp\/v2\/media?parent=11874"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}