:root {
  --green: #068246;
  --green-dark: #045f35;
  --charcoal: #0d0d0d;
  --ink: #162019;
  --muted: #5c6861;
  --line: #dce7e1;
  --soft: #f6faf8;
  --white: #ffffff;
  --violet: #9d7df0;
  --sky: #9fc9ff;
  --shadow: 0 24px 70px rgba(13, 13, 13, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Poppins, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(6, 130, 70, 0.06), transparent 420px),
    var(--white);
}

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(220, 231, 225, 0.8);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 168px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 750;
  color: #243029;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 42px);
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(6, 130, 70, 0.24);
  border-radius: 8px;
  background: var(--soft);
}

.language-option {
  appearance: none;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  color: var(--green-dark);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.language-option.is-active {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 8px 18px rgba(6, 130, 70, 0.18);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(6, 130, 70, 0.23);
}

.header-cta {
  padding: 0 18px;
}

.primary-button {
  gap: 10px;
  padding: 0 22px;
}

.primary-button svg {
  width: 20px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.secondary-button {
  padding: 0 20px;
  color: var(--green-dark);
  border: 1px solid rgba(6, 130, 70, 0.25);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(46px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.eyebrow,
.section-kicker,
.status {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--green);
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 12px 0 0;
  color: var(--charcoal);
  font-family: Poppins, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.hero-text {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--green);
}

.hero-logo {
  width: min(100%, 560px);
  margin: 20px auto 36px;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-services span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(6, 130, 70, 0.18);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--soft);
  font-weight: 850;
  line-height: 1.2;
}

.section {
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.section h2,
.contact-section h2 {
  max-width: 830px;
  font-size: clamp(2.2rem, 4.8vw, 4.2rem);
}

@media (min-width: 761px) {
  .hero h1 {
    max-width: 700px;
    font-size: clamp(3.35rem, 5.2vw, 4.85rem);
  }

  .section h2,
  .contact-section h2 {
    max-width: 720px;
    font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  }
}

.intro-section p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.product-card,
.value-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  min-height: 250px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 130, 70, 0.35);
  box-shadow: 0 18px 44px rgba(22, 32, 25, 0.1);
}

.service-card svg,
.contact-actions svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card svg {
  width: 50px;
  height: 50px;
  color: var(--green);
  stroke-width: 1.8;
  margin-bottom: 34px;
}

.service-card h3,
.product-card h3 {
  margin: 0;
  color: var(--charcoal);
  font-size: 1.18rem;
  line-height: 1.18;
}

.service-card p,
.product-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.products-section {
  background: #101512;
}

.products-section .section-kicker,
.products-section h2 {
  color: var(--white);
}

.products-section .section-kicker {
  color: #57d794;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
}

.product-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 28px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.product-logo-wrap img {
  max-width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.product-chat .product-logo-wrap {
  background: var(--violet);
}

.product-ai .product-logo-wrap {
  background: var(--sky);
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  margin-top: 10px;
  font-size: 1.55rem;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(6, 130, 70, 0.11);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value-item {
  min-height: 160px;
  padding: 24px;
}

.value-item strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.22rem;
  line-height: 1.2;
}

.value-item span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.6fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin: 0 clamp(20px, 5vw, 72px) clamp(54px, 8vw, 90px);
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
}

.contact-section .section-kicker,
.contact-section h2 {
  color: var(--white);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-actions a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-actions svg {
  width: 26px;
  min-width: 26px;
  stroke-width: 1.9;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer img {
  width: 150px;
}

@media (max-width: 1100px) {
  .hero,
  .intro-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand img {
    width: 140px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
    font-size: 0.9rem;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .header-actions {
    gap: 8px;
  }

  .language-toggle {
    grid-template-columns: repeat(2, 38px);
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-panel {
    padding: 22px;
  }

  .quick-services,
  .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .service-card {
    min-height: auto;
  }

  .service-card svg {
    margin-bottom: 22px;
  }

  .contact-section {
    margin-inline: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .section h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .hero-actions a {
    width: 100%;
  }
}
