:root {
  --bg: #f4f7f2;
  --panel: #ffffff;
  --panel-2: #eef5ef;
  --text: #18211c;
  --muted: #607066;
  --line: rgba(12, 59, 46, 0.12);
  --primary: #0c3b2e;
  --primary-2: #195340;
  --accent: #d7b56d;
  --shadow: 0 18px 60px rgba(12, 59, 46, 0.10);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbf8 0%, #eef4ef 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(248, 251, 248, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-text {
  display: grid;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.site-nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  border: 1px solid transparent;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; box-shadow: none; }
.btn-esys {
  background: linear-gradient(135deg, #d7b56d, #b9923f);
  color: #18211c;
  border: 1px solid rgba(0,0,0,0.08);
}

.btn-esys:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: rgba(12, 59, 46, 0.2);
  box-shadow: none;
}
.btn-block { width: 100%; }

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.service-card,
.product-card,
.contact-form {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-copy {
  padding: 38px;
}

.eyebrow,
.section-tag,
.badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.eyebrow,
.section-tag,
.badge {
  color: var(--primary);
  background: rgba(12, 59, 46, 0.08);
  padding: 9px 12px;
}

.section-tag-light {
  color: #dcefe6;
  background: rgba(255,255,255,0.09);
}

.hero h1,
.section h2 {
  margin: 16px 0 14px;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  max-width: 11ch;
}

.hero p,
.section p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 10px;
}

.hero-points li::before,
.check-list li::before {
  content: '•';
  color: var(--accent);
  font-weight: 900;
  margin-right: 10px;
}

.hero-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(12,59,46,0.96), rgba(25,83,64,0.94));
  color: #fff;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-card .badge {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7df0a3;
  box-shadow: 0 0 0 8px rgba(125,240,163,0.15);
}

.hero-card h2 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 20px 0 12px;
}

.hero-card p {
  color: rgba(255,255,255,0.82);
}

.stats-grid,
.cards-grid,
.products-grid,
.values-wrap {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  padding: 18px;
}

.stat-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.stat-card span {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  padding: 38px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(12,59,46,0.035), rgba(12,59,46,0.01));
}

.section-dark {
  background: linear-gradient(180deg, #0c3b2e 0%, #0f4736 100%);
  color: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.two-col-tight { align-items: center; }

.panel {
  padding: 30px;
}
.panel h3 {
  margin: 0 0 10px;
}
.panel p:last-child { margin-bottom: 0; }
.panel-dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card,
.product-card {
  padding: 24px;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(12,59,46,0.08);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.service-card h3,
.product-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

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

.product-top { margin-bottom: 16px; }
.pill {
  color: var(--primary);
  background: rgba(215,181,109,0.18);
  padding: 8px 11px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

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

.value-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 16px 18px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 10px 35px rgba(12, 59, 46, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.contact-list div {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(12,59,46,0.08);
  border-radius: 18px;
  padding: 16px 18px;
}
.contact-list strong {
  display: block;
  margin-bottom: 6px;
}
.contact-list span,
.form-note { color: var(--muted); }

.contact-form {
  padding: 26px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.field label {
  font-weight: 700;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(12,59,46,0.12);
  background: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  transition: 0.2s border-color, 0.2s box-shadow;
}
.field input:focus,
.field textarea:focus {
  border-color: rgba(12,59,46,0.4);
  box-shadow: 0 0 0 4px rgba(12,59,46,0.08);
}

.site-footer {
  padding: 28px 0 40px;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.footer-wrap p,
.footer-mini {
  color: var(--muted);
}
.footer-mini {
  display: grid;
  gap: 8px;
  text-align: right;
}

@media (max-width: 1080px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .cards-grid,
  .products-grid,
  .values-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }

  .hero-grid,
  .two-col,
  .contact-grid,
  .cards-grid,
  .products-grid,
  .values-wrap,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .service-card,
  .product-card,
  .contact-form {
    padding: 24px;
  }

  .footer-wrap {
    flex-direction: column;
  }

  .footer-mini { text-align: left; }
}
