/* App-like intake: one question per screen, full screen on phones, sheet on desktop. */
html.contact-guide-open,html.contact-guide-open body{overflow:hidden}
.contact-guide-open .game-effects,.contact-guide-open .ambient-ant-layer,.contact-guide-open .game-cursor,.contact-guide-open .game-toast{visibility:hidden}
.contact-guide{--ink:#16302a;--muted:#62726a;--line:#e3e9e4;--soft:#f3f6f2;--green:#1f5b43;--accent:#ed612e;--wa:#1faa59;
 width:min(520px,calc(100% - 32px));max-width:none;height:min(760px,calc(100dvh - 32px));max-height:none;margin:auto;padding:0;border:0;border-radius:28px;background:#fff;color:var(--ink);box-shadow:0 30px 100px #0b1d1666;overflow:hidden;font-family:Arial,Helvetica,sans-serif}
.contact-guide[open]{animation:guide-in .32s cubic-bezier(.2,.8,.2,1)}
.contact-guide::backdrop{background:#0e211bc4;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.guide-shell{display:flex;flex-direction:column;height:100%}

/* Top bar */
.guide-top{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:14px;padding:16px 16px 6px;flex-shrink:0}
.guide-icon-button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--ink)}
.guide-icon-button:hover{background:var(--soft)}
.guide-bar{height:4px;border-radius:4px;background:var(--line);overflow:hidden}
.guide-bar span{display:block;height:100%;width:25%;border-radius:inherit;background:var(--accent);transition:width .45s cubic-bezier(.2,.8,.2,1)}
.guide-meta{display:flex;justify-content:space-between;align-items:center;padding:4px 28px 0;min-height:44px;flex-shrink:0}
.guide-step-count{font-size:12px;font-weight:700;letter-spacing:.4px;color:var(--muted)}
.guide-skip{border:0;background:none;padding:10px 0 10px 14px;min-height:44px;font-size:14px;font-weight:700;color:var(--green)}
.guide-skip:hover{text-decoration:underline}.guide-skip[hidden]{display:none}

/* Content */
.guide-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 28px 24px}
.guide-step[hidden],.guide-other[hidden],.guide-locate[hidden],.guide-footer [hidden]{display:none}
.guide-step.enter-forward{animation:guide-step-forward .34s cubic-bezier(.2,.8,.2,1)}
.guide-step.enter-back{animation:guide-step-back .34s cubic-bezier(.2,.8,.2,1)}
.contact-guide h2{font-size:30px;line-height:1.12;letter-spacing:-1px;margin:0 0 12px;font-weight:800}.contact-guide h2:focus{outline:none}
.guide-description{font-size:16px;color:var(--muted);line-height:1.5;margin:0 0 26px}

