:root {
  --green-900: #163f2c;
  --green-800: #1f5b3b;
  --green-700: #2d7450;
  --green-500: #76b82a;
  --green-400: #8ac53f;
  --green-100: #edf5e6;
  --green-050: #f7faf4;
  --ink-900: #17211b;
  --ink-700: #405047;
  --ink-500: #6a776f;
  --line: #dce4de;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px rgba(22, 63, 44, 0.08);
  --shadow-lg: 0 25px 70px rgba(22, 63, 44, 0.16);
  --radius: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink-900);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
button, a { -webkit-tap-highlight-color: transparent; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link:focus { width: auto; height: auto; margin: 12px; padding: 10px 14px; clip: auto; z-index: 9999; background: #fff; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: rgba(255,255,255,.92); border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px); transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(22,63,44,.06); }
.nav-shell { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-900); font-weight: 800; font-size: 1.18rem; text-decoration: none; letter-spacing: -.02em; }
.brand-logo { width: 56px; height: 56px; flex: 0 0 56px; display: grid; place-items: center; padding: 7px; overflow: visible; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgba(22,63,44,.06); }
.brand-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 4px; }
.brand-logo-small { width: 44px; height: 44px; flex-basis: 44px; padding: 6px; border-color: rgba(255,255,255,.16); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink-700); font-size: .94rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover { color: var(--green-800); }
.site-nav .nav-cta { padding: 11px 17px; color: var(--white); background: var(--green-800); border-radius: 999px; }
.site-nav .nav-cta:hover { color: var(--white); background: var(--green-900); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: var(--ink-900); border-radius: 5px; }

