:root {
  --bg: #fbfcf8;
  --paper: #ffffff;
  --graphite: #111614;
  --muted: #66736e;
  --line: #dce6df;
  --green: #196b4b;
  --green-soft: #dff3e9;
  --teal: #0f7b83;
  --teal-soft: #dff4f5;
  --citrus: #d6a51e;
  --citrus-soft: #f7edc7;
  --shadow: 0 24px 70px rgba(17, 22, 20, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(25, 107, 75, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(25, 107, 75, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
  color: var(--graphite);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 40px;
  background: rgba(251, 252, 248, 0.86);
  border-bottom: 1px solid rgba(220, 230, 223, 0.8);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.dashboard-topbar,
.task-row,
.chart-head,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(25, 107, 75, 0.18);
  border-radius: var(--radius);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.nav-links {
  gap: 28px;
  color: #3b4641;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.header-action,
.button,
.product-card a {
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.header-action {
  padding: 11px 16px;
  color: var(--paper);
  background: var(--graphite);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.section-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(380px, 1.02fr);
  gap: 58px;
  padding: 68px 0 50px;
  align-items: center;
}

.company-name {
  max-width: 640px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5.7vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  color: #40504a;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
}

.button svg {
  width: 18px;
  height: 18px;
}

.button.primary {
  color: var(--paper);
  background: var(--green);
  box-shadow: 0 12px 28px rgba(25, 107, 75, 0.22);
}

.button.secondary {
  color: var(--graphite);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: -22px 36px auto auto;
  width: 190px;
  height: 190px;
  content: "";
  background: repeating-linear-gradient(135deg, rgba(15, 123, 131, 0.16), rgba(15, 123, 131, 0.16) 2px, transparent 2px, transparent 12px);
  border-radius: 50%;
  z-index: -1;
}

.dashboard-shell {
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(220, 230, 223, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.dashboard-topbar {
  justify-content: space-between;
  min-height: 42px;
  padding: 0 2px 16px;
  border-bottom: 1px solid var(--line);
}

.dashboard-topbar span {
  width: 42px;
  height: 12px;
  background: linear-gradient(90deg, #d5533d 0 10px, #e4bb3a 10px 22px, #1f9a68 22px 34px);
  border-radius: 999px;
}

.dashboard-topbar strong {
  font-size: 14px;
}

.dashboard-topbar em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 16px;
}

.metric-panel,
.task-panel,
.chart-panel {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.metric-panel small,
.metric-panel span,
.task-row small,
.chart-head span {
  color: var(--muted);
}

.metric-panel small,
.task-row small,
.chart-head span {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.metric-panel strong {
  display: block;
  margin: 8px 0 4px;
  font-size: 48px;
  line-height: 1;
}

.metric-panel span {
  font-size: 13px;
}

.metric-panel.green {
  background: var(--green-soft);
  border-color: rgba(25, 107, 75, 0.18);
}

.task-panel {
  grid-row: span 2;
  display: grid;
  gap: 13px;
}

.task-row {
  gap: 12px;
  min-height: 66px;
  padding: 12px;
  background: #f7faf6;
  border: 1px solid rgba(220, 230, 223, 0.8);
  border-radius: var(--radius);
}

.task-row strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.teal {
  background: var(--teal);
}

.dot.citrus {
  background: var(--citrus);
}

.dot.graphite {
  background: var(--graphite);
}

.chart-panel {
  min-height: 220px;
}

.chart-head {
  justify-content: space-between;
  margin-bottom: 22px;
}

.chart-head strong {
  color: var(--green);
  font-size: 26px;
}

.bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 9px;
  height: 128px;
}

.bars i {
  display: block;
  min-height: 18px;
  background: linear-gradient(180deg, var(--teal), var(--green));
  border-radius: 6px 6px 2px 2px;
}

.products {
  padding: 64px 0 96px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.platform p,
.contact p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(17, 22, 20, 0.07);
}

.product-card.faro {
  border-top: 4px solid var(--teal);
}

.product-card.medvet {
  border-top: 4px solid var(--green);
}

.product-card.mentevita {
  border-top: 4px solid var(--citrus);
}

.product-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
}

.product-preview {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 86px;
  margin-bottom: 24px;
  padding: 12px;
  overflow: hidden;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-preview span {
  display: block;
  min-height: 22px;
  background: var(--paper);
  border: 1px solid rgba(220, 230, 223, 0.9);
  border-radius: 6px;
}

.product-preview span:nth-child(3) {
  grid-column: span 2;
}

.product-preview i {
  position: absolute;
  right: 14px;
  bottom: 13px;
  width: 78px;
  height: 38px;
  background: linear-gradient(135deg, transparent 10%, currentColor 11% 13%, transparent 14% 31%, currentColor 32% 34%, transparent 35% 52%, currentColor 53% 55%, transparent 56%);
  opacity: 0.28;
}

.faro .product-icon {
  color: var(--teal);
  background: var(--teal-soft);
}

.medvet .product-icon {
  color: var(--green);
  background: var(--green-soft);
}

.mentevita .product-icon {
  color: #8a6705;
  background: var(--citrus-soft);
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.product-card p {
  flex: 1;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.product-card a {
  display: inline-flex;
  align-self: flex-start;
  color: var(--graphite);
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 800;
}

.platform {
  padding: 96px 0;
  color: var(--paper);
  background: var(--graphite);
}

.platform-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 80px;
  align-items: start;
}

.platform p {
  margin-top: 24px;
  color: #b8c5bf;
}

.principles {
  display: grid;
  gap: 14px;
}

.principles article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.principles strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.principles span {
  color: #b8c5bf;
  font-size: 15px;
  line-height: 1.65;
}

.contact {
  padding: 96px 0 64px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  padding: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(17, 22, 20, 0.08);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-list a,
.contact-list span {
  padding: 16px;
  background: #f7faf6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #3b4641;
  font-size: 15px;
  font-weight: 700;
}

.contact-list a {
  color: var(--green);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 24px 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .platform-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

  .product-icon {
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    padding: 10px 12px;
    font-size: 13px;
  }

  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .hero {
    gap: 40px;
    padding: 42px 0 58px;
  }

  h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-text {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

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

  .task-panel {
    grid-row: auto;
  }

  .products,
  .platform,
  .contact {
    padding: 64px 0;
  }

  .contact-panel {
    padding: 24px;
  }

  .site-footer {
    display: grid;
    padding: 22px 16px;
  }
}
