*{
  box-sizing:border-box;
}

:root{
  --green:#00a63c;
  --dark:#26343c;
  --muted:#69767c;
  --line:#dfe7e2;
}

html,
body{
  margin:0;
  min-height:100%;
  background:#fff;
  color:var(--dark);
  font-family:Arial,Helvetica,sans-serif;
}

body{
  overflow:hidden;
}


/* ========================================
   VIRŠUTINĖ JUOSTA
   ======================================== */

.topbar{
  position:fixed;
  z-index:12;
  left:0;
  right:0;
  top:0;
  height:88px;
  padding:28px 5.25vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.mini-logo{
  font-size:31px;
  line-height:1;
  font-weight:800;
  letter-spacing:.01em;
  text-decoration:none;
  color:var(--dark);
}

.mini-logo span{
  color:var(--green);
}

.lang{
  font-size:15px;
  font-weight:600;
  letter-spacing:.08em;
  color:#39454b;
}

.lang span{
  margin-left:6px;
}


/* ========================================
   FONAS
   ======================================== */

.visual{
  position:fixed;
  z-index:0;
  right:0;
  top:0;
  width:69vw;
  height:100vh;
  overflow:hidden;
  pointer-events:none;
}

.visual-bg{
  position:absolute;
  inset:0;
  background:url('econamas-bg.jpg') center center/cover no-repeat;
}

.visual::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(
    90deg,
    #fff 0%,
    rgba(255,255,255,.98) 6%,
    rgba(255,255,255,.78) 20%,
    rgba(255,255,255,.25) 39%,
    rgba(255,255,255,0) 57%
  );
}

.visual::after{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.28),
    transparent 18%,
    transparent 76%,
    rgba(255,255,255,.88) 94%
  );
}

#particleCanvas{
  position:absolute;
  z-index:3;
  inset:0;
  width:100%;
  height:100%;
}


/* ========================================
   PAGRINDINĖ HERO DALIS
   ======================================== */

.hero{
  position:relative;
  z-index:5;
  height:100vh;
  min-height:760px;
  display:flex;
  align-items:center;
  padding:92px 0 160px 5.25vw;
}

.copy{
  width:min(720px,47vw);
}

.eyebrow{
  margin-bottom:24px;
  font-size:15px;
  letter-spacing:.25em;
  font-weight:500;
  color:#506069;
}

h1{
  margin:0;
  font-size:clamp(78px,6.3vw,108px);
  line-height:.88;
  letter-spacing:-.052em;
  font-weight:800;
  color:var(--dark);
}

h1 span{
  color:var(--green);
}

.headline{
  margin:28px 0 24px;
  font-size:clamp(31px,2.45vw,45px);
  line-height:1.08;
  letter-spacing:.01em;
  font-weight:400;
}

.domains{
  display:flex;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:24px;
  font-size:20px;
}

.domains b{
  color:var(--green);
}

.lead{
  max-width:650px;
  margin:0;
  font-size:18px;
  line-height:1.48;
  color:#56636a;
}

.note{
  margin:12px 0 28px;
  font-size:16px;
  color:#a0a9ae;
}


/* ========================================
   GAUTI PASIŪLYMĄ MYGTUKAS
   ======================================== */

.offer-btn{
  width:390px;
  border:0;
  border-radius:999px;
  padding:20px 26px;
  background:linear-gradient(135deg,#009b38,#00b844);
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:17px;
  font-weight:500;
  letter-spacing:.055em;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(0,163,59,.15);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease;
}

.offer-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(0,163,59,.19);
  filter:saturate(1.03);
}


/* ========================================
   6 VEIKLOS SRITYS
   ======================================== */

.sectors{
  position:fixed;
  z-index:6;
  left:5.25vw;
  right:5.25vw;
  bottom:5.5vh;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  align-items:start;
}

.sector{
  min-height:88px;
  text-align:center;
  padding:0 26px;
  border-left:1px solid var(--line);
}

.sector:first-child{
  border-left:0;
}

