:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dbe3ee;
  --soft: #f3f8f3;
  --accent: #0f7b55;
  --accent-strong: #075a3f;
  --mint: #dff3e8;
  --leaf: #2f9a68;
  --gold: #bd8430;
  --warm: #fff5e3;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 227, 238, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: min(210px, 42vw);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--accent-strong);
  border-radius: 999px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #263241;
  font-size: 15px;
}

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

.nav-cta {
  padding: 10px 14px;
  color: var(--white) !important;
  background: var(--accent-strong);
  border-radius: 7px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: clamp(52px, 8vw, 104px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(15, 123, 85, 0.15), transparent 34%),
    linear-gradient(315deg, rgba(189, 132, 48, 0.16), transparent 30%),
    #f8fcf7;
}

.hero-copy { max-width: 820px; }

.hero-visual {
  display: grid;
  gap: 16px;
  align-self: stretch;
  align-content: center;
}

.hero-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mint);
  border: 1px solid rgba(15, 123, 85, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  margin: 24px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
}

.button.secondary:hover {
  border-color: rgba(15, 123, 85, 0.45);
  background: var(--mint);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(219, 227, 238, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.hero-panel strong {
  color: var(--gold);
  font-size: 20px;
}

.hero-panel span {
  color: #263241;
  font-weight: 700;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 22px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  padding: 8px 12px;
  color: #334155;
  background: var(--soft);
  border-radius: 7px;
  font-weight: 750;
}

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

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}

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

.card, .plan, .steps article {
  min-height: 260px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card:nth-child(2n) { background: #fbfff9; }
.card:nth-child(3n) { background: #fffaf0; }

.card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 800;
}

.card p, .steps p, .plan p, .band p, .contact p, .split p {
  color: var(--muted);
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  padding: clamp(48px, 7vw, 84px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(15, 123, 85, 0.92), rgba(17, 24, 39, 0.98)),
    #111827;
}

.band .eyebrow { color: #8bdcbf; }
.band p { color: #d5dde8; font-size: 18px; }

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

.steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  color: var(--white);
  background: var(--accent);
  border-radius: 7px;
}

.ai-lab {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: center;
  margin: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 72px);
  padding: clamp(36px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(223, 243, 232, 0.95), rgba(255, 245, 227, 0.95)),
    var(--warm);
  border: 1px solid #c9e6d4;
  border-radius: 8px;
}

.ai-lab p {
  color: #405142;
  font-size: 18px;
}

.ai-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ai-points span {
  min-height: 44px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 123, 85, 0.18);
  border-radius: 7px;
  font-weight: 800;
  color: #1f3f32;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  background: var(--soft);
}

.plan-list { display: grid; gap: 14px; }

.plan {
  min-height: auto;
  background: var(--white);
}

.plan.featured {
  border-color: rgba(15, 123, 85, 0.45);
  box-shadow: 0 16px 36px rgba(15, 123, 85, 0.14);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 72px);
  padding: clamp(34px, 6vw, 56px);
  background: #eef8f0;
  border: 1px solid #c9e6d4;
  border-radius: 8px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #dbe3ee;
  background: var(--ink);
}

@media (max-width: 980px) {
  .hero, .band, .split, .contact, .section-head, .ai-lab {
    grid-template-columns: 1fr;
  }

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

  .contact-actions { margin-top: 0; }

  .hero-image {
    max-height: 420px;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: sticky;
    align-items: center;
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .brand-logo {
    width: min(176px, 62vw);
    max-height: 44px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    font-size: 14px;
  }

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

  .nav a {
    min-height: 42px;
    padding: 10px 12px;
    background: var(--soft);
    border-radius: 7px;
  }

  .nav .nav-cta {
    color: var(--white) !important;
    background: var(--accent-strong);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-visual {
    gap: 12px;
  }

  .hero-image {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }

  h1 { font-size: 42px; }

  .service-grid, .steps {
    grid-template-columns: 1fr;
  }

  .card, .steps article { min-height: auto; }

  .footer {
    flex-direction: column;
  }
}
