/* Yasapo Blocks — dark homepage design. Scoped to .yd so the theme's CSS stays out. */

.yd{
  --yd-bg:#0f1714;--yd-bg2:#16211c;--yd-fg:#eef2ec;--yd-muted:#a3b3a8;--yd-line:#2a3630;
  --yd-frog:#8fcb52;--yd-amber:#f59a3c;
  --yd-display:"Bricolage Grotesque","IBM Plex Sans",system-ui,sans-serif;
  --yd-body:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --yd-wrap:1180px;--yd-gap:clamp(1.25rem,3vw,2.5rem);
  background:var(--yd-bg);color:var(--yd-fg);
  font:400 1.0625rem/1.55 var(--yd-body);
  -webkit-font-smoothing:antialiased;
  margin:0;
}
.yd.yd-tone-2{background:var(--yd-bg2)}
.yd *,.yd *::before,.yd *::after{box-sizing:border-box}
.yd img{max-width:100%;height:auto;border:0}
.yd a{color:var(--yd-frog);text-decoration:underline;text-underline-offset:.16em;transition:none}
.yd a:hover{color:#fff}
.yd :focus-visible{outline:3px solid var(--yd-amber);outline-offset:3px}
.yd .yd-wrap{width:min(var(--yd-wrap),100% - 2*var(--yd-gap));margin-inline:auto}
.yd h1,.yd h2,.yd h3{font-family:var(--yd-display);font-weight:700;line-height:1.05;letter-spacing:-.015em;margin:0;padding:0;color:#fff;text-transform:none}
.yd h1{font-size:clamp(2.6rem,6.2vw,4.75rem);font-weight:800;letter-spacing:-.03em;line-height:.98;font-variation-settings:"opsz" 96;max-width:11em}
.yd h2{font-size:clamp(1.85rem,3.4vw,2.75rem);font-variation-settings:"opsz" 72}
.yd h3{font-size:1.25rem;font-variation-settings:"opsz" 24}
.yd p{margin:0;padding:0;color:inherit;font-size:inherit;line-height:inherit}
.yd ul,.yd ol{margin:0;padding:0;list-style:none}
.yd li{margin:0;padding:0}

/* Blocks */
.yd-block{padding:clamp(3.5rem,8vw,6.5rem) 0}
.yd .yd-sec-head{max-width:40em;margin-bottom:clamp(1.75rem,4vw,3rem)}
.yd .yd-sec-head p{margin-top:.8rem;color:var(--yd-muted);font-size:1.05rem}
.yd .yd-note{margin-top:1.25rem;color:var(--yd-muted);font-size:.95rem}

/* Buttons */
.yd .yd-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.9rem 1.4rem;border-radius:4px;font:600 1rem/1 var(--yd-body);text-decoration:none;border:2px solid transparent;cursor:pointer;line-height:1;text-transform:none;letter-spacing:0;box-shadow:none}
.yd .yd-btn-primary{background:var(--yd-amber);color:#1a1208;border-color:var(--yd-amber)}
.yd .yd-btn-primary:hover{background:#ffad55;border-color:#ffad55;color:#1a1208}
.yd .yd-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.yd .yd-btn-ghost:hover{background:#fff;color:var(--yd-bg);border-color:#fff}

/* ---------- Hero slider ---------- */
.yd-hero{position:relative;min-height:var(--yd-hero-h,88vh);display:flex;align-items:flex-end;overflow:hidden;isolation:isolate;padding:0}
.yd-hero .yd-slides{position:absolute;inset:0;z-index:-2;background:var(--yd-bg2)}
.yd-hero .yd-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .9s ease;pointer-events:none}
.yd-hero .yd-slide.is-active{opacity:1;pointer-events:auto}
.yd-hero .yd-slide img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.yd-hero .yd-slide figcaption{position:absolute;top:4.25rem;right:var(--yd-gap);font-size:.85rem;color:rgba(255,255,255,.8);background:rgba(15,23,20,.55);padding:.3rem .65rem;border-radius:3px;z-index:1}
.yd-hero .yd-slide-empty figcaption{top:50%;right:50%;transform:translate(50%,-50%);border:2px dashed var(--yd-line);background:none;color:var(--yd-muted);font-size:1rem}
.yd-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(15,23,20,calc(var(--yd-shade,.6)*1.5)) 0%,rgba(15,23,20,var(--yd-shade,.6)) 45%,rgba(15,23,20,calc(var(--yd-shade,.6)*.4)) 100%),
    linear-gradient(180deg,rgba(15,23,20,.1) 0%,rgba(15,23,20,0) 40%,rgba(15,23,20,.95) 100%)}
.yd-hero .yd-hero-inner{position:relative;padding:clamp(4rem,10vw,7rem) 0 clamp(2rem,4vw,3rem)}
.yd .yd-lede{font-size:clamp(1.1rem,1.6vw,1.3rem);line-height:1.5;max-width:32em;margin-top:1.5rem;color:#d5ded8}
.yd .yd-cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:2rem}
.yd .yd-trust{display:flex;flex-wrap:wrap;margin-top:clamp(2.5rem,6vw,4rem);border-top:1px solid rgba(255,255,255,.18)}
.yd .yd-trust li{display:flex;align-items:center;gap:.8rem;padding:1.1rem 1.5rem 0 0;margin-right:1.5rem;font-size:.95rem;line-height:1.3;border-right:1px solid rgba(255,255,255,.18)}
.yd .yd-trust li:last-child{border-right:0;margin-right:0}
.yd .yd-trust-logo img{height:36px;width:auto;display:block;filter:brightness(0) invert(1)}
.yd .yd-trust-txt{display:flex;flex-direction:column}
.yd .yd-trust strong{font-weight:600;color:#fff}
.yd .yd-trust span span{color:var(--yd-muted)}
.yd-hero .yd-slider-ui{position:absolute;right:var(--yd-gap);top:1rem;width:auto;margin:0;display:flex;align-items:center;gap:.5rem;z-index:2}
.yd-hero .yd-arrow{width:2.4rem;height:2.4rem;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);background:rgba(15,23,20,.45);color:#fff;font:600 1.1rem/1 var(--yd-body);cursor:pointer;display:grid;place-items:center;padding:0}
.yd-hero .yd-arrow:hover{background:#fff;color:var(--yd-bg)}
.yd-hero .yd-dots{display:flex;gap:.45rem;padding:0 .3rem}
.yd-hero .yd-dots button{width:.6rem;height:.6rem;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.45);cursor:pointer}
.yd-hero .yd-dots button[aria-current="true"]{background:#fff;transform:scale(1.35)}
@media (max-width:700px){
  .yd .yd-trust li{border-right:0;width:100%;padding-right:0;margin-right:0}
  .yd-hero .yd-slide figcaption{top:3.6rem;font-size:.8rem}
  .yd-hero .yd-slider-ui{top:.75rem}
}
@media (prefers-reduced-motion:reduce){.yd-hero .yd-slide{transition:none}}

/* ---------- Services ---------- */
.yd .yd-services{display:grid;grid-template-columns:1fr 1fr;gap:0 clamp(2rem,5vw,4.5rem);border-top:1px solid var(--yd-line)}
.yd .yd-services li{padding:1.5rem 0;border-bottom:1px solid var(--yd-line)}
.yd .yd-services h3 a{color:#fff;text-decoration:none}
.yd .yd-services h3 a:hover{color:var(--yd-frog);text-decoration:underline}
.yd .yd-services p{margin-top:.4rem;color:#c5d0c9;font-size:.98rem}
@media (max-width:800px){.yd .yd-services{grid-template-columns:1fr}}

/* ---------- Work mosaic ---------- */
.yd .yd-mosaic{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:minmax(180px,22vw);gap:.6rem}
.yd .yd-mosaic figure{position:relative;margin:0;overflow:hidden;background:var(--yd-bg2)}
.yd .yd-mosaic-feature figure:first-child{grid-column:span 2;grid-row:span 2}
.yd .yd-mosaic a{display:block;height:100%}
.yd .yd-mosaic img{width:100%;height:100%;object-fit:cover;display:block}
.yd .yd-mosaic figcaption{position:absolute;left:0;right:0;bottom:0;padding:2.5rem 1rem .9rem;background:linear-gradient(180deg,rgba(15,23,20,0),rgba(15,23,20,.9));color:#fff;font-size:.92rem;line-height:1.35}
@media (max-width:800px){.yd .yd-mosaic{grid-template-columns:1fr 1fr;grid-auto-rows:minmax(160px,42vw)}}

/* ---------- Steps ---------- */
.yd .yd-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--yd-gap);position:relative;counter-reset:none}
.yd .yd-steps::before{content:"";position:absolute;left:0;right:0;top:.55rem;height:2px;background:var(--yd-line)}
.yd .yd-steps li{position:relative;padding-top:1.6rem}
.yd .yd-steps li::before{content:"";position:absolute;left:0;top:0;width:1.1rem;height:1.1rem;border-radius:50%;background:var(--yd-frog);border:3px solid var(--yd-bg)}
.yd.yd-tone-2 .yd-steps li::before{border-color:var(--yd-bg2)}
.yd .yd-steps h3{font-size:1.15rem}
.yd .yd-steps p{margin-top:.5rem;color:#c5d0c9;font-size:.98rem}
@media (max-width:900px){.yd .yd-steps{grid-template-columns:1fr 1fr}.yd .yd-steps::before{display:none}}
@media (max-width:520px){.yd .yd-steps{grid-template-columns:1fr}}

/* ---------- Reviews ---------- */
.yd .yd-sources{display:flex;flex-wrap:wrap;gap:.6rem 1.25rem;margin-bottom:2rem}
.yd .yd-sources li{display:flex}
.yd .yd-sources a,.yd .yd-sources li>span{display:inline-flex;align-items:baseline;gap:.5rem;text-decoration:none;color:var(--yd-fg);padding:.55rem .9rem;border:1px solid var(--yd-line);border-radius:4px;font-size:.95rem}
.yd .yd-sources a:hover{border-color:var(--yd-frog);color:#fff}
.yd .yd-sources .yd-src-logo img{height:18px;width:auto;display:inline-block;vertical-align:middle;filter:brightness(0) invert(1)}
.yd .yd-sources .yd-src-name{font-weight:600}
.yd .yd-sources strong{font-family:var(--yd-display);font-size:1.25rem;color:var(--yd-amber);font-weight:700;line-height:1}
.yd .yd-sources .yd-src-count{color:var(--yd-muted)}
.yd .yd-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--yd-gap)}
.yd .yd-review{border-left:3px solid var(--yd-frog);padding-left:1.1rem;display:flex;flex-direction:column;gap:.7rem}
.yd .yd-stars{position:relative;display:inline-block;font-size:1.05rem;line-height:1;letter-spacing:.08em;color:#3a4a41;white-space:nowrap;width:max-content}
.yd .yd-stars-on{position:absolute;left:0;top:0;overflow:hidden;color:var(--yd-amber);white-space:nowrap}
.yd .yd-review blockquote{margin:0;font-size:1.02rem;line-height:1.5;padding:0;border:0;background:none;color:var(--yd-fg);font-style:normal;quotes:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--yd-lines,6);overflow:hidden}
.yd .yd-review blockquote::before,.yd .yd-review blockquote::after{content:none}
.yd .yd-review footer{display:flex;flex-wrap:wrap;gap:.2rem .6rem;align-items:baseline;font-size:.9rem;color:var(--yd-muted);margin-top:auto}
.yd .yd-review cite{font-style:normal;color:#fff;font-weight:600}
.yd .yd-review .yd-rv-job{color:var(--yd-muted)}
.yd .yd-review .yd-rv-src{color:var(--yd-muted)}
.yd .yd-review .yd-rv-link{color:var(--yd-frog);text-decoration:none;flex-basis:100%}
.yd .yd-review .yd-rv-link:hover{text-decoration:underline}
.yd .yd-admin-note{border:1px dashed var(--yd-line);padding:.6rem .8rem;color:#e8c27a}
@media (max-width:900px){.yd .yd-reviews{grid-template-columns:1fr}}

/* ---------- Areas + map ---------- */
.yd .yd-areas{columns:2;column-gap:2rem;font-size:.98rem;max-width:34em}
.yd .yd-areas li{padding:.3rem 0;break-inside:avoid;border-bottom:1px solid var(--yd-line)}
.yd-areas-block.yd-has-map{position:relative;isolation:isolate;overflow:hidden;min-height:var(--yd-map-h,70vh);display:flex;align-items:center;padding:clamp(3.5rem,8vw,6.5rem) 0}
.yd-areas-block .yd-map-bg{position:absolute;inset:0;z-index:-2;background:var(--yd-bg2)}
.yd-areas-block .yd-map-img{width:100%;height:100%;object-fit:cover;display:block}
.yd-areas-block.yd-has-map::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  /* layer 1: pool of darkness under the text only  (slider "Darken behind the text")
     layer 2: fixed vignette along the bottom, tames the Google attribution
     layer 3: even veil over the whole map          (slider "Darken map") */
  background:
    radial-gradient(105% 78% at 18% 50%,rgba(15,23,20,var(--yd-scrim,.7)) 0%,rgba(15,23,20,var(--yd-scrim,.7)) 26%,rgba(15,23,20,0) 72%),
    linear-gradient(180deg,rgba(15,23,20,0) 62%,rgba(15,23,20,.5) 100%),
    rgba(15,23,20,var(--yd-shade,.35))}
.yd-areas-block .yd-areas-inner{position:relative;width:min(var(--yd-wrap),100% - 2*var(--yd-gap))}
.yd-areas-block.yd-has-map .yd-areas-inner{max-width:100%}
.yd-areas-block.yd-has-map .yd-sec-head,.yd-areas-block.yd-has-map .yd-areas,.yd-areas-block.yd-has-map .yd-note{max-width:30em}
.yd-areas-block.yd-has-map h2{text-shadow:0 2px 24px rgba(15,23,20,.85)}

/* Pin: card hugs the logo */
.yd-areas-block .yd-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);will-change:left,top;display:flex;flex-direction:column;align-items:center;text-decoration:none;z-index:2;pointer-events:auto}
.yd-areas-block .yd-pin-card{display:inline-flex;flex-direction:column;align-items:center;gap:.2rem;width:max-content;max-width:min(70vw,var(--yd-pin-w,150px));background:#fff;color:#1c2620;border-radius:10px;padding:.5rem .55rem .45rem;box-shadow:0 12px 30px rgba(0,0,0,.45)}
.yd-areas-block .yd-pin-card img{width:var(--yd-pin-w,150px);max-width:100%;height:auto;display:block}
.yd-areas-block .yd-pin-label{font:600 .78rem/1.15 var(--yd-body);color:#2f6b23;text-align:center;max-width:100%}
.yd-areas-block .yd-pin-tip{width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:11px solid #fff}
.yd-areas-block .yd-pin-dot{position:relative;width:12px;height:12px;border-radius:50%;background:var(--yd-amber);margin-top:4px;transform:translateY(-5px);box-shadow:0 0 0 4px rgba(245,154,60,.3)}
.yd-areas-block .yd-pin-dot::before,.yd-areas-block .yd-pin-dot::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--yd-amber);opacity:0}
.yd-areas-block .yd-pin-pulse .yd-pin-dot::before{animation:yd-ping 2.8s cubic-bezier(.2,.6,.3,1) infinite}
.yd-areas-block .yd-pin-pulse .yd-pin-dot::after{animation:yd-ping 2.8s cubic-bezier(.2,.6,.3,1) infinite;animation-delay:1.4s}
@keyframes yd-ping{0%{transform:scale(1);opacity:.75}70%{transform:scale(3.6);opacity:0}100%{transform:scale(3.6);opacity:0}}
@media (prefers-reduced-motion:reduce){.yd-areas-block .yd-pin-dot::before,.yd-areas-block .yd-pin-dot::after{animation:none !important}}
.yd-areas-block .yd-pin.is-below{transform:translate(-50%,0);flex-direction:column-reverse}
.yd-areas-block .yd-pin.is-below .yd-pin-tip{border-top:0;border-bottom:11px solid #fff}
.yd-areas-block .yd-pin.is-below .yd-pin-dot{margin-top:0;margin-bottom:4px;transform:translateY(5px)}
.yd-areas-block a.yd-pin:hover .yd-pin-card{box-shadow:0 12px 30px rgba(0,0,0,.6),0 0 0 3px var(--yd-frog)}

@media (max-width:700px){
  .yd-areas-block .yd-pin{--yd-pin-w:96px !important}
  .yd-areas-block.yd-has-map::after{background:linear-gradient(180deg,rgba(15,23,20,calc(var(--yd-scrim,.7)*.55)) 0%,rgba(15,23,20,var(--yd-scrim,.7)) 45%,rgba(15,23,20,calc(var(--yd-scrim,.7)*.95)) 100%),rgba(15,23,20,var(--yd-shade,.35))}
}

/* ---------- FAQ ---------- */
.yd .yd-faq-wrap{max-width:min(var(--yd-wrap),100% - 2*var(--yd-gap))}
.yd .yd-faq{max-width:52em}
.yd .yd-faq details{border-bottom:1px solid var(--yd-line);margin:0;padding:0;background:none}
.yd .yd-faq details:first-of-type{border-top:2px solid var(--yd-frog)}
.yd .yd-faq summary{cursor:pointer;list-style:none;padding:1rem 2rem 1rem 0;font-weight:600;position:relative;font-size:1.05rem;color:#fff;margin:0;display:block}
.yd .yd-faq summary::-webkit-details-marker{display:none}
.yd .yd-faq summary::after{content:"+";position:absolute;right:0;top:.85rem;font-family:var(--yd-display);font-size:1.5rem;line-height:1;color:var(--yd-frog)}
.yd .yd-faq details[open] summary::after{content:"–"}
.yd .yd-faq-a{padding:0 0 1.1rem;color:#c5d0c9;max-width:44em}
.yd .yd-faq-a p{margin:0 0 .6rem}

/* ---------- Quote ---------- */
.yd .yd-quote{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(2rem,6vw,5rem)}
.yd .yd-contacts{margin-top:1.5rem}
.yd .yd-contacts li{padding:.85rem 0;border-top:1px solid var(--yd-line)}
.yd .yd-contacts strong{display:block;font-weight:600;font-size:.9rem;color:var(--yd-muted);margin-bottom:.15rem}
.yd .yd-contacts a,.yd .yd-contacts span{font-size:1.15rem;font-weight:500;text-decoration:none;color:#fff}
.yd .yd-contacts a:hover{text-decoration:underline}
.yd .yd-form{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:0}
.yd .yd-form .yd-full{grid-column:1/-1}
.yd .yd-form .yd-btn{justify-self:start}
.yd .yd-form-note{grid-column:1/-1;font-size:.88rem;color:var(--yd-muted)}
.yd .yd-quote-form label{display:block;font-size:.9rem;font-weight:600;margin:0 0 .35rem;color:#fff;text-transform:none}
.yd .yd-quote-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.yd .yd-quote-form select,
.yd .yd-quote-form textarea{width:100%;max-width:none;padding:.85rem .9rem;border:1.5px solid var(--yd-line);border-radius:4px;font:inherit;background:#0b110e;color:var(--yd-fg);margin:0;height:auto;box-shadow:none}
.yd .yd-quote-form textarea{min-height:7rem}
.yd .yd-quote-form ::placeholder{color:#6f7f75}
.yd .yd-quote-form input:focus,.yd .yd-quote-form select:focus,.yd .yd-quote-form textarea:focus{outline:3px solid rgba(245,154,60,.45);border-color:var(--yd-amber)}
.yd .yd-quote-form button[type=submit],.yd .yd-quote-form input[type=submit]{background:var(--yd-amber);color:#1a1208;border:2px solid var(--yd-amber);border-radius:4px;padding:.9rem 1.4rem;font:600 1rem/1 var(--yd-body);cursor:pointer;text-transform:none;box-shadow:none}
.yd .yd-quote-form button[type=submit]:hover,.yd .yd-quote-form input[type=submit]:hover{background:#ffad55;border-color:#ffad55}
.yd .yd-quote-form .wpforms-field{margin-bottom:1rem}
@media (max-width:900px){.yd .yd-quote{grid-template-columns:1fr}}
@media (max-width:560px){.yd .yd-form{grid-template-columns:1fr}}

/* Elementor editor: keep blocks visible while editing */
.elementor-editor-active .yd-hero{min-height:70vh}

/* ---------- Site header ---------- */
.yd-header{--yd-logo-h:64px;background:var(--yd-bg);color:var(--yd-fg);border-bottom:1px solid var(--yd-line);position:relative;z-index:50}
.yd-header .yd-utility{border-bottom:1px solid var(--yd-line);font-size:.85rem;color:var(--yd-muted);background:rgba(255,255,255,.02)}
.yd-header .yd-utility-in{display:flex;align-items:center;gap:1rem 1.75rem;flex-wrap:wrap;min-height:40px;padding-block:.3rem}
.yd-header .yd-util-list{display:flex;flex-wrap:wrap;gap:.35rem 1.5rem;margin:0;padding:0;list-style:none}
.yd-header .yd-util-list li{display:inline-flex;align-items:center;gap:.45rem;margin:0;padding:0}
.yd-header .yd-util-list a{color:var(--yd-muted);text-decoration:none;transition:color .18s ease}
.yd-header .yd-util-list a:hover{color:#fff;text-decoration:underline;text-underline-offset:.18em}
.yd-header .yd-ic{width:1.05em;height:1.05em;flex:none;opacity:.8}
.yd-header .yd-util-social{display:flex;gap:.35rem;margin-left:auto;padding:0;list-style:none}
.yd-header .yd-util-social li{margin:0}
.yd-header .yd-util-social a{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--yd-muted);border:1px solid transparent;transition:color .18s ease,border-color .18s ease,transform .18s ease}
.yd-header .yd-util-social a:hover{color:#fff;border-color:var(--yd-line);transform:translateY(-1px)}
.yd-header .yd-util-social .yd-ic{width:16px;height:16px;opacity:1}
@media (max-width:640px){.yd-header .yd-util-list .yd-hide-sm{display:none}.yd-header .yd-utility-in{gap:.5rem 1rem}}
.yd-header .yd-bar{display:flex;align-items:center;gap:1rem;min-height:calc(var(--yd-logo-h) + 1.75rem);padding-block:.4rem}
.yd-header .yd-bar>*{align-self:center}
.yd-header .yd-nav-wrap,.yd-header .yd-nav,.yd-header .yd-bar-right{align-items:center}
.yd-header .yd-cta,.yd-header .yd-phone{align-self:center;line-height:1;margin:0}
.yd-header .yd-logo{display:block;line-height:0;flex:0 1 auto;min-width:0;max-width:min(52vw,320px)}
.yd-header .yd-logo img{height:var(--yd-logo-h);width:auto;max-width:100%;object-fit:contain;object-position:left center;display:block}
.yd-header .yd-nav-wrap{margin-left:auto;flex:0 1 auto;min-width:0}
.yd-header .yd-nav{flex-wrap:wrap;justify-content:flex-end}
.yd-header .yd-nav{display:flex;align-items:center;gap:.25rem;margin:0;padding:0;list-style:none}
.yd-header .yd-nav li{position:relative;margin:0;padding:0}
.yd-header .yd-nav a{display:block;padding:.6rem .7rem;color:var(--yd-fg);text-decoration:none;font-weight:500;font-size:.98rem;border-radius:4px;white-space:nowrap;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease}
.yd-header .yd-nav a:hover,.yd-header .yd-nav .current-menu-item>a,.yd-header .yd-nav .current-menu-ancestor>a{color:#fff;background:rgba(255,255,255,.07)}
.yd-header .yd-nav .current-menu-item>a{box-shadow:inset 0 -2px 0 var(--yd-frog)}
.yd-header .yd-nav .menu-item-has-children>a::after{content:"";display:inline-block;width:.4em;height:.4em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-.15em);margin-left:.45em;opacity:.7;transition:transform .2s ease}
.yd-header .yd-nav li:hover>a::after,.yd-header .yd-nav li.is-open>a::after{transform:rotate(225deg) translateY(-.35em) translateX(-.35em)}
.yd-header .yd-nav .sub-menu{position:absolute;left:0;top:100%;min-width:250px;background:var(--yd-bg2);border:1px solid var(--yd-line);border-radius:8px;padding:.4rem;margin:0;list-style:none;box-shadow:0 18px 40px rgba(0,0,0,.45);z-index:60;opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.yd-header .yd-nav li:hover>.sub-menu,.yd-header .yd-nav li:focus-within>.sub-menu,.yd-header .yd-nav li.is-open>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.yd-header .yd-nav .sub-menu a{white-space:normal;padding:.55rem .7rem;font-size:.94rem}
.yd-header .yd-bar-right{display:flex;align-items:center;gap:.9rem;flex:none;margin-left:auto}
.yd-header .yd-phone{color:#fff;text-decoration:none;font-weight:600;font-size:1rem;white-space:nowrap}
.yd-header .yd-phone:hover{color:var(--yd-frog)}
.yd-header .yd-cta{padding:.7rem 1.1rem;font-size:.95rem;white-space:nowrap}
.yd-header .yd-burger{display:none;width:44px;height:44px;border:1px solid var(--yd-line);border-radius:6px;background:transparent;padding:0;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.yd-header .yd-burger span{display:block;width:20px;height:2px;background:#fff;transition:transform .2s,opacity .2s}
.yd-header .yd-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.yd-header .yd-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.yd-header .yd-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.yd-header.is-stuck{position:sticky;top:var(--yd-admin-bar,0px)}
/* JS first tries tighter spacing, then falls back to the burger */
.yd-header.yd-tight .yd-nav a{padding:.55rem .45rem;font-size:.92rem}
.yd-header.yd-tight .yd-bar{gap:.6rem}
.yd-header.yd-tight .yd-bar-right{gap:.6rem}
.yd-header.yd-tight .yd-phone{font-size:.94rem}
.yd-header.yd-tight .yd-cta{padding:.6rem .85rem;font-size:.9rem}
/* JS adds .yd-compact when the menu no longer fits on one line */
.yd-header.yd-compact .yd-logo{margin-right:auto}
.yd-header.yd-compact .yd-nav-wrap{position:absolute;left:0;right:0;top:100%;background:var(--yd-bg);border-bottom:1px solid var(--yd-line);padding:.5rem var(--yd-gap) 1rem;display:none;max-height:calc(100vh - 90px);overflow:auto;z-index:70}
.yd-header.yd-compact.is-open .yd-nav-wrap{display:block}
.yd-header.yd-compact .yd-nav{flex-direction:column;gap:0}
.yd-header.yd-compact .yd-nav a{padding:.8rem .25rem;border-bottom:1px solid var(--yd-line);border-radius:0;white-space:normal}
.yd-header.yd-compact .yd-nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;border:0;box-shadow:none;background:transparent;padding:0 0 0 1rem;min-width:0}
.yd-header.yd-compact .yd-nav .sub-menu a{font-size:.92rem;color:var(--yd-muted)}
.yd-header.yd-compact .yd-nav .menu-item-has-children>a::after{display:none}
.yd-header.yd-compact .yd-burger{display:flex}
.yd-header.yd-compact.yd-header-light .yd-nav-wrap{background:#fff;border-bottom-color:#e3e8e1}
@media (max-width:1280px){
  .yd-header .yd-phone{display:none}
  .yd-header .yd-nav a{padding:.6rem .55rem;font-size:.94rem}
}
@media (max-width:420px){
  .yd-header .yd-cta{display:none}
  .yd-header .yd-phone{display:inline-block;font-size:.95rem}
}
@media (max-width:900px){
  .yd-header .yd-logo{margin-right:auto}
  .yd-header .yd-bar{gap:.75rem;min-height:calc(var(--yd-logo-h)*.8 + 1.25rem)}
  .yd-header .yd-logo img{height:calc(var(--yd-logo-h)*.8)}
  .yd-header .yd-burger{display:flex}
  .yd-header .yd-cta{padding:.6rem .85rem;font-size:.9rem}
  .yd-header .yd-bar-right{gap:.5rem}
  .yd-header .yd-nav-wrap{position:absolute;left:0;right:0;top:100%;background:var(--yd-bg);border-bottom:1px solid var(--yd-line);padding:.5rem var(--yd-gap) 1rem;display:none;max-height:calc(100vh - 80px);overflow:auto}
  .yd-header.is-open .yd-nav-wrap{display:block}
  .yd-header .yd-nav{flex-direction:column;gap:0}
  .yd-header .yd-nav a{padding:.8rem .25rem;border-bottom:1px solid var(--yd-line);border-radius:0;white-space:normal}
  .yd-header .yd-nav .sub-menu{position:static;opacity:1;visibility:visible;transform:none;border:0;box-shadow:none;background:transparent;padding:0 0 0 1rem;min-width:0}
  .yd-header .yd-nav .sub-menu a{font-size:.92rem;color:var(--yd-muted)}
  .yd-header .yd-nav .menu-item-has-children>a::after{display:none}
}
/* light variant */
.yd-header.yd-header-light{background:#fff;color:#1c2620;border-bottom-color:#e3e8e1}
.yd-header.yd-header-light .yd-utility{color:#5c6a60;border-bottom-color:#e3e8e1;background:#f7f9f6}
.yd-header.yd-header-light .yd-util-list a,.yd-header.yd-header-light .yd-util-social a{color:#5c6a60}
.yd-header.yd-header-light .yd-util-list a:hover,.yd-header.yd-header-light .yd-util-social a:hover{color:#1c2620}
.yd-header.yd-header-light .yd-nav a{color:#1c2620}
.yd-header.yd-header-light .yd-nav a:hover,.yd-header.yd-header-light .yd-nav .current-menu-item>a{color:#1c2620;background:#f2f5ef}
.yd-header.yd-header-light .yd-nav .sub-menu{background:#fff;border-color:#e3e8e1}
.yd-header.yd-header-light .yd-phone{color:#1c2620}
.yd-header.yd-header-light .yd-burger{border-color:#e3e8e1}
.yd-header.yd-header-light .yd-burger span{background:#1c2620}
@media (max-width:900px){.yd-header.yd-header-light .yd-nav-wrap{background:#fff;border-bottom-color:#e3e8e1}.yd-header.yd-header-light .yd-nav a{border-bottom-color:#e3e8e1}}

/* ---------- Site footer ---------- */
.yd-footer{background:var(--yd-bg);color:#c9d3cc;padding:clamp(2.5rem,6vw,4rem) 0 1.75rem;border-top:1px solid var(--yd-line);font-size:.95rem}
.yd-footer .yd-fgrid{display:flex;flex-wrap:wrap;gap:var(--yd-gap)}
.yd-footer .yd-fbrand{flex:1.6 1 260px}
.yd-footer .yd-fcol{flex:1 1 160px}
.yd-footer .yd-fcontact{flex:1.2 1 200px}
.yd-footer .yd-flogo{display:inline-block;line-height:0;margin-bottom:1rem}
.yd-footer .yd-flogo img{height:var(--yd-flogo-h,96px);width:auto;max-width:100%;object-fit:contain;object-position:left center}
.yd-footer .yd-fbrand p{max-width:30em;color:#c9d3cc}
.yd-footer h3{font:600 .95rem/1.3 var(--yd-body);color:#fff;margin:0 0 .8rem;letter-spacing:.01em}
.yd-footer .yd-flist{margin:0;padding:0;list-style:none}
.yd-footer .yd-flist li{padding:.28rem 0;margin:0}
.yd-footer .yd-flist a{color:#e6ede8;text-decoration:none}
.yd-footer .yd-flist a:hover{color:var(--yd-frog);text-decoration:underline}
.yd-footer .yd-faccr{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;margin:2rem 0 0;padding:1.25rem 0 0;list-style:none;border-top:1px solid var(--yd-line);font-size:.9rem;color:var(--yd-muted)}
.yd-footer .yd-faccr li{display:flex;align-items:center;gap:.6rem}
.yd-footer .yd-faccr-logo img{height:28px;width:auto;display:block;filter:brightness(0) invert(1);opacity:.85}
.yd-footer .yd-fbottom{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--yd-line);display:flex;flex-wrap:wrap;gap:.75rem 2rem;justify-content:space-between;align-items:center;font-size:.86rem;color:#9fb0a5}
.yd-footer .yd-fbottom p{margin:0;max-width:44em}
.yd-footer .yd-fbottom-right{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;align-items:center}
.yd-footer .yd-flegal,.yd-footer .yd-fsocial{display:flex;gap:1rem;margin:0;padding:0;list-style:none}
.yd-footer .yd-flegal a,.yd-footer .yd-fsocial a{color:#e6ede8;text-decoration:none}
.yd-footer .yd-flegal a:hover,.yd-footer .yd-fsocial a:hover{color:var(--yd-frog)}
@media (max-width:560px){.yd-footer .yd-fgrid>*{flex-basis:100%}}


/* anchor landing position: set by JS to the sticky header height */
.yd[id],.yd-block[id],section[id].yd,.yd-hero[id]{scroll-margin-top:var(--yd-anchor-offset,88px)}

/* ---------- Motion ---------- */
.yd .yd-btn{transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .12s ease,box-shadow .18s ease}
.yd .yd-btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.28)}
.yd .yd-btn:active{transform:translateY(0);box-shadow:none}
.yd .yd-services h3 a,.yd .yd-flist a,.yd .yd-contacts a,.yd .yd-sources a{transition:color .18s ease}
.yd .yd-sources a{transition:color .18s ease,border-color .18s ease,transform .18s ease}
.yd .yd-sources a:hover{transform:translateY(-1px)}
.yd .yd-mosaic figure img{transition:transform .5s cubic-bezier(.2,.6,.2,1),filter .35s ease}
.yd .yd-mosaic figure:hover img{transform:scale(1.04)}
.yd .yd-services li{transition:background-color .2s ease}
.yd .yd-services li:hover{background:rgba(255,255,255,.02)}
.yd .yd-faq summary{transition:color .18s ease}
.yd .yd-faq summary:hover{color:var(--yd-frog)}
.yd .yd-faq summary::after{transition:transform .2s ease}
.yd .yd-faq details[open] summary::after{transform:rotate(180deg)}
@keyframes yd-fade{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

/* reveal on scroll — only for elements JS has marked, so nothing hides if JS fails */
.yd .yd-reveal{opacity:0;transform:translateY(16px)}
.yd .yd-reveal.is-in{opacity:1;transform:none;transition:opacity .55s ease,transform .55s cubic-bezier(.2,.6,.2,1)}
.yd .yd-reveal-d1.is-in{transition-delay:.06s}
.yd .yd-reveal-d2.is-in{transition-delay:.12s}
.yd .yd-reveal-d3.is-in{transition-delay:.18s}

@media (prefers-reduced-motion:reduce){
  .yd *,.yd *::before,.yd *::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  .yd .yd-reveal{opacity:1 !important;transform:none !important}
}


/* ---------- Quote popup ---------- */
.yd-modal[hidden]{display:none}
.yd-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:1rem}
.yd-modal-backdrop{position:absolute;inset:0;background:rgba(8,13,11,.72);backdrop-filter:blur(3px);animation:yd-fade .2s ease both}
.yd-modal-box{position:relative;width:min(560px,100%);max-height:86vh;overflow:auto;background:var(--yd-bg2);border:1px solid var(--yd-line);border-radius:12px;padding:clamp(1.25rem,3vw,2rem);box-shadow:0 30px 80px rgba(0,0,0,.6);animation:yd-pop .24s cubic-bezier(.2,.7,.3,1) both}
@keyframes yd-pop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
.yd-modal-box h2{font-size:clamp(1.4rem,2.6vw,1.9rem);margin-bottom:.5rem}
.yd-modal-sub{color:var(--yd-muted);margin-bottom:1.5rem}
.yd-modal-body .wpforms-container{margin-top:0}
.yd-modal-fallback{color:var(--yd-fg)}
.yd-modal-x{position:absolute;top:.6rem;right:.75rem;width:38px;height:38px;border-radius:50%;border:1px solid var(--yd-line);background:transparent;color:var(--yd-fg);font-size:1.5rem;line-height:1;cursor:pointer;transition:background-color .18s ease,color .18s ease}
.yd-modal-x:hover{background:#fff;color:var(--yd-bg)}
body.yd-modal-open{overflow:hidden}

/* ---------- FAQ: open and close without the page jumping ---------- */
.yd .yd-faq details .yd-faq-a{overflow:hidden}
.yd .yd-faq details.yd-anim .yd-faq-a{animation:none}


/* ---------- WPForms inside a Yasapo block or popup ---------- */
.yd .wpforms-container,
.yd .wpforms-container-full{
  /* modern render reads these custom properties */
  --wpforms-field-background-color:#0b110e;
  --wpforms-field-border-color:#2a3630;
  --wpforms-field-text-color:#eef2ec;
  --wpforms-field-border-radius:4px;
  --wpforms-field-border-size:1.5px;
  --wpforms-label-color:#ffffff;
  --wpforms-label-sublabel-color:#a3b3a8;
  --wpforms-label-error-color:#ff9a8a;
  --wpforms-button-background-color:#f59a3c;
  --wpforms-button-border-color:#f59a3c;
  --wpforms-button-text-color:#1a1208;
  --wpforms-button-border-radius:4px;
  --wpforms-page-break-color:#8fcb52;
  margin:0;color:var(--yd-fg);font-family:var(--yd-body)
}
.yd .wpforms-form .wpforms-field{padding:0 0 1rem}
.yd .wpforms-form .wpforms-field-label{color:#fff;font:600 .9rem/1.3 var(--yd-body);margin:0 0 .35rem}
.yd .wpforms-form .wpforms-field-sublabel,
.yd .wpforms-form .wpforms-field-description{color:var(--yd-muted);font-size:.85rem}
.yd .wpforms-form .wpforms-required-label{color:var(--yd-amber)}
.yd .wpforms-form input[type=text],
.yd .wpforms-form input[type=email],
.yd .wpforms-form input[type=tel],
.yd .wpforms-form input[type=url],
.yd .wpforms-form input[type=number],
.yd .wpforms-form input[type=password],
.yd .wpforms-form input[type=date],
.yd .wpforms-form select,
.yd .wpforms-form textarea{
  width:100%;max-width:100%;height:auto;padding:.8rem .9rem;
  background:#0b110e;color:var(--yd-fg);
  border:1.5px solid var(--yd-line);border-radius:4px;
  font:inherit;box-shadow:none;transition:border-color .18s ease,box-shadow .18s ease
}
.yd .wpforms-form textarea{min-height:7rem}
.yd .wpforms-form ::placeholder{color:#6f7f75;opacity:1}
.yd .wpforms-form input:focus,
.yd .wpforms-form select:focus,
.yd .wpforms-form textarea:focus{border-color:var(--yd-amber);outline:3px solid rgba(245,154,60,.35);outline-offset:0}
.yd .wpforms-form select{appearance:none;background-image:linear-gradient(45deg,transparent 49%,var(--yd-muted) 50%),linear-gradient(-45deg,transparent 49%,var(--yd-muted) 50%);background-position:calc(100% - 18px) 55%,calc(100% - 12px) 55%;background-size:6px 6px;background-repeat:no-repeat;padding-right:2.4rem}
.yd .wpforms-form .wpforms-field-checkbox ul,
.yd .wpforms-form .wpforms-field-radio ul,
.yd .wpforms-form .wpforms-field-gdpr-checkbox ul{margin:0;padding:0;list-style:none}
.yd .wpforms-form .wpforms-field-checkbox li,
.yd .wpforms-form .wpforms-field-radio li,
.yd .wpforms-form .wpforms-field-gdpr-checkbox li{display:flex;align-items:flex-start;gap:.55rem;color:var(--yd-fg);margin:0 0 .45rem}
.yd .wpforms-form .wpforms-field-checkbox li label,
.yd .wpforms-form .wpforms-field-radio li label,
.yd .wpforms-form .wpforms-field-gdpr-checkbox li label{font-weight:400;font-size:.95rem;line-height:1.4;margin:0;color:var(--yd-fg)}
.yd .wpforms-form input[type=checkbox],
.yd .wpforms-form input[type=radio]{accent-color:var(--yd-frog);width:1.05rem;height:1.05rem;margin:.15rem 0 0;flex:none}
.yd .wpforms-form .wpforms-submit-container{padding-top:.25rem}
.yd .wpforms-form button[type=submit],
.yd .wpforms-form input[type=submit],
.yd .wpforms-form .wpforms-submit{
  background:var(--yd-amber);color:#1a1208;border:2px solid var(--yd-amber);border-radius:4px;
  padding:.9rem 1.5rem;font:600 1rem/1 var(--yd-body);cursor:pointer;box-shadow:none;text-transform:none;
  transition:background-color .18s ease,border-color .18s ease,transform .12s ease,box-shadow .18s ease;width:auto
}
.yd .wpforms-form button[type=submit]:hover,
.yd .wpforms-form input[type=submit]:hover,
.yd .wpforms-form .wpforms-submit:hover{background:#ffad55;border-color:#ffad55;transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.28)}
.yd .wpforms-form label.wpforms-error,
.yd .wpforms-form em.wpforms-error{color:#ff9a8a;font-size:.85rem;font-style:normal}
.yd .wpforms-form input.wpforms-error,
.yd .wpforms-form textarea.wpforms-error,
.yd .wpforms-form select.wpforms-error{border-color:#ff9a8a}
.yd .wpforms-confirmation-container,
.yd .wpforms-confirmation-container-full{background:rgba(143,203,82,.12);border:1px solid var(--yd-frog);color:var(--yd-fg);border-radius:6px;padding:1rem 1.15rem}
.yd .wpforms-confirmation-container p{margin:0}
.yd .grecaptcha-badge{opacity:.6}
.yd .wpforms-form .wpforms-field-html,
.yd .wpforms-form .wpforms-field-content{color:var(--yd-fg)}
/* honeypot / hidden helpers must stay hidden */
.yd .wpforms-form .wpforms-field-hp{display:none !important}
