/* Production-wide refinements. Kept separate from the exported theme for safe maintenance. */
:root{
  --hd-accent:#e5652f;
  --hd-ink:#24262b;
  --hd-paper:#faf8f5;
  --hd-radius:16px;
  --hd-focus:0 0 0 3px rgba(229,101,47,.28);
}

html{overflow-x:clip;scroll-behavior:smooth;}
body{overflow-wrap:anywhere;}
img,video,iframe,svg{max-width:100%;}
button,a,input,select,textarea{font:inherit;}
a,button{touch-action:manipulation;}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:2px solid var(--hd-accent)!important;
  outline-offset:3px!important;
  box-shadow:var(--hd-focus);
}
.button,.wd-btn,.ct-submit-btn,.bm-submit{min-height:48px;align-items:center;justify-content:center;}
.hd-unverified-proof{display:none!important;}
.hd-integration-pending{display:none!important;}
.hd-proof-note{
  grid-column:1/-1;
  display:flex;
  flex-direction:column;
  gap:.5rem;
  padding:clamp(1.5rem,4vw,2.5rem);
  border:1px solid rgba(36,38,43,.1);
  border-radius:var(--hd-radius);
  background:var(--hd-paper);
  color:var(--hd-ink);
}
.hd-proof-note strong{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(1.05rem,2vw,1.35rem);}
.hd-proof-note span{color:#6b6d73;}
.hd-form-status{margin:1rem 0 0;font-size:.9rem;line-height:1.5;}
.hd-form-status.is-success{color:#197044;}
.hd-form-status.is-error{color:#a43c24;}
form[data-hedy-form] [aria-invalid="true"]{border-color:#a43c24 !important;box-shadow:0 0 0 1px #a43c24;}
form[data-hedy-form] .hd-field-error{margin:4px 0 0;font-size:.82rem;line-height:1.4;color:#a43c24;font-weight:600;}
form[data-hedy-form] [type="submit"][disabled]{opacity:.7;cursor:progress;}
form[data-hedy-form].is-submitted > :not([data-form-status]){display:none !important;}
form[data-hedy-form].is-submitted .hd-form-status{margin:0;padding:20px;border-radius:12px;background:#eef7f1;font-size:1rem;}
form[data-hedy-form].is-submitted .hd-form-status:focus{outline:2px solid #197044;outline-offset:2px;}
.hd-article-meta{font-size:.88rem;color:#777b83;margin:.75rem 0 1.5rem;}
.hd-metric-copy{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(1rem,2vw,1.35rem);line-height:1.15;}
.hd-project-engagement{min-width:0;}
.hd-capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:36px;}
.hd-capability-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));}
.hd-capability-card{padding:clamp(1.4rem,3vw,2rem);border:1px solid rgba(36,38,43,.1);border-radius:16px;background:#fff;}
.hd-capability-card span{font-size:.75rem;font-weight:800;letter-spacing:.09em;color:var(--hd-accent);}
.hd-capability-card h3{font-family:'Bricolage Grotesque',sans-serif;margin:.8rem 0 .45rem;}
.hd-capability-card p{margin:0;color:#6b6d73;}
.hd-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:rgba(36,38,43,.1);border:1px solid rgba(36,38,43,.1);border-radius:16px;overflow:hidden;}
.hd-trust-grid>div{display:flex;flex-direction:column;gap:.35rem;padding:clamp(1.1rem,2.5vw,1.7rem);background:#fff;}
.hd-trust-grid strong{font-family:'Bricolage Grotesque',sans-serif;font-size:1rem;}.hd-trust-grid span{font-size:.84rem;color:#6b6d73;}
.hd-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}
[type="submit"]:disabled{cursor:wait;opacity:.65;}
.site-footer a{display:inline-block;min-height:24px;}

.hd-consent-banner{
  position:fixed;z-index:100000;left:auto;right:clamp(12px,2vw,24px);bottom:clamp(12px,2vw,24px);
  display:flex;flex-direction:column;align-items:stretch;gap:12px;width:min(440px,calc(100vw - 24px));margin:0;
  padding:16px 18px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(28,30,34,.97);
  color:#fff;box-shadow:0 20px 60px rgba(0,0,0,.28);backdrop-filter:blur(18px);
}
.hd-consent-banner strong,.hd-consent-panel h2{font-family:'Bricolage Grotesque',sans-serif;}
.hd-consent-banner p{margin:.3rem 0 .2rem;max-width:none;color:rgba(255,255,255,.82);font-size:.84rem;line-height:1.5;}
.hd-consent-banner a{color:#fff;text-decoration:underline;font-size:.86rem;}
.hd-consent-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;}
.hd-consent-actions button,.hd-consent-settings{
  min-height:44px;padding:10px 15px;border:1px solid rgba(229,101,47,.55);border-radius:999px;background:#fff;color:#24262b;
  font-weight:700;cursor:pointer;
}
.hd-consent-actions button[data-consent="all"]{background:var(--hd-accent);border-color:var(--hd-accent);color:#fff;}
.hd-consent-settings{position:fixed;z-index:99990;left:12px;bottom:12px;min-height:32px;padding:5px 10px;background:#24262b;color:#fff;font-size:.72rem;opacity:.6;}
.hd-consent-settings:hover,.hd-consent-settings:focus-visible{opacity:1;}
.hd-consent-modal{position:fixed;z-index:100001;inset:0;display:grid;place-items:center;padding:18px;background:rgba(20,21,24,.62);}
.hd-consent-panel{width:min(560px,100%);padding:clamp(22px,5vw,36px);border-radius:20px;background:#fff;color:#24262b;box-shadow:0 24px 80px rgba(0,0,0,.32);}
.hd-consent-panel h2{margin:0 0 .65rem;font-size:clamp(1.6rem,4vw,2.2rem);}
.hd-consent-panel>p{margin:0 0 1.25rem;color:#61656d;line-height:1.55;}
.hd-consent-panel label{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:13px 0;border-top:1px solid rgba(36,38,43,.1);font-weight:700;}
.hd-consent-panel label span{grid-column:2;color:#747780;font-size:.82rem;font-weight:400;}
.hd-consent-panel .hd-consent-actions{margin:20px 0 12px;}
.hd-consent-panel>a{color:#8f3518;text-decoration:underline;font-size:.86rem;}
body.hd-consent-open{overflow:hidden;}

@media (max-width:430px){
  .page-container,.wd-container{padding-left:18px!important;padding-right:18px!important;}
  h1,.wd-h1{font-size:clamp(2.25rem,11vw,3.4rem)!important;line-height:1.02!important;}
  h2,.wd-h2{font-size:clamp(1.8rem,8vw,2.65rem)!important;line-height:1.08!important;}
  .button,.wd-btn{width:100%;max-width:100%;white-space:normal;text-align:center;}
  .site-footer .widgets-column{width:100%!important;}
  .hd-consent-banner{align-items:stretch;flex-direction:column;gap:10px;padding:14px;left:12px;right:12px;width:auto;}
  .hd-consent-banner p{font-size:.8rem;}
  .hd-consent-banner .hd-consent-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
  .hd-consent-banner .hd-consent-actions button{padding:8px 6px;font-size:.78rem;min-height:44px;}
}
@media (max-width:360px){
  .header-wrap .button-group .button{font-size:0!important;padding-inline:13px!important;min-width:76px!important;}
  .header-wrap .button-group .button::after{content:"Free Audit";font-size:.72rem;white-space:nowrap;}
  .header-wrap .logo img,.header-wrap .brand-logo img{max-width:120px!important;}
}
@media (max-width:760px){
  .hd-capability-grid,.hd-capability-grid-three{grid-template-columns:1fr;}
  .hd-trust-grid{grid-template-columns:1fr 1fr;}
  .wd-hero{padding-top:125px!important;}
}
@media (max-width:430px){.hd-trust-grid{grid-template-columns:1fr;}}

@media (min-width:601px) and (max-width:900px){
  .elementor-element-adab13e .e-con-inner{flex-wrap:wrap!important;}
  .elementor-element-adab13e .elementor-element-01da212{width:100%!important;max-width:100%!important;flex:1 0 100%!important;}
  .elementor-element-934a8ce .accordion-button{display:flex!important;align-items:center;width:100%!important;}
  .elementor-element-934a8ce .accordion-button .icon-button{position:static!important;transform:none!important;margin-left:auto!important;flex:0 0 40px;}
}
@media (max-width:1024px){
  .hamburger-nav .force-open-submenu>.sub-menu{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-height:none!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
}
