/* =========================================================
   Sertifikuoti miškai VšĮ — European Timber & Solid Biomass Fuel Supplier
   Design system: deep navy / white / light grey, sparing
   forest-green + timber-brown accents (from company logo).
   ========================================================= */

:root{
  --navy-900:#0b1c30;
  --navy-800:#0f2540;
  --navy-700:#15315a;
  --navy-600:#1c3f70;
  --green-700:#2c4d34;
  --green-600:#3a6146;
  --wood-600:#a9723f;
  --wood-500:#c08a52;
  --grey-100:#f6f7f8;
  --grey-200:#eceef1;
  --grey-300:#dde1e6;
  --grey-500:#7c8797;
  --grey-700:#4a5568;
  --ink:#151b26;
  --white:#ffffff;
  --radius-sm:4px;
  --radius-md:8px;
  --radius-lg:14px;
  --shadow-sm:0 1px 2px rgba(15,37,64,.06), 0 1px 1px rgba(15,37,64,.04);
  --shadow-md:0 6px 20px rgba(15,37,64,.10);
  --shadow-lg:0 18px 48px rgba(15,37,64,.16);
  --maxw:1240px;
  --font-head:'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html{overflow-x:hidden;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:600;line-height:1.2;margin:0 0 .5em;color:var(--navy-900);}
h1{font-size:clamp(2.1rem,4vw,3.1rem);}
h2{font-size:clamp(1.6rem,2.6vw,2.2rem);}
h3{font-size:1.25rem;}
p{margin:0 0 1em;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 24px;}
.container-narrow{max-width:840px;margin:0 auto;padding:0 24px;}
section{padding:72px 0;}
section.tight{padding:48px 0;}
.section-label{
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:.78rem;
  font-weight:600;
  color:var(--wood-600);
  margin-bottom:.6em;
  display:block;
}
.bg-grey{background:var(--grey-100);}
.bg-navy{background:var(--navy-900);color:#dbe4f0;}
.bg-navy h2,.bg-navy h3{color:var(--white);}
.bg-navy .section-label{color:var(--wood-500);}
.lede{font-size:1.15rem;color:var(--grey-700);max-width:64ch;}
.bg-navy .lede{color:#b9c7dc;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5em;
  padding:14px 28px;border-radius:var(--radius-sm);font-weight:600;font-size:.95rem;
  border:1.5px solid transparent;cursor:pointer;transition:all .15s ease;line-height:1.2;
  white-space:nowrap;
}
.btn-primary{background:var(--wood-600);color:var(--white);border-color:var(--wood-600);}
.btn-primary:hover{background:#8f5c30;border-color:#8f5c30;}
.btn-outline{background:transparent;color:var(--navy-900);border-color:var(--navy-900);}
.btn-outline:hover{background:var(--navy-900);color:var(--white);}
.bg-navy .btn-outline,.hero .btn-outline{color:var(--white);border-color:rgba(255,255,255,.55);}
.bg-navy .btn-outline:hover,.hero .btn-outline:hover{background:var(--white);color:var(--navy-900);}
.btn-ghost{background:transparent;color:var(--navy-800);border-color:var(--grey-300);}
.btn-ghost:hover{border-color:var(--navy-800);}
.btn-sm{padding:9px 18px;font-size:.85rem;}
.btn-block{width:100%;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:500;background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--grey-300);backdrop-filter:blur(6px);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 20px;max-width:var(--maxw);margin:0 auto;}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.brand img{height:32px;width:auto;flex-shrink:0;}
.main-nav{display:flex;align-items:center;gap:2px;}
.main-nav > ul{display:flex;align-items:center;gap:2px;}
.main-nav{flex-shrink:1;min-width:0;}
.main-nav > ul{flex-wrap:wrap;row-gap:4px;}
.main-nav a.nav-link{
  display:flex;align-items:center;gap:3px;padding:10px 6px;font-size:.83rem;font-weight:600;
  color:var(--navy-800);border-radius:var(--radius-sm);white-space:nowrap;
}
.main-nav a.nav-link:hover{background:var(--grey-100);}
.has-dropdown{position:relative;}
.dropdown{
  position:absolute;top:100%;left:0;background:var(--white);border:1px solid var(--grey-300);
  border-radius:var(--radius-md);box-shadow:var(--shadow-lg);min-width:240px;padding:10px;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:all .15s ease;z-index:50;
}
.has-dropdown:hover .dropdown,.has-dropdown:focus-within .dropdown{opacity:1;visibility:visible;transform:translateY(0);}
.dropdown a{display:block;padding:9px 12px;border-radius:var(--radius-sm);font-size:.9rem;color:var(--navy-800);font-weight:500;}
.dropdown a:hover{background:var(--grey-100);color:var(--wood-600);}
.dropdown .dd-caption{padding:8px 12px 4px;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--grey-500);font-weight:700;}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.header-actions .btn{padding:11px 16px;font-size:.83rem;}
.hide-mobile{display:flex;}
.show-mobile{display:none;}
.burger{background:none;border:none;cursor:pointer;padding:8px;color:var(--navy-900);}

/* Mobile nav */
.mobile-panel{
  position:fixed;inset:0 0 0 auto;width:min(340px,88vw);background:var(--white);
  box-shadow:var(--shadow-lg);transform:translateX(100%);transition:transform .25s ease;
  z-index:1000;overflow-y:auto;padding:20px;
}
.mobile-panel.open{transform:translateX(0);}
.mobile-overlay{position:fixed;inset:0;background:rgba(11,28,48,.45);opacity:0;visibility:hidden;transition:opacity .2s ease;z-index:900;}
.mobile-overlay.open{opacity:1;visibility:visible;}
.mobile-panel .mp-close{background:none;border:none;cursor:pointer;padding:6px;float:right;}
.mobile-panel details{border-bottom:1px solid var(--grey-200);padding:6px 0;}
.mobile-panel summary{padding:12px 4px;font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;}
.mobile-panel summary::-webkit-details-marker{display:none;}
.mobile-panel .mp-links a{display:block;padding:10px 6px;font-weight:600;color:var(--navy-800);border-bottom:1px solid var(--grey-200);}
.mobile-panel .mp-sublinks a{display:block;padding:8px 6px 8px 16px;font-size:.92rem;color:var(--grey-700);}
.mobile-panel .mp-cta{margin-top:18px;}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{padding:14px 0;font-size:.82rem;color:var(--grey-500);}
.breadcrumbs a{color:var(--grey-500);}
.breadcrumbs a:hover{color:var(--wood-600);}
.breadcrumbs span.sep{margin:0 6px;}
.breadcrumbs span.current{color:var(--navy-800);font-weight:600;}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:var(--white);padding:110px 0 90px;
  background-color:var(--navy-900);
  background-size:cover;background-position:center;
}
.hero-inner{max-width:720px;}
.hero .section-label{color:var(--wood-500);}
.hero h1{color:var(--white);}
.hero p.lede{color:#c7d3e3;}
.hero-ctas{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px;}
.hero-page{padding:64px 0 56px;}
.hero-page h1{color:var(--white);margin-bottom:.3em;}

/* ---------- Trust grid / features ---------- */
.grid{display:grid;gap:24px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-6{grid-template-columns:repeat(6,1fr);}
.card{
  background:var(--white);border:1px solid var(--grey-300);border-radius:var(--radius-md);
  padding:28px;box-shadow:var(--shadow-sm);
}
.feature-card .icon{width:44px;height:44px;margin-bottom:14px;color:var(--wood-600);}
.feature-card h3{font-size:1.05rem;margin-bottom:.4em;}
.feature-card p{color:var(--grey-700);font-size:.94rem;margin:0;}

/* ---------- Product cards ---------- */
.product-card{border:1px solid var(--grey-300);border-radius:var(--radius-md);overflow:hidden;background:var(--white);box-shadow:var(--shadow-sm);transition:box-shadow .15s ease,transform .15s ease;display:flex;flex-direction:column;}
.product-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);}
.product-card .thumb{aspect-ratio:4/3;overflow:hidden;background:var(--grey-200);}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;}
.product-card .body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1;}
.product-card .tag{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--wood-600);font-weight:700;}
.product-card h3{margin:0;font-size:1.1rem;}
.product-card p{color:var(--grey-700);font-size:.9rem;margin:0;flex:1;}
.product-card .cta-row{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap;}

