/* Brand-first playbook form and mobile-first landing treatment. */
#guide-dialog{background:#f8f6f0;border:1px solid #e8dfca;border-radius:24px;width:min(440px,calc(100vw - 24px));box-shadow:0 30px 90px #061222a8}
#guide-dialog .popup-scroll{max-height:calc(100dvh - 24px);overflow:auto}
#guide-dialog .popup-stage{padding:0;text-align:center}
#guide-dialog .popup-visual{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:153px;padding:16px 28px 19px;overflow:hidden;background:radial-gradient(circle at 50% -40%,#445e73 0%,#14283a 42%,#091a2b 100%);color:#fff}
#guide-dialog .popup-visual:before{content:'';position:absolute;inset:-70px 0 auto;height:245px;background:repeating-radial-gradient(circle at 50% 10%,transparent 0 28px,#ffffff13 29px 30px);opacity:.5;z-index:-1}
#guide-dialog .popup-visual:after{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:180px;height:2px;background:linear-gradient(90deg,transparent,#f6c64c,transparent)}
#guide-dialog .popup-wordmark{display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:10px}
#guide-dialog .popup-wordmark img{width:38px;height:38px;border-radius:11px;box-shadow:0 9px 20px #0006}
#guide-dialog .popup-wordmark strong{font:800 20px/1 Outfit,Inter,sans-serif;letter-spacing:-.025em;color:#fff}
#guide-dialog .popup-stage h2{color:#fff;font-size:23px;line-height:1.1;letter-spacing:-.02em;max-width:350px;margin:0 0 6px}
#guide-dialog #guide-description{font-size:12px;line-height:1.4;color:#c9d5dd;max-width:340px;margin:0}
#guide-dialog .popup-fields{padding:18px 24px 17px;background:#f8f6f0}
#guide-dialog .popup-lead-direct{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0;gap:7px;text-align:left}
#guide-dialog .popup-lead-direct label{font-size:12px;line-height:1.2;font-weight:750;color:#213344;gap:4px}
#guide-dialog .popup-lead-direct input{height:43px;padding:8px 12px;border-radius:10px;border:1px solid #c7d0cf;background:#fff;box-shadow:0 2px 8px #1022380b;font-size:16px}
#guide-dialog .popup-lead-direct input:focus{border-color:#b48927;outline:3px solid #f5c74770}
#guide-dialog .popup-primary{width:100%;min-height:47px;border-radius:11px;margin-top:2px;background:#f5c747;color:#152333;font-size:13px;box-shadow:0 10px 21px #5e481923}
#guide-dialog .popup-fineprint{color:#63717a;font-size:10px;line-height:1.3;margin:9px 0 0}
#guide-dialog .popup-lead-direct [role=status]{color:#214935;font-size:12px;line-height:1.3;min-height:0}
#guide-dialog .popup-lead-direct [role=status]:empty{display:none}
#guide-dialog .popup-close{top:10px;right:10px;width:33px;height:33px;border:1px solid #ffffff70;background:#ffffff19;color:#fff;box-shadow:none}
#guide-dialog .popup-close:hover{background:#ffffff34;color:#fff}
#guide-dialog .popup-close:focus-visible{outline:2px solid #f8d973;outline-offset:2px}

