/* Design batch 1, Nov 18 2026 (Real Vibe Digital audit D-items). Loaded last on every page. */

/* D-04 / D-01: one header container for both languages, fixed CTA slot, same pill everywhere */
@media (min-width:861px){
  .hdr .wrap.hdr-in{max-width:1280px!important}
  .hdr .nav{gap:14px!important}
  .hdr .nav > a.btn:last-child{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:190px;min-height:44px;padding:8px 12px!important;border-radius:999px!important;white-space:nowrap;text-align:center;font-size:.72rem!important;line-height:1.15;flex:0 0 auto}
  html[lang="es-us"] .hdr .nav{gap:12px!important}
  html[lang="es-us"] .hdr .nav > a.btn:last-child{width:180px;white-space:normal}
}
/* Mid widths: the language switch shortens to EN / ES so the menu fits inside the container */
@media (min-width:1200px) and (max-width:1439px){
  .hdr .lang-switch a{font-size:0!important}
  .hdr .lang-switch a::before{content:attr(lang);font-size:.8rem;text-transform:uppercase}
}
/* Narrow desktop and tablet landscape: the menu collapses to the menu button, both languages */
@media (min-width:861px) and (max-width:1199px){
  .hdr .burger{display:flex!important;flex-shrink:0;margin-left:10px;width:22px;height:18px;box-sizing:content-box;padding:13px 11px}
  .hdr .lang{margin-left:auto!important}
  .hdr .nav{display:none!important;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:16px;gap:6px!important;box-shadow:0 10px 20px rgba(0,0,0,.1)}
  .nav-open .hdr .nav{display:flex!important}
  .hdr .nav .dd-m{display:block;position:static;box-shadow:none}
  .hdr .nav > a.btn:last-child{width:auto;align-self:flex-start;padding:10px 22px!important}
  .hdr .nav a,.hdr .nav .dd-b{font-size:.9rem!important;padding:8px 0}
}
/* D-06: hero alignment. Photo heroes: left text and button. Text-only heroes: centered text and button. */
.svc-hero .svc-grid > div:first-child,
.svc-hero .svc-grid > div:first-child h1,
.svc-hero .svc-grid > div:first-child .lead{text-align:left!important;margin-left:0;margin-right:0}
.svc-hero .svc-grid .btns{justify-content:flex-start!important}
.svc-hero .wrap.narrow > h1,
.svc-hero .wrap.narrow > .lead{text-align:center!important;margin-left:auto;margin-right:auto}
.svc-hero .wrap.narrow > .btn{display:table;margin-left:auto;margin-right:auto}
.svc-hero .wrap.narrow > .btns{justify-content:center!important}

/* D-24: button text centered, balanced when it wraps */
.btn{text-align:center;text-wrap:balance}

/* D-17: home service cards, natural balanced titles, buttons pinned to the card bottom */
.svc-cards .card h3{text-wrap:balance}
.svc-cards .card:not(.flag){display:flex;flex-direction:column}
.svc-cards .card:not(.flag)>div:last-child{flex:1 1 auto}
.svc-cards .card:not(.flag) .more{margin-top:auto}

/* D-21: offer terms box. Statute text stays in capitals and clearly set apart. */
.notice-72{border:1px solid #c9d6d8;border-radius:14px;padding:16px 18px;background:#fff;margin:16px 0 0}
.notice-72 .notice-72-statute{font-size:13px;line-height:1.6;font-weight:700;color:#0D1B22;margin:0 0 10px}
.notice-72 .notice-72-terms{font-size:13px;line-height:1.6;color:#5D6B72;margin:0}

/* D-03: form loading placeholder and tighter form heights */
.hl-embed:not(.hl-ready) iframe{opacity:0;animation:hlshow 0s linear 6s forwards}
@keyframes hlshow{to{opacity:1}}
.hl-embed iframe{transition:opacity .25s ease}
.hl-embed:not(.hl-ready){background-image:
  linear-gradient(#e8eef0,#e8eef0),linear-gradient(#e8eef0,#e8eef0),linear-gradient(#e8eef0,#e8eef0),linear-gradient(#e8eef0,#e8eef0);
  background-repeat:no-repeat;
  background-size:calc(100% - 48px) 48px;
  background-position:24px 28px,24px 92px,24px 156px,24px 220px}
.ftr .hl-embed:not(.hl-ready){background-image:
  linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08)),linear-gradient(rgba(255,255,255,.08),rgba(255,255,255,.08));
  background-size:calc(100% - 48px) 48px;background-position:24px 20px,24px 84px}
.lp-form .hl-embed{border-radius:18px!important;overflow:hidden}
/* Form heights: HighLevel resizes each form to its content. Minimums match the forms with 11px consent text,
   so there is no gap after the consent change and no clipping before it (the form grows to fit). */
.lp-form .hl-embed{min-height:0!important}
.lp-form .hl-embed iframe{height:auto;min-height:780px!important}
html[lang="es-us"] .lp-form .hl-embed iframe{min-height:840px!important}
@media (max-width:860px){
  .lp-form .hl-embed iframe{min-height:710px!important}
  html[lang="es-us"] .lp-form .hl-embed iframe{min-height:750px!important}
}
@media (max-width:699px){
  .lp-form .hl-embed iframe{min-height:790px!important}
  html[lang="es-us"] .lp-form .hl-embed iframe{min-height:840px!important}
}
@media (max-width:499px){
  .lp-form .hl-embed iframe{min-height:840px!important}
  html[lang="es-us"] .lp-form .hl-embed iframe{min-height:930px!important}
}
@media (max-width:379px){
  .lp-form .hl-embed iframe{min-height:890px!important}
  html[lang="es-us"] .lp-form .hl-embed iframe{min-height:990px!important}
}
#hl-frame-contact{min-height:0!important}
#inline-heb8vj0fgehKuIpI3Rdu{min-height:770px}
#inline-oRaL3rANmTHP1GPjBNCj{min-height:800px}
@media (max-width:699px){#inline-heb8vj0fgehKuIpI3Rdu{min-height:860px}#inline-oRaL3rANmTHP1GPjBNCj{min-height:930px}}
@media (max-width:499px){#inline-heb8vj0fgehKuIpI3Rdu{min-height:930px}#inline-oRaL3rANmTHP1GPjBNCj{min-height:1020px}}
@media (max-width:379px){#inline-heb8vj0fgehKuIpI3Rdu{min-height:1020px}#inline-oRaL3rANmTHP1GPjBNCj{min-height:1150px}}

/* Consent and legal line next to every form: 11px everywhere */
.hl-embed-legal{font-size:11px!important;line-height:1.5}

/* D-19: floating buttons never cover the last lines; no white strip under the footer */
body{padding-bottom:0!important}
.ftr{padding-bottom:84px!important}
@media (max-width:860px){
  .ftr{padding-bottom:96px!important}
  body:has(.sticky-cta){padding-bottom:0!important}
  body:has(.sticky-cta) .ftr{padding-bottom:150px!important}
}

/* D-13 quick win: end-of-post call to action */
.blog-cta .btns{justify-content:flex-start;margin-top:14px;gap:12px}
.blog-cta .btn-outline{background:#fff}
.lp-form .hl-embed .hl-embed-legal{padding:0 18px 14px}
.blog-cta a[href^="tel:"]{white-space:nowrap}