/* ---------- CTA band ---------- */
.cta-band{background:var(--navy-900);color:var(--white);padding:56px 0;text-align:center;}
.cta-band h2{color:var(--white);margin-bottom:.3em;}
.cta-band p{color:#c7d3e3;max-width:60ch;margin:0 auto 24px;}
.cta-band .btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.cta-inline{
  border:1px dashed var(--wood-500);border-radius:var(--radius-md);padding:24px 26px;
  display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;
  background:#faf6f0;margin:36px 0;
}
.cta-inline h4{margin:0 0 4px;font-family:var(--font-body);font-size:1.02rem;}
.cta-inline p{margin:0;color:var(--grey-700);font-size:.9rem;}

/* ---------- Content blocks / prose ---------- */
.prose h2{margin-top:1.6em;}
.prose h3{margin-top:1.3em;}
.prose ul{list-style:disc;padding-left:1.3em;margin:0 0 1em;}
.prose ul li{margin-bottom:.4em;}
.prose table{width:100%;border-collapse:collapse;margin:1.4em 0;font-size:.92rem;}
.prose table th,.prose table td{border:1px solid var(--grey-300);padding:10px 12px;text-align:left;}
.prose table th{background:var(--grey-100);font-weight:700;}

/* ---------- Two-col layout ---------- */
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center;}
.split.reverse{grid-template-columns:.9fr 1.1fr;}
.split img{border-radius:var(--radius-lg);box-shadow:var(--shadow-md);}
.split-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;}
.split-media-grid img{border-radius:var(--radius-md);box-shadow:var(--shadow-sm);}

