/*
Theme Name: ESM Vetted Partner Network (v1.7)
Theme URI: https://partners.easyseniormove.com
Author: Easy Senior Move
Description: Vetted Partner Network microsite. Self-hosted Manrope, navy/green, Gravity Forms styled. Renders branded pages directly, auto-creates/links all pages, and (with ACF Pro) makes every section editable from the dashboard.
Version: 1.7.0
Requires at least: 6.0
*/

html,body{margin:0;padding:0;}
img{max-width:100%;height:auto;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/manrope-latin-400-normal.woff2') format('woff2'),url('fonts/manrope-latin-400-normal.woff') format('woff');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/manrope-latin-500-normal.woff2') format('woff2'),url('fonts/manrope-latin-500-normal.woff') format('woff');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/manrope-latin-600-normal.woff2') format('woff2'),url('fonts/manrope-latin-600-normal.woff') format('woff');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/manrope-latin-700-normal.woff2') format('woff2'),url('fonts/manrope-latin-700-normal.woff') format('woff');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/manrope-latin-800-normal.woff2') format('woff2'),url('fonts/manrope-latin-800-normal.woff') format('woff');}

/* ===== BASE (from partner-landing-page.html) ===== */
.esm-lp{--navy:#023A51; --bg0:#04212E; --bg1:#072A3A; --surface:#0B3346; --surface-2:#10405680;
  --green:#2CBC63; --green-2:#7CC576;
  --ink:#eef4f3; --sub:#c7d6de; --muted:#93aab8; --line:rgba(255,255,255,.10);
  --cream:#f5f8f6; --form-ink:#023A51; --form-muted:#59667D; --form-line:#dbe4e2;
  --radius:14px;
  font-family:'Manrope',Arial,Helvetica,sans-serif; color:var(--sub); line-height:1.65;
  background:var(--bg0); -webkit-font-smoothing:antialiased;}
