/* 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:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);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:.75rem;min-width:0;padding:1.1rem 1.25rem 0;font-size:.92rem;line-height:1.3;border-left:1px solid rgba(255,255,255,.18)}
.yd .yd-trust li:first-child{border-left:0;padding-left:0}
.yd .yd-trust-txt{min-width:0}
.yd .yd-trust-logo{flex:none}
.yd .yd-trust-logo img{height:34px;width:auto;max-width:86px;object-fit:contain;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-hero .yd-slide figcaption{top:3.6rem;font-size:.8rem}
  .yd-hero .yd-slider-ui{top:.75rem}
}
@media (max-width:1100px){.yd .yd-trust{grid-auto-flow:row;grid-template-columns:1fr 1fr}.yd .yd-trust li{border-left:0;padding-left:0}}
@media (max-width:560px){.yd .yd-trust{grid-template-columns:1fr}.yd .yd-trust li{padding-top:.85rem}}
@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}


/* ---------- Photo gallery ---------- */
.yd .yd-gfilters{display:flex;flex-wrap:wrap;gap:.5rem;margin:0 0 1.75rem}
.yd .yd-gfilters button{font:500 .92rem/1 var(--yd-body);color:var(--yd-fg);background:transparent;border:1px solid var(--yd-line);border-radius:999px;padding:.6rem 1rem;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}
.yd .yd-gfilters button:hover{border-color:var(--yd-frog)}
.yd .yd-gfilters button.is-on{background:var(--yd-frog);border-color:var(--yd-frog);color:#10180f}
.yd .yd-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.yd .yd-gallery.yd-gcols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.yd .yd-gallery.yd-gcols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.yd .yd-gallery li{margin:0;transition:opacity .25s ease,transform .25s ease}
.yd .yd-gallery li.is-hidden{display:none}
.yd .yd-gitem{display:block;overflow:hidden;border-radius:6px;background:var(--yd-bg2);aspect-ratio:4/3}
.yd .yd-gitem img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.6,.2,1)}
.yd .yd-gitem:hover img{transform:scale(1.04)}
.yd .yd-gcap{margin-top:.5rem;font-size:.9rem;color:var(--yd-muted)}
@media (max-width:900px){.yd .yd-gallery,.yd .yd-gallery.yd-gcols-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.yd .yd-gallery,.yd .yd-gallery.yd-gcols-2,.yd .yd-gallery.yd-gcols-4{grid-template-columns:1fr}}