/* ---------- Process steps ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:step;}
.step{position:relative;padding:24px 20px 20px;border:1px solid var(--grey-300);border-radius:var(--radius-md);background:var(--white);}
.step::before{
  counter-increment:step;content:counter(step);
  width:34px;height:34px;border-radius:50%;background:var(--navy-900);color:var(--white);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;margin-bottom:14px;
}
.step h3{font-size:1rem;margin-bottom:.35em;}
.step p{font-size:.87rem;color:var(--grey-700);margin:0;}

/* ---------- FAQ accordion ---------- */
.faq-list{border-top:1px solid var(--grey-300);}
.faq-item{border-bottom:1px solid var(--grey-300);}
.faq-item summary{
  padding:18px 4px;cursor:pointer;font-weight:600;font-size:1rem;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--navy-900);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary .plus{flex:none;font-size:1.3rem;color:var(--wood-600);transition:transform .15s ease;}
.faq-item[open] summary .plus{transform:rotate(45deg);}
.faq-item .faq-a{padding:0 4px 20px;color:var(--grey-700);font-size:.95rem;max-width:70ch;}

/* ---------- Stat blocks (hidden until real numbers supplied) ---------- */
.stats-note{
  border:1px dashed var(--grey-300);border-radius:var(--radius-md);padding:18px 20px;
  font-size:.85rem;color:var(--grey-500);background:var(--grey-100);
}

/* ---------- Certification blocks ---------- */
.cert-block{border:1px solid var(--grey-300);border-radius:var(--radius-md);padding:24px 26px;background:var(--white);}
.cert-block .cert-row{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--grey-200);font-size:.92rem;}
.cert-block .cert-row:last-child{border-bottom:none;}
.cert-block .cert-row .k{color:var(--grey-500);}
.cert-block .cert-row .v{font-weight:600;color:var(--navy-900);text-align:right;}
.cert-placeholder{border:1px dashed var(--grey-300);border-radius:var(--radius-md);padding:20px 22px;color:var(--grey-500);font-size:.88rem;background:var(--grey-100);}

/* ---------- Table of specs ---------- */
.spec-table{width:100%;border-collapse:collapse;font-size:.92rem;}
.spec-table tr{border-bottom:1px solid var(--grey-200);}
.spec-table td{padding:11px 6px;}
.spec-table td:first-child{color:var(--grey-500);width:42%;}
.spec-table td:last-child{font-weight:600;color:var(--navy-900);}

/* ---------- Country / industry list chips ---------- */
.chip-row{display:flex;flex-wrap:wrap;gap:10px;}
.chip{padding:8px 16px;border:1px solid var(--grey-300);border-radius:999px;font-size:.85rem;font-weight:600;color:var(--navy-800);background:var(--white);}
.chip.active{background:var(--navy-900);color:var(--white);border-color:var(--navy-900);}