@media(max-width:650px){
  .hero{display:block;min-height:0;background:#f8f6f0;color:#142437;overflow:visible}
  .hero-photo{position:relative;z-index:0;inset:auto;width:100%;height:225px;display:block;opacity:1;background-position:64% 41%;background-size:cover}
  .hero-overlay{position:absolute;z-index:0;inset:0 0 auto;height:225px;background:linear-gradient(0deg,#08172494,transparent 67%)}
  .hero:after{display:none}
  .hero-content{width:100%;margin:-27px 0 0;padding:23px 20px 30px;background:#f8f6f0;border-radius:27px 27px 0 0;position:relative;z-index:1;text-align:left;align-items:flex-start}
  .hero-badge{margin-bottom:15px;background:#fff4d3;border-color:#eedda9;color:#725011;backdrop-filter:none;font-size:9px;letter-spacing:.075em}
  .hero-badge span{background:#c58b1e;box-shadow:none}
  .hero h1{color:#112333;font-size:clamp(38px,10vw,46px);line-height:1.02;letter-spacing:-.025em;word-spacing:.05em;max-width:550px;margin-bottom:16px}
  .hero h1 em{color:#b57c10}
  .hero p{color:#4b5d6b;font-size:15px;line-height:1.5;margin-bottom:19px}
  .hero-actions{width:100%;gap:9px}
  .hero-actions .btn{min-height:49px;border-radius:11px;font-size:12px}
  .hero-actions .btn:first-child{min-height:53px}
  .hero-actions .btn-glass{background:#fff;border:1px solid #d7dedf;color:#233543;backdrop-filter:none}
  .hero-actions .btn-glass:hover{background:#f2f4f2}
  .hero small{background:#fff;color:#52616b;border-left:3px solid #e0ad37;border-radius:0 9px 9px 0;font-size:10px;line-height:1.5;margin-top:17px}
  #guide-dialog{width:min(400px,calc(100vw - 20px));border-radius:27px}
  #guide-dialog .popup-visual{min-height:238px;padding:24px 26px 29px}
  #guide-dialog .popup-wordmark{flex-direction:column;gap:8px;margin:0 0 18px}
  #guide-dialog .popup-wordmark img{width:68px;height:68px;border-radius:17px;box-shadow:0 12px 26px #0008}
  #guide-dialog .popup-wordmark strong{font-size:25px}
  #guide-dialog .popup-stage h2{font-size:25px;max-width:310px;margin-bottom:7px}
  #guide-dialog #guide-description{font-size:12px;max-width:300px}
  #guide-dialog .popup-fields{padding:23px 23px 22px}
  #guide-dialog .popup-lead-direct{gap:9px}
  #guide-dialog .popup-lead-direct label{font-size:13px;gap:5px}
  #guide-dialog .popup-lead-direct input{height:48px}
  #guide-dialog .popup-primary{min-height:53px;margin-top:3px;font-size:14px}
  #guide-dialog .popup-fineprint{font-size:11px;margin-top:12px}
  #guide-dialog .popup-close{top:14px;right:14px;width:34px;height:34px}
}
@media(max-width:650px) and (max-height:600px){
  #guide-dialog .popup-visual{min-height:166px;padding:13px 24px 18px}
  #guide-dialog .popup-wordmark{flex-direction:row;gap:9px;margin-bottom:8px}
  #guide-dialog .popup-wordmark img{width:43px;height:43px;border-radius:12px}
  #guide-dialog .popup-wordmark strong{font-size:21px}
  #guide-dialog .popup-stage h2{font-size:22px;margin-bottom:4px}
  #guide-dialog #guide-description{font-size:11px;line-height:1.25}
  #guide-dialog .popup-fields{padding:15px 20px 15px}
  #guide-dialog .popup-lead-direct{gap:6px}
  #guide-dialog .popup-lead-direct label{font-size:12px;gap:3px}
  #guide-dialog .popup-lead-direct input{height:41px}
  #guide-dialog .popup-primary{min-height:45px}
  #guide-dialog .popup-fineprint{margin-top:7px;font-size:10px}
}

/* Match the PestFlow hero's full-bleed, centered treatment on every screen. */
.hero{
  min-height:min(800px,calc(100svh - 76px));
  height:auto;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#0b1725;
  color:#fff;
  text-align:center;
}
.hero-photo{
  position:absolute;
  inset:-3%;
  width:106%;
  height:106%;
  opacity:1;
  background-position:center 52%;
  background-size:cover;
  animation:voltflow-hero-drift 18s ease-in-out infinite alternate;
  transform-origin:center;
}
.hero-overlay{
  position:absolute;
  inset:0;
  height:auto;
  background:linear-gradient(90deg,#0b1725e8,#0b1725c4 52%,#0b172565),linear-gradient(0deg,#0b1725a3,transparent 56%);
}
.hero-content{
  width:min(100% - 36px,970px);
  margin:0 auto;
  padding:100px 0 95px;
  background:transparent;
  border-radius:0;
  align-items:center;
  text-align:center;
}
.hero h1{max-width:940px;color:#fff;font-weight:900;letter-spacing:-.045em;word-spacing:normal}
.hero h1 em{color:#f5c747}
.hero p{max-width:720px;color:#e5ebef}
.hero-actions{justify-content:center}
.hero small{background:#071522b8;color:#e3eaf0;border-left:0;border-top:2px solid #e0ad37;border-radius:9px}
@keyframes voltflow-hero-drift{
  from{transform:scale(1.03) translate3d(-1.5%,0,0)}
  to{transform:scale(1.12) translate3d(1.5%,-1%,0)}
}
@media(max-width:650px){
  .hero{min-height:calc(100svh - 66px)}
  .hero-photo{inset:-3%;width:106%;height:106%;background-position:63% center}
  .hero-overlay{inset:0;height:auto;background:linear-gradient(0deg,#071422ef 0%,#071422c9 58%,#07142273 100%)}
  .hero-content{width:min(100% - 40px,530px);margin:0 auto;padding:78px 0 70px;align-items:center;text-align:center;background:transparent;border-radius:0}
  .hero-badge{color:#fff;background:#ffffff21;border:1px solid #ffffff5a;margin-bottom:22px}
  .hero-badge span{background:#f5c747}
  .hero h1{color:#fff;font-size:clamp(42px,10vw,60px);line-height:1.04;letter-spacing:-.045em;margin-bottom:22px}
  .hero h1 em{color:#f5c747}
  .hero p{color:#e5ebef;font-size:16px;line-height:1.55;margin-bottom:25px}
  .hero-actions{max-width:360px;align-items:stretch}
  .hero-actions .btn-glass{background:#ffffff24;color:#fff;border-color:#ffffff65}
  .hero-actions .btn-glass:hover{background:#ffffff38}
  .hero small{color:#e3eaf0;background:#071522b8;border-left:0;border-top:2px solid #e0ad37;margin-top:22px}
}
@media(prefers-reduced-motion:reduce){.hero-photo{animation:none;transform:none}}
.hero small a{color:#ffe399;text-decoration:underline;text-underline-offset:3px;font-weight:800}
.booking-cta{margin-top:14px}
