/* =========================================================================
   Druskininkų Geoplanas — Service Page Widgets
   Original design preserved 1:1, scoped under .dgp-scope so it never
   collides with the active theme. Colours come from CSS variables that
   Elementor Style controls can override per widget instance.
   ========================================================================= */

.dgp-scope{
  --dgp-page:#0b1322;
  --dgp-panel:#141e2e;
  --dgp-panel-2:#18243a;
  --dgp-ink:#ffffff;
  --dgp-body:#c2cad6;
  --dgp-muted:#8a93a3;
  --dgp-accent:#1f8fff;
  --dgp-accent-deep:#0e6fd6;
  --dgp-line:rgba(255,255,255,.09);
  --dgp-radius:14px;

  font-family:"Poppins",system-ui,sans-serif;
  background:var(--dgp-page);
  color:var(--dgp-body);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
.dgp-scope *{box-sizing:border-box;}
.dgp-scope img,.dgp-scope svg{display:block;max-width:100%;}

.dgp-scope .dgp-container{max-width:1100px;margin:0 auto;padding:0 22px;}

/* buttons */
.dgp-scope .dgp-btn{
  display:inline-block;background:var(--dgp-accent);color:#fff;
  font-weight:600;font-size:.98rem;padding:14px 30px;border-radius:9px;
  text-decoration:none;transition:transform .25s,box-shadow .25s,background .25s;
  box-shadow:0 8px 24px rgba(31,143,255,.3);
}
.dgp-scope .dgp-btn:hover{background:var(--dgp-accent-deep);transform:translateY(-2px);}
.dgp-scope .dgp-btn.dgp-ghost{
  background:transparent;border:2px solid rgba(255,255,255,.35);box-shadow:none;
}
.dgp-scope .dgp-btn.dgp-ghost:hover{border-color:#fff;background:rgba(255,255,255,.06);}

/* ===== HERO ===== */
.dgp-scope .dgp-hero{
  position:relative;overflow:hidden;text-align:center;
  padding:110px 22px 120px;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(31,143,255,.22), transparent 65%),
    linear-gradient(180deg,#0d1729 0%, #0b1322 100%);
}
/* grid decoration (kadastriniai) */
.dgp-scope .dgp-hero--grid::before{
  content:"";position:absolute;inset:0;opacity:.5;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:54px 54px;
  mask-image:radial-gradient(700px 400px at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image:radial-gradient(700px 400px at 50% 0%, #000 30%, transparent 75%);
}
/* parcels decoration (sklypų formavimas) */
.dgp-scope .dgp-parcels{position:absolute;inset:0;width:100%;height:100%;opacity:.14;pointer-events:none;}
.dgp-scope .dgp-parcels path,.dgp-scope .dgp-parcels rect{fill:none;stroke:#5fa9ff;stroke-width:1;}
.dgp-scope .dgp-parcels .dgp-dash{stroke-dasharray:6 6;}
/* contours decoration (topografiniai) */
.dgp-scope .dgp-contours{position:absolute;inset:0;width:100%;height:100%;opacity:.16;pointer-events:none;}
.dgp-scope .dgp-contours path{fill:none;stroke:#5fa9ff;stroke-width:1;}

.dgp-scope .dgp-crumb{
  position:relative;display:inline-block;font-size:.85rem;letter-spacing:.12em;
  text-transform:uppercase;color:var(--dgp-accent);font-weight:600;margin-bottom:18px;
}
.dgp-scope .dgp-hero h1{
  position:relative;color:var(--dgp-ink);font-weight:700;letter-spacing:-.01em;
  font-size:clamp(1.9rem,4.6vw,3.1rem);line-height:1.18;max-width:760px;margin:0 auto 18px;
}
.dgp-scope .dgp-hero p{
  position:relative;max-width:640px;margin:0 auto 34px;font-size:1.06rem;
}
.dgp-scope .dgp-actions{position:relative;display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}

/* ===== SECTIONS ===== */
.dgp-scope section{padding:84px 0;}
.dgp-scope .dgp-sec-head{text-align:center;max-width:680px;margin:0 auto 52px;}
.dgp-scope .dgp-sec-head h2{color:var(--dgp-ink);font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;margin-bottom:12px;}
.dgp-scope .dgp-sec-head p{color:var(--dgp-muted);}

/* intro */
.dgp-scope .dgp-intro{background:var(--dgp-panel);}
.dgp-scope .dgp-intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:54px;align-items:center;}
.dgp-scope .dgp-intro h2{color:var(--dgp-ink);font-size:clamp(1.5rem,3vw,2rem);font-weight:700;margin-bottom:18px;}
.dgp-scope .dgp-intro p{margin-bottom:16px;}
.dgp-scope .dgp-intro-card{
  background:var(--dgp-panel-2);border:1px solid var(--dgp-line);border-radius:var(--dgp-radius);
  padding:34px 32px;
}
.dgp-scope .dgp-intro-card h3{color:var(--dgp-ink);font-size:1.05rem;margin-bottom:16px;}
.dgp-scope .dgp-check{list-style:none;margin:0;padding:0;}
.dgp-scope .dgp-check li{
  position:relative;padding-left:32px;margin-bottom:13px;font-size:.99rem;
}
.dgp-scope .dgp-check li::before{
  content:"";position:absolute;left:0;top:7px;width:18px;height:18px;border-radius:50%;
  background:rgba(31,143,255,.16);
}
.dgp-scope .dgp-check li::after{
  content:"";position:absolute;left:5px;top:11px;width:8px;height:5px;
  border-left:2px solid var(--dgp-accent);border-bottom:2px solid var(--dgp-accent);
  transform:rotate(-45deg);
}

/* when needed cards */
.dgp-scope .dgp-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:22px;}
.dgp-scope .dgp-card{
  background:var(--dgp-panel);border:1px solid var(--dgp-line);border-radius:var(--dgp-radius);
  padding:30px 28px;transition:transform .3s,border-color .3s;
}
.dgp-scope .dgp-card:hover{transform:translateY(-5px);border-color:rgba(31,143,255,.45);}
.dgp-scope .dgp-ico{
  width:48px;height:48px;border-radius:11px;background:rgba(31,143,255,.14);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.dgp-scope .dgp-ico svg{width:24px;height:24px;stroke:var(--dgp-accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.dgp-scope .dgp-card h3{color:var(--dgp-ink);font-size:1.06rem;font-weight:600;margin-bottom:8px;}
.dgp-scope .dgp-card p{font-size:.95rem;color:var(--dgp-muted);}

/* steps */
.dgp-scope .dgp-steps-sec{background:var(--dgp-panel);}
.dgp-scope .dgp-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:26px;}
.dgp-scope .dgp-step{padding:6px 4px;}
.dgp-scope .dgp-num{
  font-size:2.3rem;font-weight:700;color:transparent;
  -webkit-text-stroke:1.5px rgba(31,143,255,.65);
  line-height:1;margin-bottom:14px;
}
.dgp-scope .dgp-step h3{color:var(--dgp-ink);font-size:1.04rem;margin-bottom:8px;border-top:1px solid var(--dgp-line);padding-top:16px;}
.dgp-scope .dgp-step p{font-size:.94rem;color:var(--dgp-muted);}

/* FAQ */
.dgp-scope .dgp-faq{max-width:760px;margin:0 auto;}
.dgp-scope .dgp-faq-item{
  background:var(--dgp-panel);border:1px solid var(--dgp-line);border-radius:12px;
  margin-bottom:14px;overflow:hidden;
}
.dgp-scope .dgp-faq-q{
  width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;
  background:none;border:none;cursor:pointer;text-align:left;
  color:var(--dgp-ink);font-family:inherit;font-size:1rem;font-weight:600;
  padding:20px 24px;
}
.dgp-scope .dgp-chev{
  flex:none;width:22px;height:22px;border-radius:50%;position:relative;
  background:rgba(31,143,255,.16);transition:transform .35s;
}
.dgp-scope .dgp-chev::before{
  content:"";position:absolute;left:7px;width:7px;height:7px;
  border-right:2px solid var(--dgp-accent);border-bottom:2px solid var(--dgp-accent);
  transform:rotate(45deg);top:5px;
}
.dgp-scope .dgp-faq-item.dgp-open .dgp-chev{transform:rotate(180deg);}
.dgp-scope .dgp-faq-a{max-height:0;overflow:hidden;transition:max-height .4s ease;}
.dgp-scope .dgp-faq-a p{padding:0 24px 22px;font-size:.97rem;}

/* CTA */
.dgp-scope .dgp-cta{
  background:linear-gradient(135deg,#1f8fff 0%, #0e6fd6 100%);
  border-radius:18px;padding:58px 40px;text-align:center;color:#fff;
  box-shadow:0 24px 60px rgba(31,143,255,.28);
}
.dgp-scope .dgp-cta h2{font-size:clamp(1.5rem,3vw,2.1rem);font-weight:700;margin-bottom:12px;}
.dgp-scope .dgp-cta p{max-width:560px;margin:0 auto 30px;color:rgba(255,255,255,.92);}
.dgp-scope .dgp-cta .dgp-btn{background:#fff;color:#0e6fd6;box-shadow:0 10px 26px rgba(0,0,0,.18);}
.dgp-scope .dgp-cta .dgp-btn:hover{background:#eef5ff;}
.dgp-scope .dgp-contacts{margin-top:26px;font-size:.95rem;color:rgba(255,255,255,.92);}
.dgp-scope .dgp-contacts a{color:#fff;font-weight:600;text-decoration:underline;}

/* reveal animation */
.dgp-scope .dgp-reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease;}
.dgp-scope .dgp-reveal.dgp-visible{opacity:1;transform:none;}

@media(max-width:860px){
  .dgp-scope .dgp-intro-grid{grid-template-columns:1fr;gap:34px;}
  .dgp-scope section{padding:64px 0;}
  .dgp-scope .dgp-hero{padding:84px 22px 92px;}
}