.yd-lightbox{position:fixed;inset:0;z-index:10000;background:rgba(6,10,8,.94);display:grid;grid-template-rows:1fr auto;place-items:center;padding:3.5rem 1rem 1rem;animation:yd-fade .2s ease both}
.yd-lightbox[hidden]{display:none}
.yd-lightbox img{max-width:min(1400px,100%);max-height:calc(100vh - 8rem);object-fit:contain;border-radius:4px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.yd-lightbox p{color:#d5ded8;font:400 .95rem/1.4 "IBM Plex Sans",system-ui,sans-serif;margin:.75rem 0 0;text-align:center;max-width:60em}
.yd-lightbox button{position:absolute;width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(15,23,20,.6);color:#fff;font:600 1.3rem/1 system-ui;cursor:pointer;display:grid;place-items:center;transition:background-color .18s ease}
.yd-lightbox button:hover{background:#fff;color:#0f1714}
.yd-lightbox .yd-lb-x{top:1rem;right:1rem}
.yd-lightbox .yd-lb-prev{left:1rem;top:50%;transform:translateY(-50%)}
.yd-lightbox .yd-lb-next{right:1rem;top:50%;transform:translateY(-50%)}
.yd-lightbox .yd-lb-count{position:absolute;top:1.4rem;left:1.25rem;color:#a3b3a8;font:500 .9rem system-ui}


/* ================= Mobile polish (1.7.2 / 1.7.4) ================= */

/* Trust badges: logo 40% / text 60%, logo centred, all logos white, no dividers.
   A badge without a logo gives the text the full width. */
.yd .yd-trust{border-top:0;column-gap:clamp(1rem,2.5vw,2rem)}
.yd .yd-trust li,.yd .yd-trust li:first-child{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);align-items:center;column-gap:.85rem;border:0;padding:1.1rem 0 0}
.yd .yd-trust li.no-logo{grid-template-columns:minmax(0,1fr)}
.yd .yd-trust-logo{grid-column:1;display:flex;align-items:center;justify-content:center;height:52px;padding:0;border:0;background:none}
.yd .yd-trust-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;filter:brightness(0) invert(1)}
.yd .yd-trust-txt{grid-column:2;min-width:0}
.yd .yd-trust li.no-logo .yd-trust-txt{grid-column:1}
@media (max-width:1100px){.yd .yd-trust li,.yd .yd-trust li:first-child{border:0;padding-left:0}}
@media (max-width:560px){
  .yd .yd-trust li{padding-top:.9rem;font-size:.95rem}
  .yd .yd-trust-logo{height:48px}
}

/* Map on phones: map becomes a strip on top carrying the pin; the area list sits below on a solid background */
@media (max-width:700px){
  .yd-areas-block.yd-has-map{display:block;min-height:0;padding:0 0 clamp(2.5rem,8vw,3.5rem);background:var(--yd-bg)}
  .yd-areas-block .yd-map-bg{position:relative;inset:auto;height:280px;z-index:0}
  .yd-areas-block.yd-has-map::after{inset:0 0 auto 0;height:280px;z-index:1;background:linear-gradient(180deg,rgba(15,23,20,.2) 0%,rgba(15,23,20,.1) 55%,rgba(15,23,20,1) 100%)}
  .yd-areas-block .yd-pin{z-index:2}
  .yd-areas-block .yd-areas-inner{position:relative;z-index:2;margin:-1rem auto 0}
  .yd-areas-block.yd-has-map h2{text-shadow:none}
  .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:none}
  .yd .yd-areas{font-size:.95rem;column-gap:1.25rem}
}

/* Footer on phones: brand full width, two link columns side by side, contact full width */
@media (max-width:560px){
  .yd-footer .yd-fgrid{gap:1.75rem 1.25rem}
  .yd-footer .yd-fgrid>*{flex-basis:auto}
  .yd-footer .yd-fbrand,.yd-footer .yd-fcontact{flex:1 1 100%}
  .yd-footer .yd-fcol:not(.yd-fcontact){flex:1 1 calc(50% - .75rem);min-width:0}
  .yd-footer .yd-flogo img{height:min(var(--yd-flogo-h,96px),72px)}
  .yd-footer .yd-flist li{padding:.22rem 0}
  .yd-footer .yd-faccr{gap:.75rem 1.25rem}
  .yd-footer .yd-fbottom{flex-direction:column;align-items:flex-start}
}


/* ---------- WPForms: same layout as the original design (1.7.6) ----------
   Two columns; long fields full width; one column on phones. !important is used
   only here, because WPForms' own field-size rules are more specific than ours. */
.yd .wpforms-container .wpforms-field-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1rem}
.yd .wpforms-container .wpforms-field{padding:0 0 1rem !important;margin:0 !important;min-width:0}
.yd .wpforms-container .wpforms-field-textarea,
.yd .wpforms-container .wpforms-field-select,
.yd .wpforms-container .wpforms-field-checkbox,
.yd .wpforms-container .wpforms-field-radio,
.yd .wpforms-container .wpforms-field-gdpr-checkbox,
.yd .wpforms-container .wpforms-field-html,
.yd .wpforms-container .wpforms-field-content,
.yd .wpforms-container .wpforms-field-divider,
.yd .wpforms-container .wpforms-field-layout,
.yd .wpforms-container .wpforms-field-address,
.yd .wpforms-container .wpforms-field-recaptcha,
.yd .wpforms-container .wpforms-field-captcha,
.yd .wpforms-container .wpforms-field.yd-full{grid-column:1/-1}
.yd .wpforms-container .wpforms-field-hidden{display:none !important}
.yd .wpforms-container .wpforms-field input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.yd .wpforms-container .wpforms-field select,
.yd .wpforms-container .wpforms-field textarea{width:100% !important;max-width:100% !important;height:auto !important;min-height:50px;padding:.8rem .9rem !important;background-color:#0b110e !important;color:var(--yd-fg) !important;border:1.5px solid var(--yd-line) !important;border-radius:4px !important;box-shadow:none !important;font:400 1rem/1.4 var(--yd-body) !important}
.yd .wpforms-container .wpforms-field textarea{min-height:7rem !important}
.yd .wpforms-container .wpforms-field input:focus,
.yd .wpforms-container .wpforms-field select:focus,
.yd .wpforms-container .wpforms-field textarea:focus{border-color:var(--yd-amber) !important;outline:3px solid rgba(245,154,60,.35) !important}
/* Chrome autofill paints fields light blue — keep them dark */
.yd .wpforms-container input:-webkit-autofill,
.yd .wpforms-container input:-webkit-autofill:hover,
.yd .wpforms-container input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #0b110e inset !important;-webkit-text-fill-color:#eef2ec !important;caret-color:#eef2ec;transition:background-color 9999s}
.yd .wpforms-container .wpforms-field-label{color:#fff !important;font:600 .9rem/1.3 var(--yd-body) !important;margin:0 0 .35rem !important;padding:0 !important}
.yd .wpforms-container .wpforms-field-row{max-width:100% !important}
.yd .wpforms-container .wpforms-submit-container{padding:.25rem 0 0 !important;margin:0 !important;text-align:left}
.yd .wpforms-container button[type=submit].wpforms-submit{width:auto !important;height:auto !important;min-height:48px;padding:.9rem 1.5rem !important;background:var(--yd-amber) !important;border:2px solid var(--yd-amber) !important;color:#1a1208 !important;border-radius:4px !important;font:600 1rem/1 var(--yd-body) !important;box-shadow:none !important}
.yd .wpforms-container button[type=submit].wpforms-submit:hover{background:#ffad55 !important;border-color:#ffad55 !important}
.yd .wpforms-container .wpforms-error-container,
.yd .wpforms-container .wpforms-error-alert{background:rgba(255,154,138,.08) !important;border:1px solid rgba(255,154,138,.5) !important;color:#ff9a8a !important;border-radius:6px;padding:.75rem 1rem !important;margin:0 0 1rem !important}
@media (max-width:560px){.yd .wpforms-container .wpforms-field-container{grid-template-columns:1fr}}
.yd .wpforms-container .wpforms-field select{appearance:none;-webkit-appearance:none;padding-right:2.4rem !important;background-image:linear-gradient(45deg,transparent 49%,#a3b3a8 50%),linear-gradient(-45deg,transparent 49%,#a3b3a8 50%) !important;background-position:calc(100% - 18px) 55%,calc(100% - 12px) 55% !important;background-size:6px 6px !important;background-repeat:no-repeat !important}

/* ---------- Video story (1.8.0) ---------- */
.yd.yd-reel{padding:0;--yd-reel-h:100vh}
@supports (height:100svh){.yd.yd-reel{--yd-reel-h:100svh}}
.yd .yd-reel-in{position:relative}
.yd .yd-reel-stage{position:sticky;top:0;height:var(--yd-reel-h);overflow:hidden;z-index:0;background:#000}
.yd .yd-reel-layer{position:absolute;inset:0;overflow:hidden;will-change:clip-path,opacity}
.yd .yd-reel-layer video,.yd .yd-reel-layer img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block}
.yd .yd-reel-shade{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(8,12,10,var(--yd-reel-shade)) 0%,rgba(8,12,10,calc(var(--yd-reel-shade)*.55)) 45%,rgba(8,12,10,0) 75%),
             linear-gradient(0deg,rgba(15,23,20,1) 0%,rgba(15,23,20,0) 22%)}
/* transitions: wipe = next video slides up over the previous one */
.yd-reel-wipe .yd-reel-layer:not([data-i="0"]){clip-path:inset(100% 0 0 0)}
.yd-reel-fade .yd-reel-layer:not([data-i="0"]),.yd-reel-zoom .yd-reel-layer:not([data-i="0"]){opacity:0}
.yd-reel-wipe .yd-reel-layer video,.yd-reel-wipe .yd-reel-layer img{transform:translateY(calc((1 - var(--p,1)) * -12%)) scale(1.06)}
.yd-reel-zoom .yd-reel-layer video,.yd-reel-zoom .yd-reel-layer img{transform:scale(1.14);transition:transform 9s cubic-bezier(.2,.6,.2,1)}
.yd-reel-zoom .yd-reel-layer.is-on video,.yd-reel-zoom .yd-reel-layer.is-on img{transform:scale(1)}
/* text chapters scroll over the pinned stage */
.yd .yd-reel-chapters{position:relative;z-index:2;margin-top:calc(-1 * var(--yd-reel-h));pointer-events:none}
.yd .yd-reel-ch{min-height:var(--yd-reel-len,140vh);display:flex;align-items:flex-start;padding:calc(var(--yd-reel-h) * .34) 0 calc(var(--yd-reel-h) * .2)}
.yd .yd-reel-ch:last-child{min-height:var(--yd-reel-h);padding-bottom:calc(var(--yd-reel-h) * .12)}
.yd .yd-reel-card{max-width:34rem;pointer-events:auto;display:grid;gap:1rem;text-shadow:0 1px 18px rgba(0,0,0,.35)}
.yd .yd-reel-card h2{font-size:clamp(2.2rem,5vw,4rem);letter-spacing:-.03em;line-height:1}
.yd .yd-reel-eyebrow{display:flex;align-items:center;gap:.7rem;font:600 .8rem/1 var(--yd-body);letter-spacing:.14em;text-transform:uppercase;color:var(--yd-frog)}
.yd .yd-reel-eyebrow span{font-family:var(--yd-display);color:#fff;opacity:.55;letter-spacing:0}
.yd .yd-reel-text{font-size:1.125rem;color:#dfe7e1}
.yd .yd-reel-stat{display:flex;align-items:baseline;gap:.75rem;flex-wrap:wrap;margin-top:.25rem}
.yd .yd-reel-stat b{font:800 clamp(2.4rem,5vw,3.5rem)/1 var(--yd-display);color:var(--yd-amber);letter-spacing:-.03em}
.yd .yd-reel-stat span{color:var(--yd-muted);font-size:.95rem}
.yd .yd-reel-card .yd-btn{justify-self:start;margin-top:.5rem;backdrop-filter:blur(6px);background:rgba(0,0,0,.18)}
/* side list of chapters */
.yd .yd-reel-nav{position:sticky;top:0;height:0;z-index:3}
.yd .yd-reel-nav ol{position:absolute;right:var(--yd-gap);top:calc(var(--yd-reel-h) / 2);transform:translateY(-50%);display:grid;gap:.9rem;justify-items:end}
.yd .yd-reel-nav a{display:flex;align-items:center;gap:.7rem;flex-direction:row-reverse;text-decoration:none;color:rgba(255,255,255,.55);font:500 .85rem/1 var(--yd-body)}
.yd .yd-reel-nav i{width:22px;height:2px;background:currentColor;transition:width .3s ease,background-color .3s ease}
.yd .yd-reel-nav span{opacity:0;transform:translateX(6px);transition:opacity .25s ease,transform .25s ease}
.yd .yd-reel-nav a:hover,.yd .yd-reel-nav a[aria-current]{color:#fff}
.yd .yd-reel-nav a[aria-current] i{width:44px;background:var(--yd-amber)}
.yd .yd-reel-nav a:hover span,.yd .yd-reel-nav a[aria-current] span,.yd .yd-reel-nav:hover span{opacity:1;transform:none}
@media (max-width:900px){.yd .yd-reel-nav span{display:none}}
@media (max-width:700px){
  .yd .yd-reel-nav ol{right:.6rem;gap:.6rem}
  .yd .yd-reel-nav i{width:10px}.yd .yd-reel-nav a[aria-current] i{width:22px}
  .yd .yd-reel-shade{background:linear-gradient(0deg,rgba(8,12,10,calc(var(--yd-reel-shade) + .25)) 0%,rgba(8,12,10,var(--yd-reel-shade)) 45%,rgba(8,12,10,calc(var(--yd-reel-shade)*.3)) 100%)}
  .yd .yd-reel-ch{padding-top:calc(var(--yd-reel-h) * .42)}
  .yd .yd-reel-card{padding-right:1.5rem}
  .yd .yd-reel-text{font-size:1rem}
}
@media (prefers-reduced-motion:reduce){
  .yd-reel-wipe .yd-reel-layer video,.yd-reel-wipe .yd-reel-layer img,.yd-reel-zoom .yd-reel-layer video,.yd-reel-zoom .yd-reel-layer img{transform:none;transition:none}
}

/* 1.8.5: 1.8.0 badge layout, logos capped to a fixed width.
   (optimisers may wrap the img in <picture>, which breaks % limits) */
.yd .yd-trust-logo picture{display:contents}
.yd .yd-trust-logo img{max-width:min(100%,110px) !important;max-height:52px !important;width:auto !important;height:auto !important}
@media (max-width:560px){.yd .yd-trust-logo img{max-width:min(100%,96px) !important;max-height:48px !important}}

/* 1.8.7: hero fills exactly one screen below the header; nothing of the next block peeks in */
.yd-hero.yd-hero-fit{--yd-hero-h:calc(100vh - var(--yd-hero-top,0px))}
@supports (height:100svh){.yd-hero.yd-hero-fit{--yd-hero-h:calc(100svh - var(--yd-hero-top,0px))}}
.elementor-editor-active .yd-hero.yd-hero-fit{min-height:var(--yd-hero-h)}
.yd .yd-scroll-cue{position:absolute;left:50%;bottom:.9rem;transform:translateX(-50%);z-index:3;width:2.4rem;height:2.4rem;border:0;background:none;padding:0;cursor:pointer;opacity:.75}
.yd .yd-scroll-cue:hover{opacity:1}
.yd .yd-scroll-cue span{display:block;width:.8rem;height:.8rem;margin:.55rem auto 0;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);animation:yd-cue 1.8s ease-in-out infinite}
@keyframes yd-cue{0%,100%{transform:translateY(0) rotate(45deg);opacity:.6}50%{transform:translateY(6px) rotate(45deg);opacity:1}}
@media (prefers-reduced-motion:reduce){.yd .yd-scroll-cue span{animation:none}}
@media (max-height:640px){.yd .yd-scroll-cue{display:none}}
/* fit mode: scale by screen height too, so short laptop screens still show the whole hero */
.yd-hero.yd-hero-fit .yd-hero-inner{padding:clamp(1.5rem,6vh,6rem) 0 clamp(3rem,7vh,4.5rem)}
.yd-hero.yd-hero-fit h1{font-size:clamp(2.3rem,min(6.2vw,8vh),4.75rem)}
@media (max-height:820px) and (min-width:701px){.yd-hero.yd-hero-fit .yd-trust{margin-top:clamp(1.25rem,3.5vh,2.5rem)}}

/* 1.8.8: hero merged into the Video story — first screen fills the window below the header */
.yd-reel-merged .yd-reel-intro{position:relative;min-height:calc(var(--yd-reel-h) - var(--yd-hero-top,0px));display:flex;flex-direction:column;justify-content:flex-end;padding:0 0 clamp(3rem,7vh,4.5rem)}
.yd-reel-merged .yd-reel-intro .yd-hero-inner{pointer-events:auto;position:relative;padding:clamp(1.5rem,6vh,6rem) 0 0}
.yd-reel-merged .yd-reel-intro h1{font-size:clamp(2.3rem,min(6.2vw,8vh),4.75rem)}
.yd-reel-merged .yd-reel-intro .yd-slider-ui{position:absolute;top:1rem;right:var(--yd-gap);pointer-events:auto;display:flex;gap:.5rem;align-items:center;width:auto;margin:0}
.yd-reel-merged .yd-reel-intro .yd-scroll-cue{pointer-events:auto}
.yd .yd-reel-hero .yd-slides{position:absolute;inset:0}
.yd .yd-reel-hero .yd-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .9s ease}
.yd .yd-reel-hero .yd-slide.is-active{opacity:1}
.yd .yd-reel-hero .yd-slide img{width:100%;height:100%;object-fit:cover;display:block}
.yd .yd-reel-hero .yd-slide figcaption{display:none}
.yd .yd-reel-hero .yd-slider-ui{display:none}
@media (max-height:820px) and (min-width:701px){.yd-reel-merged .yd-reel-intro .yd-trust{margin-top:clamp(1.25rem,3.5vh,2.5rem)}}
.yd-reel-intro .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-reel-intro .yd-arrow:hover{background:#fff;color:var(--yd-bg)}
.yd-reel-intro .yd-dots{display:flex;gap:.45rem;padding:0 .3rem}
.yd-reel-intro .yd-dots button{width:.6rem;height:.6rem;border-radius:50%;border:0;padding:0;background:rgba(255,255,255,.45);cursor:pointer}
.yd-reel-intro .yd-dots button[aria-current="true"]{background:#fff;transform:scale(1.35)}
@media (max-width:700px){.yd-reel-merged .yd-reel-intro .yd-slider-ui{top:.75rem}}

/* 1.8.9: smart header — compact after the first scroll */
.yd-header .yd-utility{max-height:var(--yd-util-h,140px);overflow:hidden;transition:max-height .32s cubic-bezier(.2,.7,.2,1),opacity .25s ease,border-color .25s ease}
.yd-header .yd-logo img{transition:height .32s cubic-bezier(.2,.7,.2,1)}
.yd-header .yd-bar{transition:min-height .32s cubic-bezier(.2,.7,.2,1),padding .32s cubic-bezier(.2,.7,.2,1)}
.yd-header{transition:background-color .3s ease,box-shadow .3s ease}
.yd-header.is-small .yd-utility{max-height:0;opacity:0;border-bottom-color:transparent}
.yd-header.is-small .yd-logo img{height:calc(var(--yd-logo-h) * .62)}
.yd-header.is-small .yd-bar{min-height:calc(var(--yd-logo-h) * .62 + .9rem);padding-block:.2rem}
.yd-header.is-small{background:rgba(15,23,20,.86);box-shadow:0 8px 24px rgba(0,0,0,.28);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.yd-header.yd-header-light.is-small{background:rgba(255,255,255,.9)}
.yd-header.yd-measure,.yd-header.yd-measure *{transition:none !important}
@media (prefers-reduced-motion:reduce){.yd-header .yd-utility,.yd-header .yd-logo img,.yd-header .yd-bar{transition:none}}

/* 1.9.2: chapter list sits inside the pinned stage, so it scrolls away with it */
.yd .yd-reel-stage .yd-reel-nav{position:absolute;inset:0;height:auto;z-index:3;pointer-events:none}
.yd .yd-reel-stage .yd-reel-nav ol{top:50%;pointer-events:auto}
/* 1.9.5: parallax stays inside the picture's own overscan — no strip at the bottom of the screen */
.yd-reel-wipe .yd-reel-layer video,.yd-reel-wipe .yd-reel-layer img{transform:translateY(calc((1 - var(--p,1)) * 3.5%)) scale(1.08);transform-origin:50% 50%}
.yd .yd-reel-stage{background:var(--yd-bg)}
/* 1.9.6: chapter buttons fill white on hover (the glass background was overriding it) */
.yd .yd-reel-card .yd-btn-ghost:hover,.yd .yd-reel-card .yd-btn-ghost:focus-visible{background:#fff;border-color:#fff;color:var(--yd-bg);text-shadow:none}

/* 1.9.7: one "next" arrow for the whole story, pinned to the bottom of the screen */
.yd .yd-reel-stage .yd-reel-cue{z-index:4;bottom:1.1rem;transition:opacity .3s ease}
.yd .yd-reel-stage .yd-reel-cue.is-last{opacity:0;pointer-events:none}
.yd-reel-merged .yd-reel-intro .yd-scroll-cue{display:none}
/* 1.9.8: scroll-driven chapters — the text waits on screen while the video plays, then leaves with the picture */
.yd .yd-reel-ch.is-scrub{display:flex;flex-direction:column;align-items:stretch;padding-bottom:calc(var(--yd-reel-h) * .3)}
.yd .yd-reel-ch.is-scrub>.yd-wrap{flex:1 1 auto;width:min(var(--yd-wrap),100% - 2*var(--yd-gap))}
.yd .yd-reel-ch.is-scrub .yd-reel-card{position:sticky;top:calc(var(--yd-reel-h) * .34)}
@media (max-width:700px){.yd .yd-reel-ch.is-scrub .yd-reel-card{top:calc(var(--yd-reel-h) * .42)}}
/* 1.9.9: phones — the picture fills the LARGE viewport, so when the browser's bottom bar slides away
   there is no empty strip; the first screen's text still fits the small viewport */
@supports (height:100lvh){.yd.yd-reel{--yd-reel-h:100lvh;--yd-reel-vis:100svh}}
.yd-reel-merged .yd-reel-intro{min-height:calc(var(--yd-reel-vis,var(--yd-reel-h)) - var(--yd-hero-top,0px))}

/* 1.10.1: first screen stays bottom-aligned; its height is right from the first paint
   (default = the live header's height, JS only fine-tunes), so the text doesn't jump */
.yd-hero.yd-hero-fit,.yd-reel-merged{--yd-hero-top:112px}
.admin-bar .yd-hero.yd-hero-fit,.admin-bar .yd-reel-merged{--yd-hero-top:144px}
/* the hero handed to the Video story leaves an empty Elementor widget behind: remove it (and its 20px spacing) */
.elementor-widget:has(.yd-hero-handed){display:none!important}
.yd .yd-reel-hero .yd-slide{background-color:var(--yd-bg2)}

/* 1.10.2: landscape / portrait map chosen by CSS (no <picture>) */
.yd-areas-block .yd-map-p{display:none}
@media (max-aspect-ratio:1/1) and (min-width:701px){
  .yd-areas-block .yd-map-bg.has-p .yd-map-l{display:none}
  .yd-areas-block .yd-map-bg.has-p .yd-map-p{display:block}
}
