:root{--brand:#1F6B3A;--ink:#16261C;--accent:#7EC878;--bg:#F5F8F3;--card:#fff;--line:#D5DDD3;--muted:#5B665E;--soft:#EEF3EC;--err:#B3261E;--r:14px}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.5;-webkit-text-size-adjust:100%}
h1,h2,h3,.brand-name{font-family:Poppins,Inter,sans-serif;line-height:1.2;margin:0}
h1{font-size:26px;font-weight:700}
h2{font-size:18px;font-weight:600;margin-bottom:8px}
a{color:var(--brand)}
button,input,select{font:inherit;color:inherit}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.site-header{background:var(--ink);color:#fff;padding:12px 16px;display:flex;align-items:center;gap:10px}
.site-header .dot{width:28px;height:28px;border-radius:50%;background:var(--accent);display:inline-block;flex:none}
.brand-name{font-size:18px;font-weight:700}
.wrap{max-width:1240px;margin:0 auto;padding:16px}
.intro p{margin:6px 0 14px;color:#2B332D}
.hero{position:relative;border-radius:var(--r);overflow:hidden;margin-bottom:14px;background:var(--ink)}
.hero-img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:50% 75%;background:#cfe0c8}
.hero-text{padding:12px 16px 14px;background:var(--ink)}
.hero-text h1{color:#fff;font-size:22px}
.hero-text p{color:#EAF2E7;margin:6px 0 0;font-size:14px;line-height:1.4}
.services{margin-top:18px}
.tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tiles li{background:var(--card);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.tiles img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#dfe9dc}
.tiles span{display:block;padding:8px 10px;font-weight:600;font-size:14px}
.layout{display:flex;flex-direction:column;gap:14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px}
label{font-weight:600;font-size:14px;display:block;margin-bottom:6px}
input[type=text],input[type=tel],input[type=email],input[type=search]{width:100%;height:48px;border:1px solid var(--line);border-radius:10px;padding:0 14px;background:#fff;font-size:16px}
input:focus-visible,button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.field{margin-bottom:12px;position:relative}
.field .err{color:var(--err);font-size:13px;margin-top:4px;min-height:0}
.field.invalid input{border-color:var(--err)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:0 16px;border-radius:10px;border:1px solid var(--brand);background:var(--brand);color:#fff;font-weight:600;cursor:pointer;font-size:15px}
.btn.secondary{background:#fff;color:var(--brand)}
.btn.ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.btn.active{background:var(--accent);border-color:var(--accent);color:var(--ink)}
.btn.block{width:100%}
.suggest{list-style:none;margin:4px 0 0;padding:4px;border:1px solid var(--line);border-radius:10px;background:#fff;position:absolute;left:0;right:0;z-index:1200;box-shadow:0 8px 24px rgba(22,38,28,.15);max-height:300px;overflow:auto}
.suggest li{padding:10px 12px;border-radius:8px;cursor:pointer;font-size:15px}
.suggest li small{display:block;color:var(--muted);font-size:12px}
.suggest li[aria-selected=true],.suggest li:hover{background:var(--soft)}
.map-card{padding:0;overflow:hidden}
.map-wrap{position:relative}
#map{height:58vh;min-height:330px;max-height:640px;background:#22302A}
.map-hint{position:absolute;left:54px;right:10px;top:10px;z-index:900;background:rgba(22,38,28,.88);color:#fff;border-radius:10px;padding:8px 12px;font-size:14px;pointer-events:none}
.map-hint:empty{display:none}
.tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px}
.tools .btn{flex:1 1 auto;min-width:0;font-size:14px;padding:0 12px}
.tools .primary{flex:1 1 100%}
.parcel-note{font-size:13px;color:var(--muted);padding:0 12px 12px;margin:0}
.areas{list-style:none;margin:0;padding:0 12px 12px;display:flex;flex-wrap:wrap;gap:6px}
.areas li{background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:4px 6px 4px 12px;font-size:14px;display:flex;align-items:center;gap:6px}
.areas button{border:0;background:#fff;border-radius:50%;width:28px;height:28px;cursor:pointer;font-size:16px;line-height:1}
.price .total{font-family:Poppins,sans-serif;font-size:15px;color:var(--muted);margin-bottom:10px}
.price .total b{color:var(--ink);font-size:20px}
.tiers{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tier{border:2px solid var(--line);border-radius:12px;padding:12px;text-align:left;background:#fff;cursor:pointer}
.tier[aria-pressed=true]{border-color:var(--brand);background:var(--soft)}
.tier .t-label{font-weight:600;font-size:14px}
.tier .t-amt{font-family:Poppins,sans-serif;font-weight:700;font-size:28px;color:var(--brand);line-height:1.15}
.tier .t-amt small{font-size:13px;color:var(--ink);font-weight:600}
.tier .t-mo{font-size:13px;color:#2B332D}
.confirm{background:var(--soft);border-radius:12px;padding:14px;font-weight:600}
.fine{font-size:12px;color:var(--muted);margin:10px 0 0}
.included{font-size:14px;margin:10px 0 0}
.muted{color:var(--muted)}
.ok{background:#E7F5EA;border:1px solid var(--accent);border-radius:10px;padding:10px 12px;margin-top:10px;font-size:14px}
.warn{background:#FFF6DA;border:1px solid #E7C65A;border-radius:10px;padding:10px 12px;margin-top:10px;font-size:14px}
.row{display:flex;gap:8px;align-items:flex-start}
.row .field{flex:1;margin-bottom:0}
.row .btn{flex:none}
.svc-field{border:0;margin:0 0 12px;padding:0;min-width:0}
.svc-field legend{font-weight:600;font-size:14px;margin-bottom:6px;padding:0}
.svc-field legend .muted{font-weight:400;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative;display:inline-flex;margin:0;font-weight:600;font-size:14px;cursor:pointer}
.chip input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.chip span{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border:2px solid var(--line);border-radius:999px;background:#fff;user-select:none}
.chip span::before{content:'+';font-weight:700;color:var(--muted);width:12px;text-align:center}
.chip input:checked + span{border-color:var(--brand);background:var(--soft);color:var(--ink)}
.chip input:checked + span::before{content:'\2713';color:var(--brand)}
.chip input:focus-visible + span{outline:3px solid var(--accent);outline-offset:2px}
.svc-field.invalid .chip span{border-color:var(--err)}
.svc-field .err{color:var(--err);font-size:13px;margin-top:4px}
.svc-line{font-size:14px;margin:6px 0 0}
.check{display:flex;gap:8px;align-items:flex-start;font-weight:400;font-size:14px}
.check input{width:20px;height:20px;margin-top:2px}
.devflag{margin:14px auto 0;width:max-content;background:#FFF6DA;border:1px solid #E7C65A;color:#5a4500;font-size:12px;border-radius:8px;padding:6px 10px;max-width:260px}
.hidden{display:none!important}
.leaflet-container{font-family:Inter,sans-serif}
.leaflet-control-attribution{font-size:10px}
body.embed{background:transparent}
body.embed .site-header{display:none}
body.embed .wrap{padding:8px}
@media (min-width:900px){
  h1{font-size:32px}
  .hero{height:340px}
  .hero-img{position:absolute;inset:0;height:100%;aspect-ratio:auto;object-position:50% 80%}
  .hero-text{position:absolute;left:0;right:0;bottom:0;padding:80px 28px 22px;background:linear-gradient(to top,rgba(10,24,14,.85),rgba(10,24,14,.55) 60%,rgba(10,24,14,0))}
  .hero-text h1{text-shadow:0 1px 3px rgba(0,0,0,.4)}
  .hero-text h1{font-size:34px}
  .hero-text p{font-size:16px}
  .tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
  .tiles span{font-size:15px;padding:10px 12px}
  .layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr);align-items:start}
  .col-main{grid-column:1}
  .col-side{grid-column:2;display:flex;flex-direction:column;gap:14px}
  #map{height:600px}
  .tools .primary{flex:0 1 auto}
}

/* Turnstile (invisible unless a check is needed) */
.ts:empty{display:none}
.ts{margin-top:10px}
/* embed on phones: one finger scrolls the page, two fingers move the map */
.map-2f{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(22,38,28,.55);color:#fff;font:600 15px/1.3 Inter,system-ui,sans-serif;z-index:1000;pointer-events:none;text-align:center;padding:16px}
.map-2f.hidden{display:none}

/* Bigger map while drawing/adjusting on phones; bigger, easier-to-hit points on touch screens */
@media (max-width:899px){
  body.map-big #map{height:72vh;min-height:420px;max-height:none}
  html.embed body.map-big #map, body.embed.map-big #map{height:600px}
}
@media (pointer:coarse){
  .leaflet-container .marker-icon{width:22px !important;height:22px !important;margin:-11px 0 0 -11px !important;border:2px solid #1F6B3A;box-shadow:0 1px 3px rgba(0,0,0,.5)}
  .leaflet-container .marker-icon::after{content:'';position:absolute;left:-12px;top:-12px;right:-12px;bottom:-12px;border-radius:50%}
  .leaflet-container .marker-icon-middle{width:14px !important;height:14px !important;margin:-7px 0 0 -7px !important}
  .leaflet-container .marker-icon-middle::after{left:-8px;top:-8px;right:-8px;bottom:-8px}
}