.sector svg{
  width:34px;
  height:34px;
  margin-bottom:9px;
  fill:none;
  stroke:var(--green);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.sector span{
  font-size:13px;
  line-height:1.25;
  letter-spacing:.14em;
  color:#38454b;
}


/* ========================================
   PLANŠETĖ / MAŽESNIS KOMPIUTERIS
   ======================================== */

@media(max-width:1000px){

  body{
    overflow:auto;
  }

  .topbar{
    height:72px;
    padding:22px 6vw;
  }

  .mini-logo{
    font-size:25px;
  }

  .visual{
    width:100vw;
    height:100vh;
    opacity:.62;
  }

  .visual::before{
    background:linear-gradient(
      90deg,
      #fff 0%,
      rgba(255,255,255,.98) 39%,
      rgba(255,255,255,.68) 72%,
      rgba(255,255,255,.18) 100%
    );
  }

  .hero{
    height:auto;
    min-height:100vh;
    padding:116px 6vw 260px;
    align-items:flex-start;
  }

  .copy{
    width:100%;
    max-width:680px;
  }

  h1{
    font-size:clamp(62px,15vw,92px);
  }

  .headline{
    font-size:clamp(28px,7vw,42px);
  }

  .sectors{
    position:absolute;
    bottom:30px;
    grid-template-columns:repeat(3,1fr);
    gap:22px 0;
  }

  .sector:nth-child(4){
    border-left:0;
  }
}


/* ========================================
   TELEFONAS
   ======================================== */

@media(max-width:560px){

  html,
  body{
    width:100%;
    min-height:0;
    overflow-x:hidden;
  }

  body{
    overflow-y:auto;
  }


  /* Viršutinis ECONAMAS */

  .topbar{
    position:absolute;
    height:60px;
    padding:18px 6vw 0;
  }

  .mini-logo{
    font-size:24px;
  }

  .lang{
    display:none;
  }


  /* Fonas */

  .visual{
    position:absolute;
    top:0;
    left:0;
    right:auto;
    bottom:0;
    width:100%;
    height:auto;
    min-height:0;
    opacity:.48;
  }

  .visual-bg{
    background-position:center center;
  }

  .visual::before{
    background:linear-gradient(
      180deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.82) 22%,
      rgba(255,255,255,.48) 55%,
      rgba(255,255,255,.82) 100%
    );
  }


  /* Pagrindinis turinys */

  .hero{
    height:auto;
    min-height:0;
    display:block;
    padding:78px 6vw 14px;
  }

  .copy{
    width:100%;
    max-width:none;
  }

  .eyebrow{
    margin:0 0 12px;
    font-size:10px;
    line-height:1.3;
    letter-spacing:.16em;
  }

  h1{
    margin:0;
    font-size:16.1vw;
    line-height:.9;
    letter-spacing:-.055em;
    white-space:nowrap;
  }

  .headline{
    margin:20px 0 20px;
    font-size:3.9vw;
    line-height:1.22;
    letter-spacing:.015em;
    font-weight:400;
  }


  /* Visi 3 domenai vienoje eilutėje */

  .domains{
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:flex-start;
    gap:5px;
    width:100%;
    margin:0 0 20px;
    font-size:3.65vw;
    line-height:1.2;
    white-space:nowrap;
  }

  .domains strong{
    white-space:nowrap;
  }

  .domains b{
    flex:0 0 auto;
    margin:0 1px;
  }

  .lead{
    max-width:none;
    margin:0;
    font-size:16px;
    line-height:1.5;
  }

  .note{
    margin:10px 0 22px;
    font-size:14px;
    line-height:1.4;
  }


  /* Mygtukas */

  .offer-btn{
    width:100%;
    min-height:56px;
    padding:16px 22px;
    font-size:15px;
  }


  /* ========================================
     6 IKONOS VIENOJE EILĖJE
     ======================================== */

  .sectors{
    position:relative;
    z-index:6;
    left:auto;
    right:auto;
    bottom:auto;

    width:92%;
    margin:4px auto 14px;

    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:0;

    border-top:1px solid var(--line);
  }

  .sector{
    min-width:0;
    min-height:82px;
    padding:11px 1px 7px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;

    text-align:center;

    border-top:0;
    border-left:1px solid var(--line);
  }

  .sector:first-child{
    border-left:0;
  }

  .sector:nth-child(even){
    border-left:1px solid var(--line);
  }

  .sector svg{
    width:24px;
    height:24px;
    flex:0 0 24px;
    margin-bottom:7px;
  }

  .sector span{
    display:block;
    width:100%;
    font-size:8.5px;
    line-height:1.15;
    letter-spacing:0;
    text-align:center;
    color:#38454b;
    overflow-wrap:normal;
    word-break:normal;
  }
}


