:root {
  --green-900: #0d5c3b;
  --green-800: #137148;
  --green-700: #198754;
  --green-100: #dff3e7;
  --green-050: #edf8f1;
  --offwhite: #f8fbf7;
  --white: #ffffff;
  --text: #173024;
  --muted: #5d7467;
  --border: #dce9df;
  --shadow: 0 16px 40px rgba(13, 92, 59, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fcf9 0%, #f3f9f4 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(220, 233, 223, 0.9);
}

.top-bar {
  background: #1f7a4d;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-text {
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 1%;
}

.dot {
  margin: 0 8px;
  color: white;
}

.top-email {
  font-weight: 500;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.brand-tag {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav .btn,
.site-nav .btn:visited,
.site-nav .btn.btn-sm,
.site-nav .btn:hover,
.site-nav .btn:focus {
  color: #ffffff;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  color: var(--green-900);
  cursor: pointer;
}

/* Typography */

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--green-800);
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--green-700);
  background: var(--green-700);
  color: var(--white);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.btn:hover {
  background: var(--green-800);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--border);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--green-050);
}

.btn-sm {
  min-height: 40px;
  padding: 0.65rem 1rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  background:
    linear-gradient(115deg, rgba(29, 58, 46, 0.72), rgba(56, 110, 87, 0.72)),
    url("assets/office.jpg") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  color: #ffffff;
  max-width: 11.5ch;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 62ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0 2rem;
}

.hero .btn {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--green-900);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.hero .btn:hover {
  background: #f3fbf5;
}

.hero .btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: rgba(255,255,255,0.24);
  backdrop-filter: blur(6px);
}

.hero .btn-secondary:hover {
  background: rgba(255,255,255,0.14);
}

.hero-grid,
.two-col,
.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

/* Cards and grids */

.hero-stats,
.card-grid {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.4rem;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.info-card,
.article-card,
.panel-card,
.feature-item,
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.stat-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  margin-bottom: 0.4rem;
  /*color: var(--green-900);*/
  color: #ffffff;
}

.stat-card span {
  color: rgba(255,255,255,0.78);
}

.article-kicker {
  color: var(--green-800);
  font-weight: 600;
  font-size: 0.92rem;
}

.panel-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.38);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
}

.panel-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-panel .check-list li {
  color: var(--text);
}

.hero-panel .check-list li::before {
  color: var(--green-700);
}

/* Lists */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.95rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-700);
  font-weight: 800;
}

/* Sections */

.section {
  padding: 4.5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
  max-width: 70ch;
}

.section-muted {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(115deg, rgba(29, 58, 46, 0.72), rgba(56, 110, 87, 0.72)),
    url("assets/tech-bg.jpg") center/cover no-repeat;
  color: #f5fbf7;
}

.section-muted .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.section-muted h2 {
  color: #ffffff;
}

.section-muted p {
  color: rgba(255, 255, 255, 0.84);
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-item h3 {
  color: #ffffff;
  margin-bottom: 0.45rem;
}

.feature-item p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.text-link {
  color: var(--green-800);
  font-weight: 700;
}

.section-muted .article-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.section-muted .article-card h3 {
  color: #ffffff;
}

.section-muted .article-card p {
  color: rgba(255, 255, 255, 0.82);
}

.section-muted .article-card .article-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.section-muted .article-card .text-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}


.section-experience {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(25, 135, 84, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(19, 113, 72, 0.10), transparent 24%),
    linear-gradient(180deg, #f4fbf6 0%, #fbfdfb 100%);
}

.section-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0));
  pointer-events: none;
}

.section-experience .container {
  position: relative;
  z-index: 1;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}

.experience-card {
  grid-column: span 12;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(19, 113, 72, 0.10);
  border-radius: 24px;
  padding: 1.35rem;
  box-shadow: 0 18px 40px rgba(13, 92, 59, 0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.experience-card::before {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-700), var(--green-800));
  opacity: 0.9;
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(13, 92, 59, 0.12);
  border-color: rgba(19, 113, 72, 0.18);
}

