/* Aplinkosaugos Administravimas — redesign
   Palette pulled from the live 2016 site's computed styles:
   teal #0d8d9e (content panels) / #088393 (logo mark), nav #232323, accent yellow #ffe202. */

:root{
  --teal: #0d8d9e;
  --teal-dark: #086b78;
  --teal-deep: #075761;
  --teal-tint: #e7f5f7;
  --ink: #17181a;
  --nav: #202124;
  --yellow: #ffe202;
  --yellow-dark: #e6cb00;
  --gray-100: #f5f7f8;
  --gray-200: #e9edee;
  --gray-500: #6b7480;
  --gray-700: #3a3f45;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(17,24,28,.10);
  --shadow-lg: 0 20px 50px rgba(13,141,158,.28);
  --container: 1180px;
  --font: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--gray-700);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3{ font-family: var(--font); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1{ font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.01em; }
h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; }
p{ margin: 0 0 1em; }
.icon{ width: 1.1em; height: 1.1em; }

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink);
  padding: .6em 1em; z-index: 200; font-weight: 700;
}
.skip-link:focus{ left: 1rem; top: 1rem; }

:focus-visible{ outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(32,33,36,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 3px solid var(--teal);
}
.bar{
  max-width: var(--container); margin: 0 auto; padding: .8rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand{ display: flex; align-items: center; gap: .55rem; font-weight: 800; color: #fff; font-size: 1.05rem; white-space: nowrap; }
.brand-icon{ width: 1.6em; height: 1.6em; color: var(--teal); background: #fff; border-radius: 50%; padding: 4px; }
.footer .brand-icon{ background: transparent; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 0;
}
.nav-toggle span{ display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

.primary-nav .nav-list{ display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.primary-nav a, .dropdown-toggle{
  color: #d8dadd; font-weight: 600; font-size: .93rem; padding: .4rem .1rem;
  border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
  background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: var(--font);
  display: inline-flex; align-items: center; gap: .3rem;
}
.primary-nav a:hover, .dropdown-toggle:hover{ color: #fff; }
.primary-nav a.active{ color: var(--yellow); border-bottom-color: var(--yellow); }
.chev{ width: .8em; height: .8em; transition: transform .15s ease; }
.has-dropdown{ position: relative; }
.has-dropdown.open .chev{ transform: rotate(180deg); }
.dropdown{
  position: absolute; right: 0; top: calc(100% + .9rem);
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: .5rem; min-width: 280px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-dropdown.open .dropdown{ opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a{ display: block; color: var(--gray-700); font-weight: 600; font-size: .88rem; padding: .55rem .7rem; border-radius: 8px; border: 0; }
.dropdown li a:hover{ background: var(--teal-tint); color: var(--teal-deep); }

/* ---------- hero ---------- */
.hero{
  position: relative; background-size: cover; background-position: center;
  min-height: 300px; display: flex; align-items: center;
}
.hero--home{ min-height: 66vh; }
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(7,87,97,.88) 0%, rgba(13,141,158,.72) 55%, rgba(20,20,20,.55) 100%);
}
.hero-overlay--strong{ background: linear-gradient(125deg, rgba(6,60,67,.92) 10%, rgba(13,141,158,.75) 60%, rgba(10,10,10,.55) 100%); }
.hero-content{ position: relative; max-width: var(--container); margin: 0 auto; padding: 3rem 1.25rem; color: #fff; width: 100%; }
.hero--home .hero-content{ padding: 4rem 1.25rem; max-width: 760px; }
.hero h1{ color: #fff; margin-bottom: .4em; }
.hero-sub{ color: rgba(255,255,255,.92); font-size: 1.05rem; max-width: 58ch; }
.eyebrow{
  display: inline-block; color: var(--ink); background: var(--yellow); font-weight: 700; font-size: .82rem;
  padding: .35em .8em; border-radius: 999px; margin-bottom: 1em; letter-spacing: .02em;
}
.hero-actions{ display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: .5em; padding: .8em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: .92rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; border: 2px solid transparent;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--yellow); color: var(--ink); box-shadow: 0 10px 24px rgba(255,226,2,.35); }
.btn-primary:hover{ background: var(--yellow-dark); }
.btn-outline{ border-color: rgba(255,255,255,.8); color: #fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-ghost{ border-color: var(--teal); color: var(--teal-deep); }
.btn-ghost:hover{ background: var(--teal-tint); }

/* ---------- layout / sections ---------- */
main{ display: block; }
section{ padding: 3.2rem 1.25rem; }
.section-head{ max-width: 640px; margin: 0 auto 2.2rem; text-align: center; }
.section-head p{ color: var(--gray-500); }

.intro-grid{
  max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: center;
}
.intro-stat{
  background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; border-radius: var(--radius);
  padding: 2.4rem 1.5rem; text-align: center; box-shadow: var(--shadow-lg);
}
.stat-num{ display: block; font-size: 3.4rem; font-weight: 800; line-height: 1; margin-bottom: .3em; }
.stat-label{ font-size: .95rem; opacity: .95; }

.services{ background: var(--gray-100); }
.services-grid{
  max-width: var(--container); margin: 0 auto; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.services-grid--page{ margin-bottom: 2.2rem; }
.service-card{
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 1.3rem 1.2rem; display: flex; align-items: center; gap: .8rem;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.service-card-icon{
  width: 42px; height: 42px; min-width: 42px; border-radius: 50%; background: var(--teal-tint); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.service-card-title{ font-weight: 700; color: var(--ink); font-size: .95rem; flex: 1; }
.service-card-arrow{ color: var(--teal); font-weight: 700; opacity: 0; transition: opacity .15s ease, transform .15s ease; }
.service-card:hover .service-card-arrow{ opacity: 1; transform: translateX(3px); }

.cta{ background: linear-gradient(120deg, var(--teal-deep), var(--teal)); color: #fff; }
.cta-inner{ max-width: 640px; margin: 0 auto; text-align: center; }
.cta h2{ color: #fff; }
.cta p{ color: rgba(255,255,255,.9); }
.cta-actions{ display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.2rem; }
.cta .btn-primary{ box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* ---------- page body / panels ---------- */
.page-body{ max-width: 860px; margin: 0 auto; padding-top: 2.6rem; padding-bottom: 3.5rem; }
.panel{
  background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff;
  border-radius: var(--radius); padding: 2rem 2.2rem; margin-bottom: 1.4rem; box-shadow: var(--shadow-lg);
}
.panel h2{ color: #fff; font-size: 1.25rem; margin-bottom: .8em; }
.panel--placeholder{ text-align: center; padding: 3rem 2rem; }
.bullets{ display: grid; gap: .7rem; }
.bullets li{ display: flex; gap: .7rem; align-items: flex-start; }
.dot{
  width: 22px; height: 22px; min-width: 22px; border-radius: 50%; background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center; margin-top: .15em;
}
.dot-icon{ width: .7em; height: .7em; color: var(--yellow); }
.callout{
  font-size: 1.15rem; font-weight: 700; color: var(--ink); text-align: center; max-width: 720px; margin: 0 auto 1.6rem;
}
.callout--accent{ color: var(--teal-deep); margin-top: 2rem; }
.callout a{ color: var(--teal); text-decoration: underline; }

/* ---------- contact page ---------- */
.contact-body{ display: flex; justify-content: center; }
.contact-card{
  background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; border-radius: var(--radius);
  padding: 3rem 2.5rem; text-align: center; box-shadow: var(--shadow-lg); max-width: 520px; width: 100%;
}
.contact-card h2{ color: #fff; font-size: 1.8rem; }
.contact-role{ opacity: .92; margin-bottom: .2em; }
.contact-links{ display: flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; align-items: center; }
.contact-links a{
  display: inline-flex; align-items: center; gap: .6em; background: rgba(255,255,255,.14);
  padding: .8em 1.4em; border-radius: 999px; font-weight: 700; transition: background .15s ease;
}
.contact-links a:hover{ background: rgba(255,255,255,.26); }

.requisites-body{ padding-top: 1rem; }
.requisites-title{ text-align: center; font-size: 1.15rem; color: var(--gray-500); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1rem; }
.requisites-table{ width: 100%; max-width: 520px; margin: 0 auto; border-collapse: collapse; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); overflow: hidden; }
.requisites-table tr{ border-bottom: 1px solid var(--gray-200); }
.requisites-table tr:last-child{ border-bottom: 0; }
.requisites-table th, .requisites-table td{ padding: .75em 1.1em; text-align: left; font-size: .92rem; }
.requisites-table th{ color: var(--gray-500); font-weight: 600; white-space: nowrap; width: 40%; }
.requisites-table td{ color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer{ background: var(--nav); color: #c7cbcf; border-top: 3px solid var(--teal); }
.footer-grid{
  max-width: var(--container); margin: 0 auto; padding: 3rem 1.25rem 2rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 2.4rem;
}
.site-footer h3{ color: #fff; font-size: 1rem; margin-bottom: .9em; }
.site-footer .brand{ color: #fff; margin-bottom: .6em; }
.tagline{ color: #9aa0a6; font-size: .9rem; }
.footer-links{ display: grid; gap: .5rem; }
.footer-links a{ color: #c7cbcf; font-size: .9rem; transition: color .15s ease; }
.footer-links a:hover{ color: var(--yellow); }
.site-footer p a{ display: inline-flex; align-items: center; gap: .5em; color: #c7cbcf; }
.site-footer p a:hover{ color: var(--yellow); }
.footer-bottom{ border-top: 1px solid rgba(255,255,255,.08); text-align: center; padding: 1.2rem; font-size: .82rem; color: #7d838a; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .intro-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px){
  .nav-toggle{ display: flex; }
  .primary-nav{
    position: fixed; inset: 64px 0 auto 0; background: var(--nav); padding: 1rem 1.25rem 1.5rem;
    max-height: calc(100vh - 64px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    box-shadow: 0 16px 30px rgba(0,0,0,.35);
  }
  .primary-nav.open{ opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .primary-nav .nav-list{ flex-direction: column; align-items: stretch; gap: .2rem; }
  .primary-nav a, .dropdown-toggle{ padding: .8rem .2rem; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; justify-content: space-between; }
  .dropdown{
    position: static; box-shadow: none; background: rgba(255,255,255,.04); margin-top: .2rem;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-dropdown.open .dropdown{ display: grid; }
  .dropdown li a{ color: #d8dadd; }
  .dropdown li a:hover{ background: rgba(255,255,255,.08); color: #fff; }
  .footer-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){
  section{ padding: 2.4rem 1.1rem; }
  .panel{ padding: 1.6rem 1.4rem; }
  .contact-card{ padding: 2.2rem 1.5rem; }
}
