:root {
  --green-900: #082d12;
  --green-800: #0d431d;
  --green-700: #165a2a;
  --olive: #8b8f35;
  --olive-soft: #e7ead8;
  --cream: #f7f6ef;
  --white: #ffffff;
  --text: #263128;
  --muted: #68736b;
  --border: rgba(8, 45, 18, 0.12);
  --shadow: 0 24px 70px rgba(8, 45, 18, 0.16);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 239, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 82px; }
.brand img { width: 170px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; font-weight: 600; color: var(--green-900); }
.main-nav a:not(.btn):hover { color: var(--olive); }
.nav-toggle { display: none; border: 0; background: var(--green-900); color: white; width: 44px; height: 44px; border-radius: 12px; font-size: 1.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--green-900);
  background: var(--green-900);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(8,45,18,0.22);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--green-900); box-shadow: none; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(139,143,53,0.28), transparent 30%),
    linear-gradient(135deg, #fff 0%, var(--cream) 48%, #e9eddb 100%);
}
.hero:before {
  content: "";
  position: absolute;
  inset: auto -140px -220px auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(8,45,18,0.08);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 70px; position: relative; }
.eyebrow { display: inline-flex; color: var(--olive); font-weight: 900; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin-bottom: 16px; }
h1, h2, h3 { margin: 0; color: var(--green-900); line-height: 1.05; }
h1 { font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -0.07em; max-width: 760px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -0.045em; }
h3 { font-size: 1.28rem; letter-spacing: -0.02em; }
.lead { font-size: 1.22rem; color: #435044; max-width: 680px; margin: 26px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.trust-row span, .service-tags span { border: 1px solid var(--border); background: rgba(255,255,255,0.62); padding: 9px 14px; border-radius: 999px; color: var(--green-800); font-weight: 700; font-size: 0.9rem; }

.hero-card { position: relative; min-height: 440px; }
.device-card {
  position: relative;
  margin: 20px auto 0;
  max-width: 520px;
  padding: 22px;
  border-radius: 34px;
  background: #172319;
  box-shadow: var(--shadow);
  border: 10px solid #0a120c;
}
.screen-top { display: flex; gap: 7px; margin-bottom: 18px; }
.screen-top span { width: 10px; height: 10px; border-radius: 50%; background: #d8decc; opacity: 0.75; }
.tank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tank { min-height: 86px; display: grid; place-items: center; border-radius: 16px; color: white; font-weight: 900; background: linear-gradient(180deg, #eef4df 0 22%, #6f8434 22% 100%); text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.tank.warn { background: linear-gradient(180deg, #f4e7aa 0 22%, #a78422 22% 100%); }
.tank.alert { background: linear-gradient(180deg, #f4c6a7 0 22%, #9a3f1f 22% 100%); }
.floating-stat { position: absolute; border-radius: 20px; background: white; padding: 18px; box-shadow: var(--shadow); width: 180px; }
.floating-stat strong { display: block; font-size: 2rem; color: var(--green-900); line-height: 1; }
.floating-stat span { font-size: 0.87rem; color: var(--muted); font-weight: 700; }
.stat-one { left: 0; bottom: 28px; }
.stat-two { right: 0; top: 0; }

.section { padding: 92px 0; }
.two-col { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 70px; align-items: start; }
.two-col p { margin-top: 0; color: var(--muted); font-size: 1.08rem; }
.intro { background: white; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 1.1rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; background: white; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(8,45,18,0.07); }
.icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--olive-soft); font-size: 1.7rem; margin-bottom: 22px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

.scada { background: var(--green-900); color: white; }
.scada h2 { color: white; }
.scada p { color: rgba(255,255,255,0.78); font-size: 1.08rem; }
.scada-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 70px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: rgba(255,255,255,0.88); font-weight: 700; }
.check-list li:before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--olive); color: white; font-size: 0.85rem; }
.temperature-panel { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: 30px; padding: 24px; box-shadow: 0 24px 70px rgba(0,0,0,0.25); }
.panel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-header span { background: #c9d46b; color: var(--green-900); padding: 7px 12px; border-radius: 999px; font-weight: 900; font-size: 0.8rem; }
.temperature-list { display: grid; gap: 12px; }
.temperature-list div { display: flex; justify-content: space-between; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,0.11); }
.temperature-list span { color: rgba(255,255,255,0.76); }
.temperature-list strong { color: white; }

.benefits { background: white; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-grid div { background: var(--cream); border: 1px solid var(--border); border-radius: 22px; padding: 26px; }
.benefit-grid strong { color: var(--olive); font-size: 1.8rem; }
.benefit-grid p { color: var(--green-900); font-weight: 800; font-size: 1.05rem; margin-bottom: 0; }
.webturtle { background: linear-gradient(135deg, #eef0e2, #fff); }
.service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.contact { background: var(--green-900); color: white; }
.contact h2 { color: white; }
.contact p { color: rgba(255,255,255,0.76); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: 70px; align-items: start; }
.contact-info { margin-top: 28px; }
.contact-info a { color: white; text-decoration: underline; }
.contact-card { background: white; color: var(--green-900); border-radius: 30px; padding: 36px; box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 14px; }
.contact-card p { color: var(--muted); margin-top: 0; }
.contact-card .btn { margin-top: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; color: var(--green-900); font-weight: 800; background: var(--cream); }
.social-links a:hover { border-color: var(--olive); color: var(--olive); }

.site-footer { background: #061f0d; color: rgba(255,255,255,0.78); padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-grid img { width: 155px; background: white; border-radius: 18px; padding: 10px; margin-bottom: 14px; }
.footer-grid strong { display: block; color: white; margin-bottom: 8px; }
.footer-grid a { color: white; text-decoration: underline; }
.copyright { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 34px; padding-top: 22px; font-size: 0.9rem; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 82px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; background: white; border-radius: 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 8px; }
  .main-nav .btn { margin-top: 8px; }
  .hero-grid, .two-col, .scada-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero { padding-top: 60px; }
  .hero-card { min-height: 380px; }
  .cards-grid, .benefit-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 135px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .tank-grid { grid-template-columns: repeat(2, 1fr); }
  .floating-stat { position: static; margin-top: 14px; width: 100%; }
  .hero-card { min-height: auto; }
  .section { padding: 66px 0; }
  .feature-card, .contact-card { padding: 24px; }
}