.experience-card-featured {
  grid-column: span 12;
  padding: 1.6rem;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 30%),
    linear-gradient(135deg, #0d5c3b 0%, #137148 55%, #198754 100%);
  border: 0;
  box-shadow: 0 22px 56px rgba(13, 92, 59, 0.18);
}

.experience-card-featured::before {
  left: 1.6rem;
  right: auto;
  width: 88px;
  height: 5px;
  background: rgba(255,255,255,0.92);
}

.experience-card-featured h3,
.experience-card-featured p,
.experience-card-featured .experience-kicker {
  color: #ffffff;
}

.experience-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.10);
  border: 1px solid rgba(25, 135, 84, 0.12);
  color: var(--green-900);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.experience-card-featured .experience-kicker {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
}

.experience-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.experience-card p {
  margin: 0;
  line-height: 1.7;
}

.experience-card-featured h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.experience-card-featured p {
  max-width: 72ch;
  color: rgba(255,255,255,0.9);
}


/* CTA */

.cta-section {
  padding-top: 2rem;
}

.cta-box {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.cta-box p,
.cta-box h2,
.cta-box .eyebrow,
.cta-box small {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  box-shadow: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.75);
}

/* Footer */

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Article pages */

.article-hero {
  padding: 4rem 0 1.5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.article-shell {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-title-wrap {
  background: linear-gradient(135deg, var(--green-900), var(--green-800), var(--green-700));
  padding: clamp(1.4rem, 3vw, 2.2rem);
  margin: 0;
}

.article-title-wrap .eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 0.8rem 0;
}

.article-title-wrap .article-title {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: #ffffff;
  margin: 0;
}

.article-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.25rem clamp(1.2rem, 3vw, 2.4rem) 1.2rem;
}

.meta-pill {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--green-050);
  color: var(--green-900);
  font-size: 0.85rem;
  font-weight: 700;
}

.article-shell > p,
.article-shell > h2,
.article-shell > h3,
.article-shell > ul,
.article-shell > ol,
.article-shell > .quote-box {
  margin-left: clamp(1.2rem, 3vw, 2.4rem);
  margin-right: clamp(1.2rem, 3vw, 2.4rem);
}

.article-shell > h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.85rem;
}

.article-shell > :last-child {
  margin-bottom: clamp(1.2rem, 3vw, 2.4rem);
}

.article-shell ul,
.article-shell ol {
  color: var(--muted);
  line-height: 1.8;
}

.article-shell li + li {
  margin-top: 0.5rem;
}

.quote-box {
  border-left: 4px solid var(--green-700);
  background: var(--green-050);
  padding: 1rem 1rem 1rem 1.2rem;
  border-radius: 0 18px 18px 0;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.article-feature-image,
.article-inline-image {
  margin-left: clamp(1.2rem, 3vw, 2.4rem);
  margin-right: clamp(1.2rem, 3vw, 2.4rem);
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(13, 92, 59, 0.10);
}

.article-feature-image {
  margin-bottom: 1.5rem;
}

.article-inline-image {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

.article-feature-image img,
.article-inline-image img {
  width: 100%;
  display: block;
}

.article-feature-image img {
  height: clamp(220px, 34vw, 420px);
  object-fit: cover;
}

.article-inline-image img {
  height: auto;
}

/* Image zoom */

.zoomable-image {
  cursor: zoom-in;
}

.zoomable-image img {
  transition: transform 0.25s ease;
}

.zoomable-image:hover img {
  transform: scale(1.02);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.image-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.image-lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Responsive */

@media (max-width: 1024px) {
  .brand-logo {
    height: 60px;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .two-col,
  .cta-box,
  .card-grid.four,
  .card-grid.two,
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .experience-card,
  .experience-card-featured {
    grid-column: span 6;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 40px;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}

body.inventrova-page .article-feature-image img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  background: #0f2238;
}

#work-management {
  background:
    linear-gradient(115deg, rgba(29, 58, 46, 0.72), rgba(56, 110, 87, 0.72)),
    url("assets/p1.jpg") center/cover no-repeat;
}