.hero { padding: 170px 0 105px; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(118,184,42,.18), transparent 34%), linear-gradient(180deg, #fbfdf9, #fff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr); gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--green-700); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #bfe58f; }
h1, h2, h3 { margin-top: 0; line-height: 1.14; letter-spacing: -.035em; }
h1 { max-width: 880px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.35rem); font-weight: 820; }
h2 { margin-bottom: 20px; font-size: clamp(2.15rem, 4vw, 3.4rem); font-weight: 780; }
h3 { margin-bottom: 12px; font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.hero-lead { max-width: 760px; margin: 0; color: var(--ink-700); font-size: clamp(1.12rem, 2vw, 1.34rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--green-800); }
.button-primary:hover { color: #fff; background: var(--green-900); }
.button-secondary { color: var(--green-900); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.button-secondary:hover { border-color: var(--green-500); }
.button-light { color: var(--green-900); background: #fff; }
.button-light:hover { color: var(--green-900); background: var(--green-100); }
.hero-panel { position: relative; padding: 38px; color: #fff; background: var(--green-900); border-radius: 28px; box-shadow: var(--shadow-lg); }
.hero-panel::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 190px; height: 190px; border: 34px solid rgba(255,255,255,.06); border-radius: 50%; }
.hero-panel h2 { position: relative; z-index: 1; font-size: 1.75rem; }
.hero-mark { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 35px; color: var(--green-900); background: var(--green-400); border-radius: 18px; font-size: 2.4rem; font-weight: 800; }
.check-list { position: relative; z-index: 1; display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; color: #e7f0ea; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; }
.check-list li::before { content: "✓"; color: #bfe58f; font-weight: 800; }

.section { padding: 105px 0; }
.section-soft { background: var(--green-050); }
.section-dark { color: #fff; background: var(--green-900); }
.split-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading::after { content: ""; display: block; width: 72px; height: 3px; margin-top: 25px; background: var(--green-500); border-radius: 999px; }
.section-dark .section-heading::after { background: #bfe58f; }
.section-heading p:not(.eyebrow), .prose, .service-card p, .project-item p, .publication p { color: var(--ink-700); }
.section-dark .section-heading p:not(.eyebrow) { color: #cadbd0; }
.prose p:first-child { margin-top: 0; font-size: 1.18rem; }
.small-note { padding-top: 14px; font-size: .93rem; }
.card-grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { min-height: 280px; padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 0 rgba(22,63,44,.02); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.service-number { display: inline-block; margin-bottom: 42px; color: var(--green-700); font-size: .82rem; font-weight: 800; letter-spacing: .12em; }

.optimizer-section { padding-top: 0; }
.optimizer-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 58px; color: #fff; background: linear-gradient(135deg, var(--green-900), #276d49); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
.optimizer-card h2 { max-width: 760px; }
.optimizer-card p:not(.eyebrow) { color: #d8e6dc; }

.platform-modules { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 32px; }
.module-card { min-height: 168px; padding: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; }
.module-card-available { background: rgba(191,229,143,.12); border-color: rgba(191,229,143,.4); }
.module-card h3 { margin: 12px 0 7px; font-size: 1.06rem; }
.module-card p { margin: 0; color: #bfd2c5 !important; font-size: .84rem; line-height: 1.5; }
.module-status { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 9px; color: var(--green-900); background: #bfe58f; border-radius: 999px; font-size: .67rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.module-status-soon { color: #dce9df; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); }

.optimizer-workflow { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 32px; }
.workflow-step { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 15px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; }
.workflow-number { display: grid; place-items: center; width: 34px; height: 34px; color: var(--green-900); background: #bfe58f; border-radius: 10px; font-size: .72rem; font-weight: 900; }
.workflow-step strong, .workflow-step small { display: block; }
.workflow-step strong { line-height: 1.3; }
.workflow-step small { margin-top: 4px; color: #bfd2c5; line-height: 1.45; }
.optimizer-preview { display: grid; gap: 14px; justify-items: start; }
.optimizer-preview > small { color: #b9d2c1; }
.preview-window { width: 100%; padding: 10px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.36); border-radius: 19px; box-shadow: 0 22px 50px rgba(7,28,17,.24); transform: rotate(1.2deg); }
.preview-bar { display: flex; align-items: center; gap: 6px; height: 31px; padding: 0 8px; color: var(--ink-500); font-size: .62rem; }
.preview-bar span { width: 7px; height: 7px; background: #ccd6cf; border-radius: 50%; }
.preview-bar b { margin-left: 7px; font-weight: 750; }
.preview-body { padding: 12px; background: #f4f8f2; border-radius: 12px; }
.preview-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.preview-kpis span { height: 39px; background: #fff; border: 1px solid #dfe8e1; border-radius: 8px; }
.preview-chart { display: flex; align-items: end; gap: 5px; height: 112px; margin-top: 9px; padding: 15px 13px 10px; background: #fff; border: 1px solid #dfe8e1; border-radius: 9px; }
.preview-chart i { flex: 1; min-width: 5px; background: linear-gradient(180deg, var(--green-500), var(--green-800)); border-radius: 4px 4px 1px 1px; }
.preview-chart i:nth-child(1) { height: 34%; } .preview-chart i:nth-child(2) { height: 58%; } .preview-chart i:nth-child(3) { height: 46%; } .preview-chart i:nth-child(4) { height: 82%; } .preview-chart i:nth-child(5) { height: 68%; } .preview-chart i:nth-child(6) { height: 91%; } .preview-chart i:nth-child(7) { height: 55%; }
.preview-meter { height: 10px; margin-top: 9px; overflow: hidden; background: #dfe8e1; border-radius: 999px; }
.preview-meter span { display: block; width: 72%; height: 100%; background: var(--green-500); border-radius: inherit; }

.project-list { border-top: 1px solid var(--line); }
.project-item { display: grid; grid-template-columns: minmax(0, 1fr) 260px 90px; gap: 28px; align-items: center; padding: 27px 0; border-bottom: 1px solid var(--line); }
.project-item h3 { margin: 6px 0 0; }
.project-item p { margin: 0; font-size: .92rem; }
.project-item time { justify-self: end; color: var(--green-800); font-weight: 800; }
.tag { display: inline-flex; color: var(--green-700); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.archive { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.archive summary { padding: 21px 24px; cursor: pointer; color: var(--green-900); font-weight: 800; list-style: none; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary::after { content: "+"; float: right; font-size: 1.3rem; }
.archive[open] summary::after { content: "−"; }
.archive-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px 36px; padding: 0 24px 24px; }
.archive-list p { padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-700); font-size: .92rem; }

.publication-list { border-top: 1px solid var(--line); }
.publication { display: grid; grid-template-columns: 90px minmax(0,1fr) 72px; gap: 24px; align-items: start; padding: 25px 0; border-bottom: 1px solid var(--line); }
.publication time { color: var(--green-800); font-weight: 800; }
.publication h3 { margin-bottom: 5px; }
.publication p { margin: 0; font-size: .9rem; }
.publication > a, .no-file { justify-self: end; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 800; text-decoration: none; }
.publication > a:hover { color: #fff; background: var(--green-800); border-color: var(--green-800); }
.no-file { color: var(--ink-500); }
.publication-list.compact { padding: 0 24px 24px; border-top: 0; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.contact-card { padding: 38px; color: var(--ink-900); background: #fff; border-radius: var(--radius); }
.contact-card address { margin: 20px 0; font-style: normal; }
.contact-card p { margin: 14px 0; }
.email-image img { width: auto; max-height: 16px; }
.site-footer { padding: 42px 0; background: #102d20; color: #c7d5cc; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 30px; align-items: center; }
.footer-brand { color: #fff; }
.site-footer p { margin: 7px 0 0; font-size: .85rem; }
.legal-data { text-align: center; }
.copyright { text-align: right; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: var(--green-800); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; z-index: 900; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 82px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .site-nav .nav-cta { text-align: center; }
  .hero-grid, .split-layout, .contact-grid, .optimizer-card { grid-template-columns: 1fr; gap: 42px; }
  .optimizer-preview { max-width: 620px; }
  .hero { padding-top: 140px; }
  .hero-panel { max-width: 650px; }
  .project-item { grid-template-columns: minmax(0,1fr) 130px 80px; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .legal-data, .copyright { text-align: left; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .container, .nav-shell { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 78px 0; }
  .hero { padding: 125px 0 78px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .services-grid, .archive-list { grid-template-columns: 1fr; }
  .optimizer-card { padding: 34px 24px; border-radius: 20px; }
  .optimizer-workflow, .platform-modules { grid-template-columns: 1fr; }
  .brand { gap: 9px; }
  .brand-logo { width: 50px; height: 50px; flex-basis: 50px; padding: 6px; }
  .project-item { grid-template-columns: 1fr auto; gap: 10px 18px; }
  .project-item p { grid-column: 1; }
  .project-item time { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .publication { grid-template-columns: 62px 1fr; }
  .publication > a, .publication .no-file { grid-column: 2; justify-self: start; }
  .contact-card, .service-card, .hero-panel { padding: 28px; }
}
