:root{
  --bg:#0c0e13;
  --bg2:#0f1117;
  --surface:rgba(255,255,255,.06);
  --surface2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.12);
  --text:#eef2ff;
  --muted:rgba(238,242,255,.72);
  --muted2:rgba(238,242,255,.56);

  --brand:#2b6cff;
  --brand2:#1c4ed8;

  --radius:16px;
  --shadow: 0 14px 40px rgba(0,0,0,.38);
  --shadow2: 0 10px 24px rgba(0,0,0,.28);
}

/* =========================
   Base / Reset
========================= */
*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Noto Sans";
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 0%, rgba(43,108,255,.10), transparent 55%),
    radial-gradient(700px 500px at 90% 10%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%; display:block}
img,video,iframe{max-width:100%}

.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

.muted{color:var(--muted2); font-size:12px}
.muted-small{
  margin: 0 0 10px;
  color: var(--muted2);
  font-size: 12.5px;
  line-height: 1.6;
}

.dot{width:8px;height:8px;border-radius:999px;display:inline-block}
.dot--on{ background:#22c55e; }
.dot--off{ background:#ef4444; }

.page-bg{
  background: var(--content-bg) center / cover no-repeat fixed;
}

/* =========================
   Layout wrappers
========================= */
.main{
  background: rgba(12,14,19,.72);
  backdrop-filter: blur(0px);
  min-height: calc(100vh - 160px);
  padding: 28px 0 48px;
}

.card{
  background: rgb(23 24 28 / 0%);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =========================
   Topbar / Navigation
========================= */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgb(12 14 20);
  backdrop-filter: blur(12px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{display:flex; align-items:center; gap:12px; min-width:240px}
.logo{
  width:38px;
  height:38px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.logo-img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.brand-title{display:flex; flex-direction:column; line-height:1.1}
.brand-title strong{font-size:14px; letter-spacing:.2px}
.brand-title span{font-size:12px; color:var(--muted2)}

.nav{display:flex; gap:6px; flex-wrap:wrap; justify-content:center}
.nav a{
  font-size:13px;
  color:var(--muted);
  padding:10px 12px;
  border-radius:12px;
}
.nav a:hover{background: rgba(255,255,255,.06); color:var(--text)}
.nav a.is-active{
  background: rgba(255,255,255,.08);
  color: rgba(238,242,255,.92);
  border:1px solid rgba(255,255,255,.10);
}

.actions{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  min-width:240px;
}

/* =========================
   Buttons / Pills / Divider
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  font-weight:600;
  box-shadow: var(--shadow2);
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
}
.btn.primary{
  background: linear-gradient(135deg, rgba(43,108,255,.95), rgba(28,78,216,.88));
  border-color: rgba(43,108,255,.55);
}
.btn.primary:hover{border-color: rgba(255,255,255,.20)}
.btn.ghost{background: transparent}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  color:var(--muted);
  padding:8px 10px;
  margin-top: 8px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.divider{height:1px; background: rgba(255,255,255,.08); margin:18px 0}

/* =========================
   Hero
========================= */
.hero{padding: 6px 0 8px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
}
.h1{
  margin:14px 0 10px;
  font-size:42px;
  line-height:1.08;
  letter-spacing:-.8px;
}
.lead{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
}
.hero-card{padding:18px}
.hero-card h3{margin:0 0 8px; font-size:15px}
.hero-card p{margin:0; color:var(--muted2); font-size:13px; line-height:1.75}
.hero-meta{margin:0;color:var(--muted2);font-size:13px;line-height:1.75}

/* =========================
   Sections / Head
========================= */
.section{padding:18px 0}
.section h2{margin:0; font-size:24px; letter-spacing:-.25px}
.section p{margin:0 0 14px; color:var(--muted); line-height:1.75; max-width: 80ch}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.section-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.grid-3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}

/* =========================
   Services
========================= */
.services-panel{
  padding:14px;
  background: rgb(23 24 28 / 0%);
  backdrop-filter: blur(1px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.services-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(238,242,255,.90);
  font-weight:700;
  font-size:13px;
  line-height:1;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.chip:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(43,108,255,.95);
  box-shadow: 0 0 0 4px rgba(43,108,255,.16);
}
.chip:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}
.services-note{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:12px;
  line-height:1.6;
}

/* =========================
   Reviews (Cards)
========================= */
.reviews-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}
.review-card{padding:16px}

.review-top{
  display:flex;
  align-items:center;
  gap:12px;
}
.review-avatar{
  width:42px;
  height:42px;
  border-radius:999px;
  background: rgba(43,108,255,.15);
  border:1px solid var(--border);
  overflow:hidden;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.review-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.review-avatar span{
  font-weight:800;
  letter-spacing:.02em;
  color: var(--text);
}
.review-meta{min-width:0}
.review-name{font-weight:800; line-height:1.1}
.review-sub{font-size:13px; color: var(--muted2)}

.review-stars{
  margin-left:auto;
  display:flex;
  gap:2px;
  flex:0 0 auto;
}
.star{font-size:14px; opacity:.35}
.star.on{opacity:1}

.review-text{
  margin-top:12px;
  color: var(--muted);
  line-height:1.55;
}
.review-link{margin-top:12px}

/* =========================
   OCPC Banners
========================= */
.ocpc-link{ color:#2761e9; font-weight:800; }
.ocpc-link:hover{ text-decoration:underline; }

/* nuimam "card" isvaizda tik siam blokui */
.ocpc-banners.card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/*
  Keisk dydžius čia:
  - --ocpc-row-1: viršutinė eilė (du maži)
  - --ocpc-row-2: apatinė eilė (platus)
  - --ocpc-gap: tarpai
  - --ocpc-left-fr: kairio didelio pločio santykis
*/
.ocpc-banners{
  --ocpc-gap: 12px;
  --ocpc-row-1: 190px;
  --ocpc-row-2: 170px;
  --ocpc-radius: 14px;
  --ocpc-left-fr: 3.873;
}

.ocpc-grid{
  display:grid;
  grid-template-columns: calc(var(--ocpc-left-fr) * 1fr) 1fr 1fr;
  grid-template-rows: var(--ocpc-row-1) var(--ocpc-row-2);
  gap: var(--ocpc-gap);
  align-items: stretch;
}

/* 1 didelis kairėj */
.ocpc-grid .ocpc-banner:nth-child(1){ grid-column:1; grid-row:1 / span 2; }
/* 2 maži viršuj */
.ocpc-grid .ocpc-banner:nth-child(2){ grid-column:2; grid-row:1; }
.ocpc-grid .ocpc-banner:nth-child(3){ grid-column:3; grid-row:1; }
/* 1 platus apačioj */
.ocpc-grid .ocpc-banner:nth-child(4){ grid-column:2 / span 2; grid-row:2; }

.ocpc-banner{
  display:block;
  height:100%;
  border-radius: var(--ocpc-radius);
  overflow:hidden;
  background:#000;
}
.ocpc-banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition: filter .2s ease, transform .35s ease;
}
.ocpc-banner:hover img{
  filter: brightness(1.03);
  transform: scale(1.02);
}

/* OCPC MOBILE */
@media (max-width: 620px){
  .ocpc-grid{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
  }
  .ocpc-grid .ocpc-banner:nth-child(1){
    grid-column: 1 / span 2;
    grid-row: 1;
    height: auto;
  }
  .ocpc-grid .ocpc-banner:nth-child(2){
    grid-column: 1;
    grid-row: 2;
    height: auto;
  }
  .ocpc-grid .ocpc-banner:nth-child(3){
    grid-column: 2;
    grid-row: 2;
    height: auto;
  }
  .ocpc-grid .ocpc-banner:nth-child(4){
    grid-column: 1 / span 2;
    grid-row: 3;
    height: auto;
  }
  .ocpc-banner img{
    width:100%;
    height:auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transform: none;
  }
}

/* =========================
   Tables
========================= */
.table-wrap{padding:10px}
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
}
.table th, .table td{padding:12px 12px; text-align:left; font-size:13px}
.table th{background: rgba(255,255,255,.06); color:rgba(238,242,255,.90); font-weight:900}
.table td{border-top:1px solid rgba(255,255,255,.08); color:var(--muted)}
.table tr:hover td{background: rgba(255,255,255,.04); color:var(--text)}
.kaina{font-weight:900; color:var(--text)}

/* =========================
   Steps
========================= */
.steps{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.step{padding:16px}
.step .num{
  width:34px;height:34px;border-radius:12px;
  display:grid; place-items:center;
  background: rgba(43,108,255,.14);
  border:1px solid rgba(43,108,255,.32);
  font-weight:900;
}
.step h3{margin:10px 0 6px; font-size:14px}
.step p{margin:0; color:var(--muted2); font-size:13px; line-height:1.65}

/* =========================
   FAQ
========================= */
.faq{padding:10px}
details{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  padding:12px 12px;
  margin-bottom:10px;
}
summary{cursor:pointer; font-weight:600; font-size:13px; color:rgba(238,242,255,.92)}
details p{margin:10px 0 0; color:var(--muted2); font-size:13px; line-height:1.75}

/* =========================
   Forms
========================= */
.form{padding:16px}
label{display:block; font-size:12px; color:var(--muted); margin:10px 0 6px}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(43,108,255,.55);
  box-shadow:0 0 0 4px rgba(43,108,255,.12);
}
textarea{min-height:120px; resize:vertical}

.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

/* Contact form */
.contact-form{ padding:18px; }
.contact-form textarea{ min-height:100px; }

.consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:12px;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.consent__check{
  width:12px;
  height:12px;
  flex:0 0 auto;
  accent-color: var(--brand);
}
.consent__text{
  font-size:12px;
  color:var(--muted);
  line-height:1.45;
}
.contact-submit{
  width:100%;
  margin-top:12px;
  padding:12px 14px;
}
.contact-hint{
  margin:10px 0 0;
  font-size:12px;
  color:var(--muted2);
  line-height:1.5;
}

/* Contact grid */
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap:14px;
  margin-top:14px;
}

/* Consent row (legacy helpers jei naudoji kitur) */
.consent-row{margin-top:12px}
.consent-label{
  margin:0;
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
}
.consent-label span{
  font-size:12px;
  color:var(--muted);
  line-height:1.4;
}

/* =========================
   Alerts
========================= */
.alert{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgb(255 0 0 / 8%);
  color: rgba(238,242,255,.88);
  font-size:13px;
  line-height:1.6;
}
.alert.ok{border-color: rgba(34,197,94,.35); background: rgba(34,197,94,.10)}
.alert.bad{border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.10)}

/* =========================
   Footer
========================= */
.footer{
  background: rgba(12,14,19,.82);
  backdrop-filter: blur(12px);
  border-top:1px solid rgba(255,255,255,.06);
  padding:18px 0 22px;
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  align-items:center;
}
.footer-left b{color:rgba(238,242,255,.92)}
.footer-left .muted{color:var(--muted2); margin-top:6px}
.footer-right{display:flex; gap:10px; flex-wrap:wrap}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-top:14px;
}