/* Pest tiles */
.guide-pests{border:0;padding:0;margin:0;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.guide-pest{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 6px 12px;border:1.5px solid var(--line);border-radius:18px;background:#fff;cursor:pointer;text-align:center;transition:border-color .2s,background .2s,transform .15s}
.guide-pest:active{transform:scale(.97)}
.guide-pest input{position:absolute;opacity:0;pointer-events:none}
.guide-pest-img{width:52px;height:52px;border-radius:14px;display:block;position:static!important;transform:none!important;flex-shrink:0}
.guide-other-icon{display:grid;place-items:center;background:var(--soft);font-size:28px;color:var(--green)}
.guide-pest-name{font-size:12.5px;font-weight:700;line-height:1.25}
.guide-pest i{position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;border:1.5px solid #cdd8cf;background:#fff;transition:.2s}
.guide-pest.is-selected{border-color:var(--green);background:#eef6f0}
.guide-pest.is-selected i{background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;border-color:var(--green)}
.guide-pest:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}

/* Fields */
.guide-field,.guide-other{display:block;margin:0 0 16px}
.guide-field>span,.guide-other>label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin:0 0 8px}
.guide-field input,.guide-field textarea,.guide-other input{display:block;width:100%;padding:16px;border:1.5px solid #cfdad2;border-radius:16px;background:#fff;color:var(--ink);font:17px/1.4 Arial,sans-serif;min-height:56px;transition:border-color .2s,box-shadow .2s}
.guide-field textarea{resize:none}
.guide-field input:focus,.guide-field textarea:focus,.guide-other input:focus{border-color:var(--green);box-shadow:0 0 0 4px #1f5b4320;outline:none}
.guide-other{margin-top:16px}

/* List options (location, deadline) */
.guide-urgency{border:0;padding:0;margin:0;display:grid;gap:10px}
.guide-option{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;min-height:72px;border:1.5px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);text-align:left;cursor:pointer;transition:border-color .2s,background .2s,transform .15s}
.guide-option:active{transform:scale(.985)}
.guide-option:hover{border-color:#b9cbbd}
.guide-option>span:not(.guide-option-icon){flex:1;min-width:0}
.guide-option strong{display:block;font-size:16px}.guide-option small{display:block;font-size:13px;color:var(--muted);margin-top:3px}
.guide-option-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--green);flex-shrink:0}
.guide-option>svg{color:#9aa8a0;flex-shrink:0}
.guide-option input{position:absolute;opacity:0;pointer-events:none}
.guide-option i{width:22px;height:22px;border-radius:50%;border:1.5px solid #c4d1c7;flex-shrink:0;transition:.2s}
.guide-option:has(input:checked){border-color:var(--green);background:#eef6f0}
.guide-option:has(input:checked) i{border:7px solid var(--green)}
.guide-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.guide-locate:disabled{opacity:.6;cursor:wait}
.guide-location-status{font-size:13px;line-height:1.5;color:var(--muted);margin:10px 0 0}.guide-location-status:empty{display:none}

/* Property type: three big tiles */
.guide-property{border:0;padding:0;margin:0 0 14px;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.guide-property label{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px;border:1.5px solid var(--line);border-radius:16px;cursor:pointer;color:var(--green);text-align:center;transition:border-color .2s,background .2s,transform .15s}
.guide-property label:active{transform:scale(.97)}
.guide-property input{position:absolute;opacity:0;pointer-events:none}
.guide-property span{font-size:13px;font-weight:700;color:var(--ink)}
.guide-property label:has(input:checked){border-color:var(--green);background:#eef6f0}
.guide-property label:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}

/* 3D floor preview */
.guide-space{--tilt:55deg;--spin:-30deg;position:relative;height:220px;display:flex;align-items:center;justify-content:center;perspective:650px;background:radial-gradient(ellipse,#fcfaf2,#dee3d4);border:1px solid #a9b59a60;border-radius:18px;cursor:grab;touch-action:none;overflow:hidden;user-select:none;-webkit-user-select:none}
.guide-space:active{cursor:grabbing}
.guide-space:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.guide-floor{position:relative;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;transform:rotateX(var(--tilt)) rotateZ(var(--spin));width:180px;height:180px;background:repeating-linear-gradient(0deg,transparent 0 18px,#ffffff55 18px 19px),repeating-linear-gradient(90deg,#8caf79 0 18px,#b9ce9e 18px 19px);border:3px solid #234e35;box-shadow:1px 1px #42623b,2px 2px #42623b,3px 3px #42623b,4px 4px #42623b,5px 5px #42623b,12px 20px 20px #203e3833;display:grid;place-items:center;transition:width .25s,height .25s}
.guide-floor-area{font-size:20px;white-space:nowrap;color:#153522;background:#f6f9e4cc;padding:4px 6px;border-radius:4px}
.guide-floor-front,.guide-floor-depth{position:absolute;font-size:11px;font-weight:700;white-space:nowrap;background:#fff9ec;padding:3px 7px;border-radius:4px;color:#203e38}
.guide-floor-front{top:100%;left:50%;transform:translateX(-50%);margin-top:10px}
.guide-floor-depth{left:100%;top:50%;transform:translate(-30%,-50%) rotate(90deg);margin-left:14px}
.guide-space-hint{position:absolute;left:0;right:0;bottom:8px;text-align:center;font-size:11.5px;color:#5f6c56;transition:opacity .3s}
.guide-space.was-dragged .guide-space-hint{opacity:0}

/* Measures with +/− steppers */
.guide-dims{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:8px;margin-top:14px}
.guide-times{padding-bottom:16px;color:var(--muted);font-weight:700}
.guide-dim label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin:0 0 6px}
.guide-stepper{display:flex;align-items:center;border:1.5px solid #cfdad2;border-radius:16px;overflow:hidden;min-height:52px;background:#fff}
.guide-stepper:focus-within{border-color:var(--green);box-shadow:0 0 0 4px #1f5b4320}
.guide-stepper button{width:40px;align-self:stretch;border:0;background:var(--soft);color:var(--green);font-size:20px;font-weight:700;flex-shrink:0}
.guide-stepper button:active{background:#e1ebe3}
.guide-stepper input{flex:1;min-width:0;width:100%;border:0;padding:0 2px;text-align:right;font:700 17px Arial,sans-serif;color:var(--ink);background:none;-moz-appearance:textfield;appearance:textfield}
.guide-stepper input::-webkit-inner-spin-button,.guide-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.guide-stepper input:focus{outline:none}
.guide-stepper input[aria-invalid=true]{color:#b13a1f}
.guide-stepper>span{padding:0 6px 0 3px;font-size:14px;color:var(--muted)}
.guide-area-total{margin:12px 0 0;text-align:center;font-size:15px;color:var(--muted)}
.guide-area-total strong{color:var(--ink);font-size:18px}

/* Address */
.guide-address-field{position:relative}
.guide-address-field>label{display:block;font-size:13px;font-weight:700;color:var(--muted);margin:0 0 8px}
.guide-address-wrap{position:relative}
.guide-address-wrap>span{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--green);display:flex;pointer-events:none}
.guide-field .guide-address-wrap input{padding-left:46px;padding-right:46px}
.guide-address-clear{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:40px;height:40px;border:0;border-radius:50%;background:none;color:var(--muted);display:grid;place-items:center}
.guide-address-clear svg{width:18px;height:18px}.guide-address-clear[hidden]{display:none}
.guide-suggestions{list-style:none;margin:6px 0 0;padding:6px;border:1.5px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 30px #0b1d1614}
.guide-suggestions[hidden]{display:none}
.guide-suggestions li{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 10px;border-radius:10px;font-size:15px;cursor:pointer}
.guide-suggestions li span{display:flex;color:#9aa8a0}.guide-suggestions li svg{width:18px;height:18px}
.guide-suggestions li:hover,.guide-suggestions li.is-active{background:var(--soft)}
.guide-locate{display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px;border:1.5px dashed #b9cbbd;border-radius:18px;background:#fff;color:var(--ink);text-align:left;transition:background .2s,transform .15s}
.guide-locate:hover{background:var(--soft)}.guide-locate:active{transform:scale(.985)}
.guide-locate>span:last-child{flex:1;min-width:0}
.guide-locate strong{display:block;font-size:16px}.guide-locate small{display:block;font-size:13px;color:var(--muted);margin-top:3px}
.guide-map{margin:0;border:1.5px solid var(--line);border-radius:18px;overflow:hidden}
.guide-map[hidden]{display:none}
.guide-map iframe{display:block;width:100%;height:170px;border:0;pointer-events:none;background:var(--soft)}
.guide-map figcaption{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#eef6f0;color:var(--green);font-size:14px;font-weight:700}
.guide-map figcaption>span:first-child{display:flex}.guide-map figcaption svg{width:18px;height:18px}
.guide-map figcaption>span:nth-child(2){flex:1}
.guide-map button{border:0;background:none;color:var(--green);font-size:13px;font-weight:700;text-decoration:underline;min-height:40px;padding:0 4px}

/* Notes */
.guide-field em{font-style:normal;font-weight:400;margin-left:4px}
.guide-notes{margin-top:14px}
.guide-notes summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:700;color:var(--green)}
.guide-notes summary::-webkit-details-marker{display:none}
.guide-notes[open] summary{color:var(--muted)}
.guide-notes textarea{display:block;width:100%;padding:14px 16px;border:1.5px solid #cfdad2;border-radius:16px;font:16px/1.4 Arial,sans-serif;color:var(--ink);resize:none}
.guide-notes textarea:focus{border-color:var(--green);box-shadow:0 0 0 4px #1f5b4320;outline:none}

/* Review */
.guide-review{list-style:none;margin:8px 0 0;padding:0;border:1.5px solid var(--line);border-radius:18px;overflow:hidden}
.guide-review li+li{border-top:1px solid var(--line)}
.guide-review button{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border:0;background:#fff;text-align:left;color:var(--ink)}
.guide-review button:hover{background:var(--soft)}
.guide-review span{flex:1;min-width:0;overflow-wrap:anywhere}
.guide-review small{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
.guide-review strong{font-size:15px;line-height:1.35}
.guide-review em{font-style:normal;font-size:13px;font-weight:700;color:var(--green)}

/* Success */
.guide-done{text-align:center;padding-top:28px}
.guide-done-badge{width:88px;height:88px;margin:0 auto 26px;border-radius:50%;display:grid;place-items:center;background:var(--wa);color:#fff;box-shadow:0 0 0 12px #1faa591f;animation:guide-pop .5s cubic-bezier(.2,1.4,.4,1)}
.guide-done-badge svg{width:44px;height:44px}
.guide-next-steps{list-style:none;margin:8px auto 0;padding:0;max-width:320px;text-align:left;display:grid;gap:14px}
.guide-next-steps li{display:flex;align-items:center;gap:12px;font-size:15px}
.guide-next-steps b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--green);font-size:13px;flex-shrink:0}
.contact-guide.is-done .guide-bar span{background:var(--wa)}

.guide-error{color:#b13a1f;font-size:14px;line-height:1.45;margin:16px 0 0;font-weight:600}.guide-error:empty{display:none}

/* Footer */
.guide-footer{flex-shrink:0;display:grid;gap:10px;padding:14px 28px 18px;border-top:1px solid var(--line);background:#fff}
.guide-primary,.guide-secondary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;padding:14px 18px;border-radius:999px;font-size:16px;font-weight:800;transition:background .2s,transform .15s}
.guide-primary:active,.guide-secondary:active{transform:scale(.98)}
.guide-primary{border:0;background:var(--ink);color:#fff}.guide-primary:hover{background:#244a3f}
.guide-primary.is-whatsapp{background:var(--wa)}.guide-primary.is-whatsapp:hover{background:#17924b}
.guide-secondary{border:1.5px solid #cbd8ce;background:#fff;color:var(--ink);font-size:15px}.guide-secondary:hover{background:var(--soft)}
.guide-direct svg{color:var(--wa)}
.guide-trust{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 14px;margin:2px 0 0;font-size:11.5px;color:var(--muted)}
.guide-trust span::before{content:"✓ ";color:var(--wa);font-weight:800}

.contact-guide button:focus-visible,.contact-guide summary:focus-visible,.contact-guide input:focus-visible,.contact-guide textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

@keyframes guide-in{from{opacity:0;transform:translateY(24px) scale(.98)}}
@keyframes guide-step-forward{from{opacity:0;transform:translateX(28px)}}
@keyframes guide-step-back{from{opacity:0;transform:translateX(-28px)}}
@keyframes guide-pop{from{transform:scale(.4);opacity:0}}

/* Phones: native full-screen flow */
@media(max-width:560px){
 .contact-guide{width:100%;height:100%;height:100dvh;max-height:none;border-radius:0;margin:0;box-shadow:none}
 .contact-guide[open]{animation-name:guide-in-mobile}
 .guide-top{padding:max(10px,env(safe-area-inset-top)) 8px 4px}
 .guide-meta{padding:2px 20px 0}.guide-content{padding:8px 20px 20px}
 .contact-guide h2{font-size:27px}.guide-description{font-size:15px;margin-bottom:22px}
 .guide-pests{gap:8px}.guide-pest{padding:12px 4px 10px;border-radius:16px}.guide-pest-img{width:46px;height:46px}.guide-pest-name{font-size:12px}
 .guide-footer{padding:12px 20px max(14px,env(safe-area-inset-bottom))}
 .guide-space{height:190px}.guide-stepper button{width:36px}
 @keyframes guide-in-mobile{from{transform:translateY(100%)}}
}
@media(prefers-reduced-motion:reduce){
 .contact-guide[open],.guide-step.enter-forward,.guide-step.enter-back,.guide-done-badge{animation:none}
 .guide-bar span{transition:none}
}

/* Animated welcome: the brand mark assembles, then the invitation appears. */
.guide-shell{position:relative}
.guide-intro{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;padding:56px 28px max(32px,env(safe-area-inset-bottom));text-align:center;background:radial-gradient(circle at 50% 30%,#fde5d9 0,#fff7f1 34%,#fff 64%);overflow-y:auto;overflow-x:hidden}
.guide-intro::before,.guide-intro::after{content:"";flex:1 0 0}
.guide-intro-close{position:absolute;top:max(14px,env(safe-area-inset-top));right:14px;z-index:1}
.guide-intro[hidden]{display:none}
.guide-intro.is-leaving{animation:intro-out .38s cubic-bezier(.4,0,.2,1) forwards}
.guide-intro-brand{display:flex;align-items:center;gap:14px;margin-bottom:30px}
.guide-intro-mark{width:84px;height:84px;overflow:visible;filter:drop-shadow(0 14px 22px #ed612e40);animation:intro-float 3s ease-in-out 1.4s infinite}
.guide-intro-mark *{transform-box:fill-box;transform-origin:center}
.mark-tile{animation:intro-tile .6s cubic-bezier(.2,1.5,.4,1) both}
.mark-d{animation:intro-d .45s cubic-bezier(.2,1.2,.4,1) .3s both}
.mark-arrow{transform-origin:0 100%;animation:intro-arrow .55s cubic-bezier(.2,1.6,.4,1) .55s both}
.guide-intro-word{margin:0;display:grid;text-align:left;font:900 25px/1.02 Arial,Helvetica,sans-serif;color:#203e38;letter-spacing:1.5px}
.guide-intro-word span{display:block;overflow:hidden}
.guide-intro-word b{display:block;animation:intro-word .55s cubic-bezier(.2,.8,.2,1) both}
.guide-intro-word span:first-child b{animation-delay:.75s}.guide-intro-word span:last-child b{animation-delay:.87s;letter-spacing:.3px}
.guide-intro-kicker{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--accent);animation:intro-up .5s cubic-bezier(.2,.8,.2,1) 1.05s both}
.contact-guide .guide-intro h2{margin:0 0 10px;font-size:30px;animation:intro-up .5s cubic-bezier(.2,.8,.2,1) 1.15s both}
.guide-intro-text{max-width:340px;margin:0 0 20px;font-size:16px;line-height:1.5;color:var(--muted);animation:intro-up .5s cubic-bezier(.2,.8,.2,1) 1.25s both}
.guide-intro-pills{list-style:none;margin:0 0 30px;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.guide-intro-pills li{padding:7px 12px;border-radius:999px;background:#eef6f0;color:var(--green);font-size:13px;font-weight:700;animation:intro-pop .4s cubic-bezier(.2,1.4,.4,1) both}
.guide-intro-pills li:nth-child(1){animation-delay:1.4s}.guide-intro-pills li:nth-child(2){animation-delay:1.5s}.guide-intro-pills li:nth-child(3){animation-delay:1.6s}
.guide-intro-start{display:flex;align-items:center;justify-content:center;width:100%;max-width:320px;min-height:56px;padding:14px 18px;border:0;border-radius:999px;background:var(--accent);color:#fff;font-size:16px;font-weight:800;animation:intro-up .5s cubic-bezier(.2,.8,.2,1) 1.7s both;transition:background .2s}
.guide-intro-direct{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:320px;min-height:52px;margin-top:12px;padding:12px 18px;border:1.5px solid #cbd8ce;border-radius:999px;background:#fff;color:var(--ink);font-size:15px;font-weight:800;animation:intro-up .5s cubic-bezier(.2,.8,.2,1) 1.85s both;transition:background .2s,transform .15s}
.guide-intro-direct:hover{background:var(--soft)}.guide-intro-direct:active{transform:scale(.98)}.guide-intro-direct svg{color:var(--wa);flex-shrink:0}
.guide-intro-start:hover{background:#d9531f}.guide-intro-start:active{transform:scale(.98)}
@keyframes intro-tile{from{transform:scale(0) rotate(-35deg);opacity:0}}
@keyframes intro-d{from{transform:scale(.3);opacity:0}}
@keyframes intro-arrow{from{transform:translate(-60%,60%) scale(.4);opacity:0}}
@keyframes intro-float{50%{transform:translateY(-5px)}}
@keyframes intro-word{from{transform:translateY(105%)}}
@keyframes intro-up{from{opacity:0;transform:translateY(14px)}}
@keyframes intro-pop{from{opacity:0;transform:scale(.6)}}
@keyframes intro-out{to{opacity:0;transform:scale(1.04)}}
@media(max-width:560px){.guide-intro-mark{width:72px;height:72px}.guide-intro-word{font-size:22px}.contact-guide .guide-intro h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){
 .guide-intro *,.guide-intro.is-leaving{animation:none!important}
}