/* ---------- Forms ---------- */
form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
form .field{display:flex;flex-direction:column;gap:6px;margin-bottom:2px;}
form .field.full{grid-column:1/-1;}
form label{font-size:.86rem;font-weight:600;color:var(--navy-800);}
form label .req{color:var(--wood-600);}
form input,form select,form textarea{
  padding:12px 14px;border:1.5px solid var(--grey-300);border-radius:var(--radius-sm);font-size:.95rem;
  font-family:var(--font-body);background:var(--white);color:var(--ink);width:100%;
}
form input:focus,form select:focus,form textarea:focus{outline:none;border-color:var(--navy-700);}
form textarea{resize:vertical;min-height:110px;}
.form-consent{display:flex;gap:10px;align-items:flex-start;font-size:.85rem;color:var(--grey-700);}
.form-consent input{width:auto;margin-top:3px;}
.form-note{font-size:.8rem;color:var(--grey-500);margin-top:14px;}
.hp-field{position:absolute;left:-9999px;top:-9999px;}
.form-success{display:none;border:1px solid #2c4d34;background:#eef5ef;color:#1e3b25;padding:20px 22px;border-radius:var(--radius-md);font-weight:600;}
.form-success.show{display:block;}

/* ---------- Document library ---------- */
.doc-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border:1px solid var(--grey-300);border-radius:var(--radius-md);margin-bottom:12px;background:var(--white);}
.doc-row .doc-name{font-weight:600;font-size:.95rem;}
.doc-row .doc-meta{font-size:.8rem;color:var(--grey-500);}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-900);color:#aebbd0;padding:64px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:32px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.12);}
.footer-brand img{height:44px;margin-bottom:14px;background:var(--white);border-radius:6px;padding:8px 12px;}
.footer-brand p{font-size:.86rem;color:#94a3ba;max-width:32ch;}
.site-footer h4{color:var(--white);font-family:var(--font-body);font-size:.86rem;text-transform:uppercase;letter-spacing:.07em;margin-bottom:16px;}
.site-footer ul li{margin-bottom:10px;}
.site-footer a{font-size:.9rem;color:#aebbd0;}
.site-footer a:hover{color:var(--white);}
.footer-contact li{font-size:.9rem;color:#aebbd0;margin-bottom:10px;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:22px 0;font-size:.82rem;color:#7e8ba3;flex-wrap:wrap;gap:10px;}
.footer-bottom .legal-links{display:flex;gap:18px;}
.footer-bottom a{color:#7e8ba3;}
.footer-bottom a:hover{color:var(--white);}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed;left:16px;right:16px;bottom:16px;max-width:560px;background:var(--white);
  border:1px solid var(--grey-300);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);
  padding:22px 24px;z-index:2000;transform:translateY(140%);transition:transform .3s ease;
}
.cookie-banner.show{transform:translateY(0);}
.cookie-banner h4{margin:0 0 8px;font-size:1rem;font-family:var(--font-body);}
.cookie-banner p{font-size:.86rem;color:var(--grey-700);margin:0 0 16px;}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap;}
.cookie-prefs{display:none;margin-top:14px;border-top:1px solid var(--grey-200);padding-top:14px;}
.cookie-prefs.show{display:block;}
.cookie-cat{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:.85rem;}
.cookie-cat .cc-desc{color:var(--grey-500);font-size:.78rem;}
.switch{position:relative;width:38px;height:22px;flex:none;}
.switch input{opacity:0;width:0;height:0;}
.switch .slider{position:absolute;inset:0;background:var(--grey-300);border-radius:999px;transition:.15s;cursor:pointer;}
.switch .slider::before{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:var(--white);border-radius:50%;transition:.15s;}
.switch input:checked + .slider{background:var(--green-600);}
.switch input:checked + .slider::before{transform:translateX(16px);}
.switch input:disabled + .slider{opacity:.5;cursor:not-allowed;}

/* ---------- 404 ---------- */
.page-404{padding:120px 0;text-align:center;}
.page-404 .code{font-family:var(--font-head);font-size:5rem;color:var(--wood-600);margin-bottom:0;}

/* ---------- Utilities ---------- */
.mt-0{margin-top:0;}
.text-center{text-align:center;}
.mx-auto{margin-left:auto;margin-right:auto;}
.small{font-size:.85rem;color:var(--grey-500);}
.badge{display:inline-block;padding:5px 12px;border-radius:999px;background:var(--grey-100);border:1px solid var(--grey-300);font-size:.76rem;font-weight:700;letter-spacing:.03em;color:var(--navy-800);text-transform:uppercase;}
.divider{height:1px;background:var(--grey-300);margin:48px 0;border:none;}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--navy-900);color:#fff;padding:10px 16px;z-index:3000;}
.skip-link:focus{left:16px;top:16px;}
.article-meta{color:var(--grey-500);font-size:.85rem;margin-bottom:1.4em;}
.tag-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:1.2em;}
.tag-pill{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--wood-600);background:#faf3ea;padding:5px 11px;border-radius:999px;}

/* ---------- Responsive ---------- */
@media (max-width:1080px){
  .hide-mobile{display:none;}
  .show-mobile{display:flex;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .footer-brand{grid-column:1/-1;}
}
@media (max-width:900px){
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .grid-6{grid-template-columns:repeat(3,1fr);}
  .steps{grid-template-columns:repeat(2,1fr);}
  .split,.split.reverse{grid-template-columns:1fr;gap:32px;}
  .split .split-media-grid{order:-1;}
  form .form-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  section{padding:52px 0;}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
  .grid-6{grid-template-columns:repeat(2,1fr);}
  .steps{grid-template-columns:1fr;}
  .hero{padding:80px 0 60px;}
  .cta-band .btns{flex-direction:column;align-items:stretch;}
  .cta-band .btns .btn{width:100%;}
  .cta-inline{flex-direction:column;align-items:flex-start;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px;}
  .header-actions .btn-outline.hide-mobile{display:none;}
}
@media (max-width:420px){
  .footer-grid{grid-template-columns:1fr;}
}