/* =========================
   Map
========================= */
.map-card{padding:0px}
#map{
  width:100%;
  height: 420px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
}

/* =========================
   Contact: quick actions (Phone / WhatsApp / Messenger)
========================= */
.contact-quick{
  position: relative;
  overflow: hidden;
}
.contact-actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}
.contact-action{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow2);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
}
.contact-action:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.contact-action img{
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.32));
}
.contact-action__text{
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.contact-action__title{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
  color: rgba(238,242,255,.92);
}
.contact-action__sub{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-note{
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.contact-bullets{
  margin: 10px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}
.contact-bullets li{ margin: 6px 0; }

.contact-action.is-disabled{
  opacity: .55;
  cursor: not-allowed;
}
.contact-action.is-disabled:hover{
  transform: none;
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
}

/* =========================
   Facebook Messenger Customer Chat tweaks
========================= */
#fb-root{
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.fb_dialog, .fb_customer_chat_bubble_animated_no_badge {
  z-index: 9999 !important;
}

/* =========================
   Top button
========================= */
.top-button{
  position: fixed;
  right: 24px;
  bottom: 119px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);

  background-color: rgb(31 32 37 / 71%);
  background-image: url("/assets/expand_less.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;

  display: grid;
  place-items: center;
  font-size: 0;
  line-height: 0;

  box-shadow: var(--shadow2);
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease,
              background-color .15s ease, border-color .15s ease;
  z-index: 9998;
}
.top-button:hover{
  background-color: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
.top-button.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================
   Responsive / Mobile
========================= */
@media (max-width: 980px){
  .container{
    width:100%;
    padding-left:16px;
    padding-right:16px;
  }

  .card{max-width:100%; overflow:hidden}

  .topbar-inner{
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:10px;
    padding:12px 0;
  }

  .brand{min-width:auto; width:100%}

  .actions{
    min-width:auto;
    width:100%;
    justify-content:stretch;
    flex-wrap:wrap;
    gap:10px;
  }

  .top-button{ right: 14px; bottom: 80px; }

  .section-actions{ width: 100%; margin-bottom: 10px; }
  .section-head { gap: 0px; }
  .footer-right{ width: 100%; }
  .nav{
    display:flex;
    width:100%;
    justify-content:flex-start;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:8px;
    padding:6px 2px;
    scrollbar-width:none;
  }
  .nav::-webkit-scrollbar{display:none}
  .nav a{white-space:nowrap; flex:0 0 auto}

  .hero-grid{grid-template-columns: 1fr}
  .h1{font-size:34px}

  .grid-3{grid-template-columns: 1fr}
  .steps{grid-template-columns: 1fr}

  .row{width:100%}
  .row .btn{width:100%}

  form,.form{width:100%}
  input,textarea,button,.btn{width:100%}

  .contact-grid{grid-template-columns: 1fr}

  .section-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .reviews-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  #map{height:360px}
  .fb_dialog { bottom: 70px !important; right: 12px !important; }
}

@media (max-width: 640px){
  .reviews-grid{ grid-template-columns: 1fr; }
}