.esm-lp *{box-sizing:border-box; margin:0; padding:0;}
.esm-lp h1,.esm-lp h2,.esm-lp h3,.esm-lp h4,.esm-lp h5{font-family:'Manrope',sans-serif; color:var(--ink); line-height:1.15; letter-spacing:-.02em;}
.esm-lp p{color:var(--muted);}
.esm-lp h1,.esm-lp h2,.esm-lp h3,.esm-lp h4{text-wrap:balance;}
.esm-lp p,.esm-lp li,.esm-lp .lede{text-wrap:pretty;}
.esm-wrap{max-width:1140px; margin:0 auto; padding:0 24px;}
@media(min-width:1600px){
  .esm-wrap{max-width:1280px;}
  .esm-hero-grid{max-width:720px;}
  .esm-hero h1{font-size:58px;}
}
.esm-eyebrow{font-weight:700; font-size:13px; letter-spacing:.18em; text-transform:uppercase; color:var(--green-2);}
.esm-check{color:var(--green-2); flex:none;}
.esm-btn{display:inline-flex; align-items:center; gap:9px; font-family:'Manrope',sans-serif; font-weight:700; font-size:16px; padding:14px 30px; border-radius:32px; text-decoration:none; transition:transform .15s, background .15s; cursor:pointer; border:0;}
.esm-btn-primary{background:var(--green); color:#fff; box-shadow:0 10px 26px rgba(44,188,99,.32);}
.esm-btn-primary:hover{transform:translateY(-2px); background:#25a957;}
.esm-btn-ghost{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.32);}
.esm-btn-ghost:hover{background:rgba(255,255,255,.08);}
.esm-header{position:sticky; top:0; z-index:40; background:rgba(4,25,36,.86); backdrop-filter:blur(12px); border-bottom:1px solid var(--line);}
.esm-header .esm-wrap{display:flex; align-items:center; justify-content:space-between; height:64px;}
.esm-logo{display:flex; align-items:center; text-decoration:none;}
.esm-logo-img{height:38px; width:auto; display:block;}
.esm-nav-right{display:flex; align-items:center; gap:22px;}
.esm-login{display:inline-flex; align-items:center; gap:7px; color:var(--sub); text-decoration:none; font-weight:600; font-size:14px; transition:color .15s;}
.esm-login:hover{color:#fff;}
.esm-header .esm-btn{padding:10px 22px; font-size:14px;}
.esm-iam{position:relative;}
.esm-iam summary{list-style:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px; color:var(--sub); font-weight:600; font-size:14px; padding:8px 2px;}
.esm-iam summary::-webkit-details-marker{display:none;}
.esm-iam summary:hover,.esm-iam[open] summary{color:#fff;}
.esm-iam summary svg{transition:transform .15s;}
.esm-iam[open] summary svg{transform:rotate(180deg);}
.esm-iam-menu{position:absolute; top:calc(100% + 12px); left:0; background:#0b3346; border:1px solid var(--line); border-radius:12px; padding:8px; min-width:250px; box-shadow:0 22px 55px rgba(0,0,0,.5); z-index:60;}
.esm-iam-menu a{display:block; padding:11px 13px; border-radius:9px; color:var(--sub); text-decoration:none; font-size:14px; font-weight:600;}
.esm-iam-menu a:hover{background:var(--surface-2); color:#fff;}
@media(max-width:520px){
  .esm-iam summary span{display:none;}
}
@media(max-width:640px){
  .esm-login span{display:none;}
}
.esm-hero{position:relative; overflow:hidden; padding:74px 0 60px; background:
  radial-gradient(90% 120% at 80% -10%, rgba(44,188,99,.16), transparent 55%),
  linear-gradient(180deg,#052736 0%, var(--bg0) 100%);}
.esm-hero:before{content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(124,197,118,.16) 1px,transparent 1.4px); background-size:30px 30px; opacity:.4; mask-image:linear-gradient(180deg,#000,transparent 80%);}
.esm-hero .esm-wrap{position:relative; z-index:2;}
.esm-hero{min-height:540px; display:flex; align-items:center;}
.esm-hero-bg{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 42%; z-index:0;}
.esm-hero::after{content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(to right, var(--bg0) 0%, var(--bg0) 23%, rgba(4,33,46,.6) 39%, rgba(4,33,46,.12) 55%, transparent 72%), linear-gradient(to top, var(--bg0) 0%, transparent 30%);}
@media(max-width:860px){
  .esm-hero{min-height:460px;}
  .esm-hero-bg{object-position:center 30%;}
  .esm-hero::after{background:linear-gradient(to top, var(--bg0) 6%, rgba(4,33,46,.74) 58%, rgba(4,33,46,.5) 100%);}
}
.esm-hero-grid{display:block; max-width:640px;}
.esm-hero h1{font-size:clamp(33px,4.6vw,53px); font-weight:800; margin:16px 0 18px;}
.esm-hero h1 .hl{color:var(--green-2);}
.esm-hero .esm-eyebrow,.esm-hero h1,.esm-hero .lede,.esm-hero-note{text-shadow:0 2px 22px rgba(3,16,24,.55);}
.esm-hero .lede{font-size:clamp(16px,1.6vw,19px); color:var(--sub); max-width:560px; margin-bottom:28px;}
.esm-hero-cta{display:flex; flex-wrap:wrap; gap:14px; align-items:center;}
.esm-hero-note{margin-top:20px; font-size:14px; color:var(--muted); display:flex; align-items:center; gap:8px;}
.esm-hero-photo{position:relative; border-radius:18px; overflow:hidden; aspect-ratio:4/5;}
.esm-hero-photo::after{content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(105deg, var(--bg0) 0%, rgba(4,33,46,.5) 24%, transparent 56%), linear-gradient(to top, var(--bg0) 1%, transparent 44%);}
@media(max-width:860px){
  .esm-hero-photo{aspect-ratio:16/10;}
}
.esm-hero-photo img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 40%; display:block; z-index:0;}
.esm-hero-photo-tag{position:absolute; left:16px; right:16px; bottom:16px; z-index:2; background:rgba(4,25,36,.72); backdrop-filter:blur(6px); border:1px solid var(--line); border-radius:12px; padding:12px 14px; font-size:13.5px; color:var(--sub); display:flex; gap:9px; align-items:flex-start; line-height:1.45;}
@media(max-width:860px){
  .esm-hero-grid{grid-template-columns:1fr; gap:32px;}
}
.esm-ribbon{background:var(--navy); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06);}
.esm-ribbon .grid{display:grid; grid-template-columns:repeat(4,1fr);}
.esm-rstat{padding:24px 20px; text-align:center; border-left:1px solid rgba(255,255,255,.08);}
.esm-rstat:first-child{border-left:0;}
.esm-rstat .n{font-weight:800; font-size:28px; color:#fff; line-height:1;}
.esm-rstat .l{font-size:13px; color:#a7c4c0; margin-top:7px;}
@media(max-width:720px){
  .esm-ribbon .grid{grid-template-columns:repeat(2,1fr);}
  .esm-rstat:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.08);}
  .esm-rstat:nth-child(odd){border-left:0;}
}
.esm-section{padding:64px 0;}
.esm-section.alt{background:var(--bg1);}
.esm-shead{max-width:660px; margin-bottom:36px;}
.esm-shead.center{margin-left:auto; margin-right:auto; text-align:center;}
.esm-shead h2{font-size:clamp(26px,3.2vw,38px); font-weight:800; margin:12px 0 12px;}
.esm-shead p{font-size:17px;}
.esm-ptypes{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.esm-ptype{display:block; text-decoration:none; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:26px 24px; transition:transform .16s, border-color .16s, background .16s;}
.esm-ptype:hover{transform:translateY(-5px); border-color:rgba(124,197,118,.55); background:var(--surface-2);}
.esm-ptype .ic{width:48px; height:48px; border-radius:12px; background:rgba(44,188,99,.14); color:var(--green-2); display:grid; place-items:center; margin-bottom:16px;}
.esm-ptype h3{color:#fff; font-size:18px; font-weight:700; margin-bottom:7px;}
.esm-ptype p{font-size:14px; margin-bottom:14px; line-height:1.55;}
.esm-ptype .more{color:var(--green-2); font-weight:700; font-size:14px; display:inline-flex; gap:6px; align-items:center;}
@media(max-width:860px){
  .esm-ptypes{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:560px){
  .esm-ptypes{grid-template-columns:1fr;}
}
.esm-who-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center;}
.esm-who p{font-size:18px; color:var(--sub); line-height:1.75;}
.esm-who .accent{color:var(--green-2); font-weight:600;}
.esm-who-card{background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:28px;}
.esm-who-card h3{font-size:17px; margin-bottom:14px; color:#fff;}
.esm-who-card ul{list-style:none;}
.esm-who-card li{display:flex; gap:12px; padding:11px 0; border-bottom:1px solid var(--line); font-size:15px; color:var(--sub);}
.esm-who-card li:last-child{border-bottom:0;}
@media(max-width:820px){
  .esm-who-grid{grid-template-columns:1fr; gap:28px;}
}
.esm-benefits{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
.esm-bcard{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:24px 22px; transition:transform .16s, border-color .16s, background .16s;}
.esm-bcard:hover{transform:translateY(-4px); border-color:rgba(124,197,118,.5); background:var(--surface-2);}
.esm-bicon{width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:rgba(44,188,99,.14); color:var(--green-2); margin-bottom:15px;}
.esm-bcard h3{font-size:16px; margin-bottom:8px; color:#fff;}
.esm-bcard p{font-size:14px;}
@media(max-width:900px){
  .esm-benefits{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:520px){
  .esm-benefits{grid-template-columns:1fr;}
}
.esm-steps{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.esm-step{padding:28px 24px; border:1px solid var(--line); border-radius:16px; background:var(--surface);}
.esm-step .num{font-weight:800; font-size:15px; width:38px; height:38px; border-radius:50%; background:var(--green); color:#fff; display:grid; place-items:center; margin-bottom:16px;}
.esm-step h3{font-size:18px; margin-bottom:8px; color:#fff;}
.esm-step p{font-size:14.5px;}
@media(max-width:820px){
  .esm-steps{grid-template-columns:1fr;}
}
.esm-vetted-grid{display:grid; grid-template-columns:.8fr 1.2fr; gap:44px; align-items:center;}
.esm-seal{width:200px; height:200px; display:block; margin:0 auto; filter:drop-shadow(0 12px 30px rgba(0,0,0,.4));}
.esm-vlist{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:6px;}
.esm-vitem{display:flex; gap:11px; align-items:flex-start; font-size:15px; color:var(--sub);}
@media(max-width:820px){
  .esm-vetted-grid{grid-template-columns:1fr; gap:26px;}
  .esm-vlist{grid-template-columns:1fr;}
}
.esm-apply{background:linear-gradient(180deg,var(--bg1),#03303f);}
.esm-apply-grid{display:grid; grid-template-columns:.95fr 1.05fr; gap:46px; align-items:start;}
.esm-apply h2{font-size:clamp(26px,3.2vw,36px); font-weight:800;}
.esm-apply .lede{font-size:17px; margin:12px 0 22px; color:var(--sub);}
.esm-apply-points{list-style:none;}
.esm-apply-points li{display:flex; gap:11px; padding:9px 0; font-size:15px; color:var(--sub);}
.esm-form-card{background:var(--cream); border-radius:20px; padding:32px; box-shadow:0 30px 70px rgba(0,0,0,.4);}
.esm-form-card h3{font-size:22px; color:var(--form-ink); margin-bottom:5px; font-weight:800;}
.esm-form-card .sub{font-size:14px; color:var(--form-muted); margin-bottom:20px;}
.esm-sample-form .row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.esm-field{margin-bottom:15px;}
.esm-field label{display:block; font-weight:700; font-size:13px; color:var(--form-ink); margin-bottom:6px;}
.esm-field input,.esm-field select,.esm-field textarea{width:100%; padding:13px 15px; border:1.5px solid var(--form-line); border-radius:11px; font-family:inherit; font-size:15px; color:var(--form-ink); background:#fff; transition:border-color .15s, box-shadow .15s;}
.esm-field input:focus,.esm-field select:focus,.esm-field textarea:focus{outline:none; border-color:var(--green); box-shadow:0 0 0 3px rgba(44,188,99,.16);}
.esm-form-card .esm-btn{width:100%; justify-content:center; margin-top:6px;}
.esm-form-note{font-size:12.5px; color:var(--form-muted); text-align:center; margin-top:14px;}
@media(max-width:820px){
  .esm-apply-grid{grid-template-columns:1fr; gap:30px;}
  .esm-sample-form .row{grid-template-columns:1fr;}
}
.esm-lp .esm-form-card .gform_wrapper .gfield_label{font-family:'Manrope',sans-serif !important; font-weight:700 !important; font-size:13px !important; color:var(--form-ink) !important;}
.esm-lp .esm-form-card .gform_wrapper input[type=text],
.esm-lp .esm-form-card .gform_wrapper input[type=email],
.esm-lp .esm-form-card .gform_wrapper input[type=tel],
.esm-lp .esm-form-card .gform_wrapper input[type=url],
.esm-lp .esm-form-card .gform_wrapper input[type=number],
.esm-lp .esm-form-card .gform_wrapper select,
.esm-lp .esm-form-card .gform_wrapper textarea{padding:13px 15px !important; border:1.5px solid var(--form-line) !important; border-radius:11px !important; background:#fff !important; font-size:15px !important; color:var(--form-ink) !important;}
.esm-lp .esm-form-card .gform_wrapper input:focus,
.esm-lp .esm-form-card .gform_wrapper select:focus,
.esm-lp .esm-form-card .gform_wrapper textarea:focus{border-color:var(--green) !important; box-shadow:0 0 0 3px rgba(44,188,99,.16) !important; outline:none !important;}
.esm-lp .esm-form-card .gform_wrapper .gform_footer input[type=submit],
.esm-lp .esm-form-card .gform_wrapper .gform_footer button{background:var(--green) !important; color:#fff !important; border:0 !important; border-radius:32px !important; padding:15px 30px !important; font-family:'Manrope',sans-serif !important; font-weight:700 !important; font-size:16px !important; width:100% !important; cursor:pointer !important;}
.esm-about-grid{display:grid; grid-template-columns:.72fr 1.28fr; gap:44px; align-items:center;}
.esm-photo img{width:100%; border-radius:20px; display:block; border:1px solid var(--line);}
.esm-photo-ph{aspect-ratio:4/5; border-radius:20px; background:linear-gradient(160deg,var(--surface),#092C3D); border:1px dashed rgba(255,255,255,.22); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px;}
.esm-photo-ph span{width:78px; height:78px; border-radius:50%; background:rgba(44,188,99,.16); color:var(--green-2); display:grid; place-items:center; font-weight:800; font-size:26px;}
.esm-photo-ph em{font-style:normal; font-size:12.5px; color:var(--muted); letter-spacing:.08em; text-transform:uppercase;}
.esm-about-body h3{font-size:26px; color:#fff; font-weight:800; margin-bottom:4px;}
.esm-role{color:var(--green-2); font-weight:700; font-size:14px; letter-spacing:.04em; margin-bottom:18px;}
.esm-about-body p{color:var(--sub); font-size:16px; margin-bottom:14px; line-height:1.75;}
.esm-contact-row{display:flex; flex-wrap:wrap; gap:14px; margin-top:22px;}
.esm-contact-row a{display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:#fff; font-weight:600; font-size:15px; background:var(--surface); border:1px solid var(--line); padding:12px 18px; border-radius:12px; transition:border-color .15s, background .15s;}
.esm-contact-row a:hover{border-color:rgba(124,197,118,.5); background:var(--surface-2);}
.esm-contact-row svg{color:var(--green-2); flex:none;}
@media(max-width:760px){
  .esm-about-grid{grid-template-columns:1fr; gap:26px; max-width:460px; margin:0 auto;}
}
.esm-footer{background:#03212D; border-top:1px solid var(--line); padding:54px 0 30px;}
.esm-footer-cols{display:grid; grid-template-columns:1.5fr 1fr 1fr 1.1fr; gap:36px;}
.esm-fbrand img{height:36px; margin-bottom:14px;}
.esm-fbrand p{font-size:14px; color:var(--muted); max-width:300px; margin-bottom:18px; line-height:1.6;}
.esm-fcol h5{color:#fff; font-size:12.5px; letter-spacing:.13em; text-transform:uppercase; margin-bottom:15px; font-weight:700;}
.esm-fcol ul{list-style:none;}
.esm-fcol li{margin-bottom:10px;}
.esm-fcol a{color:var(--sub); text-decoration:none; font-size:14.5px; transition:color .15s;}
.esm-fcol a:hover{color:var(--green-2);}
.esm-footer-bottom{border-top:1px solid var(--line); margin-top:36px; padding-top:22px; display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center;}
.esm-footer-bottom .brand{font-weight:700; letter-spacing:.13em; text-transform:uppercase; font-size:11.5px; color:var(--green-2);}
.esm-footer-bottom .meta{font-size:13px; color:var(--muted);}
.esm-footer-bottom a{color:var(--sub); text-decoration:none;}
.esm-footer-bottom a:hover{color:#fff;}
@media(max-width:860px){
  .esm-footer-cols{grid-template-columns:1fr 1fr; gap:30px;}
}
@media(max-width:520px){
  .esm-footer-cols{grid-template-columns:1fr;}
}

/* ===== apply.html (scoped .esm-pg-apply, 21 rules) ===== */
.esm-pg-apply .esm-hero-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center;}
.esm-pg-apply .esm-hero-photo{position:relative;}
.esm-pg-apply .esm-hero-photo img{width:100%; border-radius:20px; display:block; border:1px solid var(--line); box-shadow:0 30px 60px rgba(0,0,0,.42);}
.esm-pg-apply .esm-hero-photo-tag{position:absolute; left:14px; right:14px; bottom:14px; background:rgba(4,25,36,.82); backdrop-filter:blur(6px); border:1px solid var(--line); border-radius:12px; padding:12px 14px; font-size:13.5px; color:var(--sub); display:flex; gap:9px; align-items:flex-start; line-height:1.45;}
.esm-pg-apply .esm-lgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:16px;}
.esm-pg-apply .esm-lcard{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:22px 20px; transition:transform .16s, border-color .16s;}
.esm-pg-apply .esm-lcard:hover{transform:translateY(-4px); border-color:rgba(124,197,118,.5);}
.esm-pg-apply .esm-lcard .ic{width:40px; height:40px; border-radius:11px; background:rgba(44,188,99,.14); color:var(--green-2); display:grid; place-items:center; margin-bottom:13px;}
.esm-pg-apply .esm-lcard h4{font-family:'Manrope',sans-serif; color:#fff; font-size:15.5px; font-weight:700; margin-bottom:6px;}
.esm-pg-apply .esm-lcard p{font-size:13.5px; color:var(--muted); line-height:1.5;}
.esm-pg-apply .esm-cta{position:relative; overflow:hidden; text-align:center; background:#062334;}
.esm-pg-apply .esm-cta::before{content:""; position:absolute; inset:0; background:url("cta-duotone.jpg") center/cover; z-index:0;}
.esm-pg-apply .esm-cta::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(4,33,46,.72), rgba(4,33,46,.6)); z-index:1;}
.esm-pg-apply .esm-cta .esm-wrap{position:relative; z-index:2;}
.esm-pg-apply .esm-cta h2{font-size:clamp(26px,3.2vw,38px); font-weight:800; margin-bottom:12px;}
.esm-pg-apply .esm-cta p{font-size:17px; color:var(--sub); max-width:560px; margin:0 auto 26px;}
.esm-pg-apply .esm-back{display:inline-flex; align-items:center; gap:7px; color:var(--muted); text-decoration:none; font-size:13px; font-weight:600; margin-bottom:10px;}
.esm-pg-apply .esm-back:hover{color:var(--green-2);}
.esm-pg-apply .esm-applywrap{max-width:640px; margin:0 auto;}
.esm-pg-apply .esm-reassure{display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:22px 0 0;}
.esm-pg-apply .esm-rchip{display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:30px; padding:9px 16px; font-size:13.5px; color:var(--sub);}

/* ===== vetting-process.html (scoped .esm-pg-vetting, 68 rules) ===== */
.esm-lp.esm-pg-vetting{--navy:#023A51; --bg0:#04212E; --bg1:#072A3A; --surface:#0B3346; --surface-2:#10405680;
  --green:#2CBC63; --green-2:#7CC576;
  --ink:#eef4f3; --sub:#c7d6de; --muted:#93aab8; --line:rgba(255,255,255,.10);
  --radius:14px;
  font-family:'Manrope',Arial,Helvetica,sans-serif; color:var(--sub); line-height:1.65;
  background:var(--bg0); -webkit-font-smoothing:antialiased;}
.esm-lp.esm-pg-vetting h1, .esm-lp.esm-pg-vetting h2, .esm-lp.esm-pg-vetting h3, .esm-lp.esm-pg-vetting h4{font-family:'Manrope',sans-serif; color:var(--ink); line-height:1.15; letter-spacing:-.02em;}
.esm-pg-vetting .esm-wrap{max-width:1000px; margin:0 auto; padding:0 24px;}
.esm-pg-vetting .esm-header .esm-wrap{display:flex; align-items:center; justify-content:space-between; height:64px; max-width:1140px;}
.esm-pg-vetting .esm-nav-right{display:flex; align-items:center; gap:20px;}
.esm-pg-vetting .esm-nav-tag{font-weight:700; font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--green-2); text-decoration:none; transition:color .15s;}
.esm-pg-vetting .esm-nav-tag:hover{color:#fff;}
@media(max-width:720px){
  .esm-pg-vetting .esm-nav-tag{display:none;}
}
.esm-pg-vetting .esm-hero{position:relative; overflow:hidden; padding:70px 0 54px; background:
  radial-gradient(90% 120% at 80% -10%, rgba(44,188,99,.16), transparent 55%),
  linear-gradient(180deg,#052736 0%, var(--bg0) 100%);}
.esm-pg-vetting .esm-hero .esm-wrap{position:relative; z-index:2; max-width:780px;}
.esm-pg-vetting .esm-hero h1{font-size:clamp(32px,4.6vw,50px); font-weight:800; margin:16px 0 16px;}
.esm-pg-vetting .esm-hero .lede{font-size:clamp(16px,1.6vw,19px); color:var(--sub); max-width:620px; margin-bottom:26px;}
.esm-pg-vetting .esm-hero-cta{display:flex; flex-wrap:wrap; gap:14px;}
.esm-pg-vetting .esm-summary{background:var(--navy); border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06);}
.esm-pg-vetting .esm-summary .grid{display:grid; grid-template-columns:repeat(3,1fr);}
.esm-pg-vetting .esm-sc{padding:26px 22px; text-align:center; border-left:1px solid rgba(255,255,255,.08);}
.esm-pg-vetting .esm-sc:first-child{border-left:0;}
.esm-pg-vetting .esm-sc .n{font-weight:800; font-size:24px; color:#fff; line-height:1.1;}
.esm-pg-vetting .esm-sc .l{font-size:13.5px; color:#a7c4c0; margin-top:7px;}
@media(max-width:640px){
  .esm-pg-vetting .esm-summary .grid{grid-template-columns:1fr;}
  .esm-pg-vetting .esm-sc{border-left:0; border-top:1px solid rgba(255,255,255,.08);}
  .esm-pg-vetting .esm-sc:first-child{border-top:0;}
}
.esm-pg-vetting .esm-section{padding:60px 0;}
.esm-pg-vetting .esm-shead{max-width:640px; margin-bottom:34px;}
.esm-pg-vetting .esm-shead h2{font-size:clamp(25px,3vw,34px); font-weight:800; margin:12px 0 12px;}
.esm-pg-vetting .esm-timeline{position:relative; margin-top:8px;}
.esm-pg-vetting .esm-timeline:before{content:""; position:absolute; left:23px; top:8px; bottom:8px; width:2px; background:linear-gradient(180deg,var(--green),rgba(124,197,118,.15));}
.esm-pg-vetting .esm-tstep{position:relative; padding:0 0 30px 66px;}
.esm-pg-vetting .esm-tstep:last-child{padding-bottom:0;}
.esm-pg-vetting .esm-tnum{position:absolute; left:0; top:0; width:48px; height:48px; border-radius:50%; background:var(--green); color:#fff; font-weight:800; font-size:17px; display:grid; place-items:center; box-shadow:0 0 0 6px var(--bg0);}
.esm-pg-vetting .esm-tcard{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px 24px;}
.esm-pg-vetting .esm-tstep.alt .esm-tcard{background:#0d3a4f;}
.esm-pg-vetting .esm-thead{display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:8px;}
.esm-pg-vetting .esm-thead h3{font-size:19px; color:#fff; font-weight:700;}
.esm-pg-vetting .esm-chip{font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--green-2); background:rgba(44,188,99,.14); border:1px solid rgba(124,197,118,.3); padding:5px 11px; border-radius:20px; white-space:nowrap;}
.esm-pg-vetting .esm-tcard p{font-size:15px; color:var(--sub); line-height:1.65;}
.esm-pg-vetting .esm-tnum-flag{background:#0e3b50; color:var(--green-2);}
.esm-pg-vetting .esm-cols{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.esm-pg-vetting .esm-panel{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:28px;}
.esm-pg-vetting .esm-panel h3{font-size:19px; color:#fff; font-weight:700; margin-bottom:14px; display:flex; align-items:center; gap:10px;}
.esm-pg-vetting .esm-panel ul{list-style:none;}
.esm-pg-vetting .esm-panel li{display:flex; gap:11px; padding:9px 0; font-size:15px; color:var(--sub); line-height:1.55; border-bottom:1px solid var(--line);}
.esm-pg-vetting .esm-panel li:last-child{border-bottom:0;}
@media(max-width:760px){
  .esm-pg-vetting .esm-cols{grid-template-columns:1fr;}
}
.esm-pg-vetting .esm-cost{background:linear-gradient(160deg,var(--navy),#053246); border:1px solid var(--line); border-radius:20px; padding:34px; text-align:center; max-width:760px; margin:0 auto;}
.esm-pg-vetting .esm-cost h3{font-size:22px; color:#fff; font-weight:800; margin-bottom:20px;}
.esm-pg-vetting .esm-cost-row{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; text-align:left;}
.esm-pg-vetting .esm-cost-item{background:rgba(255,255,255,.04); border:1px solid var(--line); border-radius:14px; padding:18px;}
.esm-pg-vetting .esm-cost-item .big{font-weight:800; color:var(--green-2); font-size:20px; margin-bottom:5px;}
.esm-pg-vetting .esm-cost-item p{font-size:13.5px; color:var(--muted);}
@media(max-width:640px){
  .esm-pg-vetting .esm-cost-row{grid-template-columns:1fr;}
}
.esm-pg-vetting .esm-faq{max-width:780px; margin:0 auto;}
.esm-pg-vetting .esm-faq details{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:0 22px; margin-bottom:12px;}
.esm-pg-vetting .esm-faq summary{cursor:pointer; list-style:none; padding:18px 0; font-weight:700; color:#fff; font-size:16px; display:flex; justify-content:space-between; align-items:center; gap:12px;}
.esm-pg-vetting .esm-faq summary::-webkit-details-marker{display:none;}
.esm-pg-vetting .esm-faq summary:after{content:"+"; color:var(--green-2); font-size:22px; font-weight:700; line-height:1;}
.esm-pg-vetting .esm-faq details[open] summary:after{content:"\2013";}
.esm-pg-vetting .esm-faq p{font-size:15px; color:var(--sub); padding:0 0 20px; line-height:1.7;}
.esm-pg-vetting .esm-cta{position:relative; overflow:hidden; text-align:center; background:#062334;}
.esm-pg-vetting .esm-cta::before{content:""; position:absolute; inset:0; background:url("cta-duotone.jpg") center/cover; z-index:0;}
.esm-pg-vetting .esm-cta::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(4,33,46,.72), rgba(4,33,46,.6)); z-index:1;}
.esm-pg-vetting .esm-cta .esm-wrap{position:relative; z-index:2;}
.esm-pg-vetting .esm-cta h2{font-size:clamp(26px,3.2vw,36px); font-weight:800; margin-bottom:12px;}
.esm-pg-vetting .esm-cta p{font-size:17px; color:var(--sub); max-width:560px; margin:0 auto 26px;}
.esm-pg-vetting .esm-footer{background:#03212D; border-top:1px solid var(--line); padding:40px 0;}
.esm-pg-vetting .esm-footer .inner{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px;}
.esm-pg-vetting .esm-footer .brand{font-weight:700; letter-spacing:.14em; text-transform:uppercase; font-size:12px; color:var(--green-2);}
.esm-pg-vetting .esm-footer .meta{font-size:14px; color:var(--muted);}
.esm-pg-vetting .esm-footer a{text-decoration:none; color:var(--sub);}
.esm-pg-vetting .esm-footer a:hover{color:#fff;}

/* ===== members-portal.html (scoped .esm-pg-portal, 33 rules) ===== */
.esm-pg-portal .esm-hero-grid{display:grid; grid-template-columns:1.15fr .85fr; gap:48px; align-items:center;}
.esm-pg-portal .esm-hero-photo{position:relative;}
.esm-pg-portal .esm-hero-photo img{width:100%; border-radius:20px; display:block; border:1px solid var(--line); box-shadow:0 30px 60px rgba(0,0,0,.42);}
.esm-pg-portal .esm-hero-photo-tag{position:absolute; left:14px; right:14px; bottom:14px; background:rgba(4,25,36,.82); backdrop-filter:blur(6px); border:1px solid var(--line); border-radius:12px; padding:12px 14px; font-size:13.5px; color:var(--sub); display:flex; gap:9px; align-items:flex-start; line-height:1.45;}
.esm-pg-portal .esm-memberbar{position:sticky; top:0; z-index:50; background:linear-gradient(90deg,#2CBC63,#7CC576);}
.esm-pg-portal .esm-memberbar .esm-wrap{display:flex; align-items:center; justify-content:space-between; min-height:38px; gap:12px; padding-top:6px; padding-bottom:6px;}
.esm-pg-portal .esm-memberbar .mb-left{display:flex; align-items:center; gap:9px; color:#043024; font-weight:800; font-size:12px; letter-spacing:.16em; text-transform:uppercase;}
.esm-pg-portal .esm-memberbar .mb-right{color:#053a29; font-weight:600; font-size:13px; display:flex; align-items:center; gap:12px;}
.esm-pg-portal .esm-memberbar .mb-right a{color:#043024; text-decoration:none; border-bottom:1px solid rgba(4,48,36,.45); font-weight:700;}
.esm-pg-portal .esm-memberbar .mb-right a:hover{border-color:#043024;}
.esm-pg-portal .esm-header.members{top:38px;}
.esm-pg-portal .esm-pnav{display:flex; gap:22px; align-items:center;}
.esm-pg-portal .esm-pnav a{color:var(--sub); text-decoration:none; font-weight:600; font-size:14px; transition:color .15s;}
.esm-pg-portal .esm-pnav a:hover, .esm-pg-portal .esm-pnav a.active{color:#fff;}
.esm-pg-portal .esm-logout{display:inline-flex; align-items:center; gap:7px; color:var(--sub); text-decoration:none; font-weight:600; font-size:14px;}
.esm-pg-portal .esm-logout:hover{color:#fff;}
@media(max-width:820px){
  .esm-pg-portal .esm-pnav{display:none;}
}
.esm-pg-portal .esm-locktag{display:inline-flex; align-items:center; gap:8px; background:rgba(44,188,99,.14); border:1px solid rgba(124,197,118,.35); color:var(--green-2); font-weight:700; font-size:12.5px; letter-spacing:.04em; padding:7px 14px; border-radius:30px;}
.esm-pg-portal .esm-welcome{padding:52px 0 30px;}
.esm-pg-portal .esm-welcome h1{font-size:clamp(30px,4vw,44px); font-weight:800; margin:14px 0 10px;}
.esm-pg-portal .esm-welcome p{font-size:17px; color:var(--sub); max-width:620px;}
.esm-pg-portal .esm-pcards{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.esm-pg-portal .esm-pcard{display:block; text-decoration:none; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:24px; transition:transform .16s, border-color .16s, background .16s;}
.esm-pg-portal .esm-pcard:hover{transform:translateY(-4px); border-color:rgba(124,197,118,.55); background:var(--surface-2);}
.esm-pg-portal .esm-pcard .ic{width:46px; height:46px; border-radius:12px; background:rgba(44,188,99,.14); color:var(--green-2); display:grid; place-items:center; margin-bottom:15px;}
.esm-pg-portal .esm-pcard h3{color:#fff; font-size:17px; font-weight:700; margin-bottom:6px; display:flex; align-items:center;}
.esm-pg-portal .esm-pcard p{font-size:14px; color:var(--muted); line-height:1.55;}
.esm-pg-portal .esm-badge{background:rgba(44,188,99,.18); color:var(--green-2); font-size:12px; font-weight:800; padding:2px 9px; border-radius:20px; margin-left:8px;}
@media(max-width:860px){
  .esm-pg-portal .esm-pcards{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:560px){
  .esm-pg-portal .esm-pcards{grid-template-columns:1fr;}
}
.esm-pg-portal .esm-privatenote{text-align:center; font-size:13.5px; color:var(--muted); border-top:1px solid var(--line); padding-top:22px; margin-top:8px; display:flex; align-items:center; justify-content:center; gap:8px;}
.esm-pg-portal .esm-calcard{background:#fff; border-radius:16px; padding:10px; box-shadow:0 20px 50px rgba(0,0,0,.35);}
.esm-pg-portal .esm-calcard iframe{display:block; width:100%; border-radius:10px; min-height:600px; border:0;}

/* ===== partner-real-estate.html (scoped .esm-pg-sub, 17 rules) ===== */
.esm-pg-sub .esm-lgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:16px;}
.esm-pg-sub .esm-lcard{background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:22px 20px; transition:transform .16s, border-color .16s;}
.esm-pg-sub .esm-lcard:hover{transform:translateY(-4px); border-color:rgba(124,197,118,.5);}
.esm-pg-sub .esm-lcard .ic{width:40px; height:40px; border-radius:11px; background:rgba(44,188,99,.14); color:var(--green-2); display:grid; place-items:center; margin-bottom:13px;}
.esm-pg-sub .esm-lcard h4{font-family:'Manrope',sans-serif; color:#fff; font-size:15.5px; font-weight:700; margin-bottom:6px;}
.esm-pg-sub .esm-lcard p{font-size:13.5px; color:var(--muted); line-height:1.5;}
.esm-pg-sub .esm-cta{position:relative; overflow:hidden; text-align:center; background:#062334;}
.esm-pg-sub .esm-cta::before{content:""; position:absolute; inset:0; background:url("cta-duotone.jpg") center/cover; z-index:0;}
.esm-pg-sub .esm-cta::after{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(4,33,46,.72), rgba(4,33,46,.6)); z-index:1;}
.esm-pg-sub .esm-cta .esm-wrap{position:relative; z-index:2;}
.esm-pg-sub .esm-cta h2{font-size:clamp(26px,3.2vw,38px); font-weight:800; margin-bottom:12px;}
.esm-pg-sub .esm-cta p{font-size:17px; color:var(--sub); max-width:560px; margin:0 auto 26px;}
.esm-pg-sub .esm-back{display:inline-flex; align-items:center; gap:7px; color:var(--muted); text-decoration:none; font-size:13px; font-weight:600; margin-bottom:10px;}
.esm-pg-sub .esm-back:hover{color:var(--green-2);}
.esm-pg-sub .esm-applywrap{max-width:640px; margin:0 auto;}
.esm-pg-sub .esm-reassure{display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:22px 0 0;}
.esm-pg-sub .esm-rchip{display:inline-flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--line); border-radius:30px; padding:9px 16px; font-size:13.5px; color:var(--sub);}

/* ===== MEMBERS-ONLY DESIGNATION ===== */
.esm-memberbar{position:sticky; top:0; z-index:50; background:linear-gradient(90deg,#2CBC63,#7CC576);}
.esm-memberbar .esm-wrap{display:flex; align-items:center; justify-content:space-between; min-height:38px; gap:12px; padding-top:6px; padding-bottom:6px;}
.esm-memberbar .mb-left{display:flex; align-items:center; gap:9px; color:#043024; font-weight:800; font-size:12px; letter-spacing:.16em; text-transform:uppercase;}
.esm-memberbar .mb-right{color:#053a29; font-weight:600; font-size:13px; display:flex; align-items:center; gap:12px;}
.esm-memberbar .mb-right a{color:#043024; text-decoration:none; border-bottom:1px solid rgba(4,48,36,.45); font-weight:700;}
.esm-memberbar .mb-right a:hover{border-color:#043024;}
.esm-header.members{top:38px;}
.esm-pnav{display:flex; gap:22px; align-items:center;}
.esm-pnav a{color:var(--sub); text-decoration:none; font-weight:600; font-size:14px; transition:color .15s;}
.esm-pnav a:hover,.esm-pnav a.active{color:#fff;}
.esm-logout{display:inline-flex; align-items:center; gap:7px; color:var(--sub); text-decoration:none; font-weight:600; font-size:14px;}
.esm-logout:hover{color:#fff;}
@media(max-width:820px){ .esm-pnav{display:none;} }
/* Corner lock watermark on protected content */
.esm-locktag{display:inline-flex; align-items:center; gap:8px; background:rgba(44,188,99,.14); border:1px solid rgba(124,197,118,.35); color:var(--green-2); font-weight:700; font-size:12.5px; letter-spacing:.04em; padding:7px 14px; border-radius:30px;}
.esm-welcome{padding:52px 0 30px;}
.esm-welcome h1{font-size:clamp(30px,4vw,44px); font-weight:800; margin:14px 0 10px;}
.esm-welcome p{font-size:17px; color:var(--sub); max-width:620px;}
.esm-pcards{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.esm-pcard{display:block; text-decoration:none; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:24px; transition:transform .16s, border-color .16s, background .16s;}
.esm-pcard:hover{transform:translateY(-4px); border-color:rgba(124,197,118,.55); background:var(--surface-2);}
.esm-pcard .ic{width:46px; height:46px; border-radius:12px; background:rgba(44,188,99,.14); color:var(--green-2); display:grid; place-items:center; margin-bottom:15px;}
.esm-pcard h3{color:#fff; font-size:17px; font-weight:700; margin-bottom:6px; display:flex; align-items:center;}
.esm-pcard p{font-size:14px; color:var(--muted); line-height:1.55;}
.esm-badge{background:rgba(44,188,99,.18); color:var(--green-2); font-size:12px; font-weight:800; padding:2px 9px; border-radius:20px; margin-left:8px;}
@media(max-width:860px){ .esm-pcards{grid-template-columns:repeat(2,1fr);} }
@media(max-width:560px){ .esm-pcards{grid-template-columns:1fr;} }
.esm-privatenote{text-align:center; font-size:13.5px; color:var(--muted); border-top:1px solid var(--line); padding-top:22px; margin-top:8px; display:flex; align-items:center; justify-content:center; gap:8px;}
.esm-calcard{background:#fff; border-radius:16px; padding:10px; box-shadow:0 20px 50px rgba(0,0,0,.35);} .esm-calcard iframe{display:block; width:100%; border-radius:10px; min-height:600px; border:0;}

/* ===== v1.7 Gravity Forms brand + spacing fixes ===== */
/* Progress bar & primary accents: ESM green instead of GF default blue.
   !important beats GF's per-form inline variable block. */
.esm-lp .gform_wrapper.gform-theme{
  --gf-color-primary:#2CBC63 !important;
  --gf-color-primary-rgb:44,188,99 !important;
  --gf-color-primary-darker:#23984f !important;
  --gf-color-primary-lighter:#7CC576 !important;
  --gf-color-primary-contrast:#fff !important;
  --gf-color-in-ctrl-primary:#2CBC63 !important;
  --gf-color-in-ctrl-primary-darker:#23984f !important;
  --gf-color-in-ctrl-primary-lighter:#7CC576 !important;
}
/* Breathing room between the form intro text and the step progress bar */
.esm-lp .gform_wrapper .gf_progressbar_wrapper{margin-top:18px !important;}
.esm-lp .gform_wrapper .gform_heading{margin-bottom:4px;}