/* ========================================
   PASIŪLYMO MODALINIS LANGAS
   ======================================== */

.modal{
  position:fixed;
  inset:0;
  z-index:40;
  display:none;
}

.modal.open{
  display:block;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(21,47,32,.26);
  backdrop-filter:blur(8px);
}

.modal-card{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(92vw,520px);
  background:#fff;
  border:1px solid #dce9df;
  border-radius:22px;
  padding:36px;
  box-shadow:0 30px 80px rgba(15,55,30,.18);
}

.close{
  position:absolute;
  right:18px;
  top:12px;
  border:0;
  background:transparent;
  font-size:34px;
  color:#66746c;
  cursor:pointer;
}

.modal-label{
  font-size:12px;
  letter-spacing:.18em;
  color:var(--green);
  font-weight:700;
}

.modal h2{
  font-size:34px;
  margin:10px 0 12px;
}

.modal p{
  color:#607068;
  line-height:1.5;
}

#offerForm label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin:18px 0 8px;
}

#offerForm input[type=email]{
  width:100%;
  padding:15px 16px;
  border:1px solid #cfddd3;
  border-radius:11px;
  font-size:16px;
  outline:none;
}

#offerForm input[type=email]:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(0,163,59,.08);
}

.hp{
  position:absolute!important;
  left:-9999px!important;
  opacity:0!important;
}

.turnstile-wrap{
  margin:14px 0;
}

.submit-btn{
  width:100%;
  border:0;
  border-radius:999px;
  background:#00a33b;
  color:#fff;
  padding:17px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.07em;
  cursor:pointer;
}

.form-message{
  min-height:20px;
  font-size:14px;
}

.form-message.success{
  color:#087d2e;
}

.form-message.error{
  color:#a32d2d;
}


/* ========================================
   MODALINIS LANGAS TELEFONE
   ======================================== */

@media(max-width:560px){

  .modal-card{
    width:92vw;
    max-height:90vh;
    overflow-y:auto;
    padding:28px 22px;
  }

  .modal h2{
    font-size:30px;
  }
}

/* ========================================
   GOOGLE ANALYTICS SUTIKIMO LANGAS
   ======================================== */

.cookie-consent{
  position:fixed;
  z-index:60;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  width:min(92vw,920px);
  padding:17px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  background:rgba(255,255,255,.98);
  border:1px solid #dce9df;
  border-radius:16px;
  box-shadow:0 18px 55px rgba(15,55,30,.16);
}

.cookie-consent--hidden{
  display:none;
}

.cookie-consent__text{
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#526159;
  font-size:13px;
  line-height:1.4;
}

.cookie-consent__text strong{
  color:var(--dark);
  font-size:14px;
}

.cookie-consent__actions{
  flex:0 0 auto;
  display:flex;
  gap:9px;
}

.cookie-btn{
  border-radius:999px;
  padding:11px 15px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.045em;
  cursor:pointer;
  white-space:nowrap;
}

.cookie-btn--secondary{
  border:1px solid #cfddd3;
  background:#fff;
  color:#56636a;
}

.cookie-btn--primary{
  border:1px solid var(--green);
  background:var(--green);
  color:#fff;
}

@media(max-width:700px){
  .cookie-consent{
    bottom:12px;
    width:calc(100vw - 24px);
    padding:15px;
    flex-direction:column;
    align-items:stretch;
    gap:13px;
  }

  .cookie-consent__actions{
    width:100%;
  }

  .cookie-btn{
    flex:1 1 0;
    padding:12px 8px;
    font-size:10px;
  }
}
