:root {
  --ink: #14211f;
  --muted: #5f6f6a;
  --line: #dce7e2;
  --paper: #f7faf8;
  --white: #ffffff;
  --teal: #0f766e;
  --green: #1f9d62;
  --gold: #d99b22;
  --soft: #eef7f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.22);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  padding: 8px 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
}

nav a:hover {
  color: var(--teal);
  background: var(--soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 8vw, 98px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(115deg, rgba(238, 247, 242, 0.95), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 85% 20%, rgba(217, 155, 34, 0.16), transparent 28%);
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.22;
}

.hero p,
.section-title p,
.about-grid p,
.contact p,
.cards p,
.product-grid span {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero-panel,
.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 33, 31, 0.12);
}

.hero-panel {
  padding: 18px;
}

.panel-header {
  display: flex;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.panel-header span:nth-child(1) { background: var(--gold); }
.panel-header span:nth-child(2) { background: var(--green); }
.panel-header span:nth-child(3) { background: var(--teal); }

.panel-row {
  display: grid;
  gap: 3px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row strong {
  font-size: 18px;
}

.panel-row small {
  color: var(--muted);
  font-size: 14px;
}

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

.section-title {
  max-width: 760px;
  margin-bottom: 32px;
}

.about {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
}

.about-grid p {
  margin: 0;
  font-size: 18px;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 1180px;
}

.company-facts div {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.company-facts strong {
  color: var(--teal);
  font-size: 13px;
  text-transform: uppercase;
}

.company-facts span {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.35;
}

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

.cards article,
.product-grid article {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cards article span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 900;
}

.products {
  background: var(--ink);
  color: #fff;
}

.products .eyebrow {
  color: #8de0ce;
}

.products .section-title p {
  color: #d4dfdb;
}

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

.product-grid article {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.product-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 19px;
}

.product-grid span {
  display: block;
  color: #d4dfdb;
}

.ai-section {
  background: linear-gradient(180deg, #f7faf8, #ffffff);
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.ai-info {
  display: grid;
  gap: 14px;
}

.ai-info article {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-info strong {
  font-size: 19px;
}

.ai-info span {
  color: var(--muted);
}

.ai-chat {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 33, 31, 0.12);
}

.ai-chat-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: #fff;
  background: var(--ink);
}

.ai-chat-head strong,
.ai-chat-head small {
  display: block;
}

.ai-chat-head small {
  color: #b8c8c3;
}

.ai-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 310px;
  padding: 18px;
  overflow-y: auto;
  background: #f5faf7;
}

.message {
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
}

.message.bot {
  align-self: flex-start;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.message.user {
  align-self: flex-end;
  color: #fff;
  background: var(--teal);
}

.ai-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.ai-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.ai-form button,
.quick-questions button {
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}

.quick-questions button {
  color: var(--teal);
  background: var(--soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
  background: #fff;
}

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.contact-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list a {
  color: var(--teal);
  font-weight: 800;
}

.contact-box {
  padding: 26px;
}

.contact-box strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.16;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #dbe8e4;
  background: #101b19;
}

@media (max-width: 980px) {
  .hero,
  .contact,
  .about-grid,
  .ai-layout {
    grid-template-columns: 1fr;
  }

  .cards,
  .product-grid,
  .company-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 39px;
  }

  .cards,
  .product-grid,
  .company-facts {
    grid-template-columns: 1fr;
  }

  .cards article,
  .product-grid article {
    min-height: auto;
  }
}
