/* Verdeo — Microsoft Dynamics 365 Business Central konsultacijos
   Stiliaus failas */

:root {
  --green-900: #063a27;
  --green-800: #0a5236;
  --green-700: #0b7a4b;
  --green-600: #12a566;
  --green-500: #16c172;
  --green-100: #d1fae5;
  --green-050: #eefbf4;
  --ink: #0f2019;
  --ink-soft: #38493f;
  --muted: #63756c;
  --line: #e3ece7;
  --bg: #ffffff;
  --bg-soft: #f5faf7;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(6, 58, 39, .06), 0 4px 14px rgba(6, 58, 39, .05);
  --shadow-md: 0 10px 30px rgba(6, 58, 39, .10);
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }

h1, h2, h3, h4 { line-height: 1.18; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 14px;
}

.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: 1rem;
  padding: .82em 1.5em; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: #fff; color: var(--green-800); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-white { background: #fff; color: var(--green-800); }
.btn-white:hover { background: var(--green-050); color: var(--green-800); transform: translateY(-1px); }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: 0; font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; margin-right: 10px; }
.brand span { color: var(--green-800); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-soft); font-weight: 500; font-size: .97rem;
  padding: .5em .85em; border-radius: 8px;
}
.nav-links a:hover { color: var(--green-700); background: var(--green-050); }
.nav-links a.active { color: var(--green-800); font-weight: 600; }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 82% -8%, rgba(18,165,102,.16), transparent 60%),
    radial-gradient(720px 420px at -5% 10%, rgba(11,122,75,.10), transparent 55%),
    var(--bg-soft);
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: var(--muted); font-size: .92rem; }
.hero-trust b { color: var(--ink); font-size: 1.35rem; display: block; font-weight: 800; letter-spacing: -.02em; }

/* Hero visual card */
.hero-visual {
  background: linear-gradient(160deg, var(--green-800), var(--green-600));
  border-radius: 22px; padding: 30px; color: #fff;
  box-shadow: var(--shadow-md); position: relative;
}
.hero-visual h3 { color: #fff; font-size: 1.15rem; }
.hero-visual p { color: rgba(255,255,255,.85); }
.hv-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); }
.hv-row:first-of-type { border-top: none; }
.hv-ico { flex: 0 0 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.2rem; }
.hv-row div strong { display: block; font-size: .98rem; }
.hv-row div span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* Sections */
section { padding: clamp(56px, 8vw, 92px) 0; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--green-900); color: #fff; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,.82); }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfe6da; }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-050); color: var(--green-700); margin-bottom: 18px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .35em; }
.card p { margin-bottom: 0; font-size: .97rem; }
.card ul { margin: 14px 0 0; padding-left: 0; list-style: none; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .94rem; color: var(--ink-soft); }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 15px; height: 9px;
  border-left: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}

/* Steps / process */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: grid; place-items: center; font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .93rem; margin-bottom: 0; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-050); border: 1.5px solid var(--green-600);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 8px; width: 9px; height: 5px;
  border-left: 2px solid var(--green-700); border-bottom: 2px solid var(--green-700); transform: rotate(-45deg);
}

/* CTA band */
.cta-band { background: linear-gradient(150deg, var(--green-800), var(--green-600)); color: #fff; border-radius: 24px; padding: clamp(38px, 5vw, 62px); text-align: center; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .btn { margin-top: 10px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16 / 9; background: linear-gradient(140deg, var(--green-700), var(--green-500)); display: grid; place-items: center; }
.post-thumb svg { width: 64px; height: 64px; opacity: .92; }
.post-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.post-body h3 { font-size: 1.18rem; margin-bottom: .4em; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--green-700); }
.post-body p { font-size: .95rem; flex: 1; }
.post-more { font-weight: 600; color: var(--green-700); font-size: .95rem; margin-top: 6px; }
.tag { display: inline-block; background: var(--green-050); color: var(--green-800); font-size: .78rem; font-weight: 600; padding: .28em .7em; border-radius: 999px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; }
.article-hero { padding: clamp(44px,6vw,72px) 0 30px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.article-hero .container { max-width: 800px; }
.article-meta { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.article-body { padding: 48px 0 20px; font-size: 1.06rem; }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; }
.article-body ul, .article-body ol { color: var(--ink-soft); padding-left: 1.3em; margin-bottom: 1.2em; }
.article-body li { margin-bottom: .5em; }
.article-body blockquote {
  margin: 1.5em 0; padding: 8px 22px; border-left: 4px solid var(--green-600);
  background: var(--green-050); border-radius: 0 10px 10px 0; color: var(--ink-soft); font-style: italic;
}
.article-body img { border-radius: var(--radius); margin: 1.5em 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 8px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .info-item .ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--green-050); color: var(--green-700); display: grid; place-items: center; }
.contact-info .info-item h4 { margin: 0 0 2px; font-size: 1rem; }
.contact-info .info-item p { margin: 0; font-size: .95rem; }

form.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8em .9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(18,165,102,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }

/* Footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand span { color: #fff; }
.site-footer p { color: rgba(255,255,255,.66); font-size: .94rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .93rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: .86rem; color: rgba(255,255,255,.55);
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hide { display: none !important; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 2px;
    box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .28s ease; z-index: 40;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .8em .5em; font-size: 1.05rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
}

@media (max-width: 560px) {
  .grid-3, .grid-2, .post-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Blog images */
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin: 6px 0 2px; box-shadow: var(--shadow-md); }

/* Blog article enhancements */
.tldr { background: #eef8f1; border-left: 4px solid var(--green-600); padding: 16px 20px; border-radius: 10px; margin: 22px 0 8px; font-size: 1.02rem; line-height: 1.6; }
.faq { margin: 8px 0 8px; }
.faq-item { padding: 16px 0; border-bottom: 1px solid #e6ebe8; }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.08rem; margin-bottom: .35em; }
.faq-item p { margin: 0; }
.related { margin: 30px 0 8px; }
.related h3 { margin-bottom: .5em; }
.related ul { list-style: none; padding: 0; margin: 0; }
.related li { margin: 8px 0; }
.related a { color: var(--green-700); font-weight: 600; }
.related a:hover { text-decoration: underline; }
