﻿:root {
  --bg: #f4f7f0;
  --ink: #111b16;
  --muted: #4b5b53;
  --surface: #ffffff;
  --line: rgba(17, 27, 22, 0.14);
  --brand: #0b7a57;
  --brand-ink: #083d2d;
  --glow-a: rgba(11, 122, 87, 0.2);
  --glow-b: rgba(177, 154, 91, 0.24);
  --content-max: 1240px;
  --radius: 18px;
  --shadow: 0 18px 42px rgba(17, 27, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 18%, #fcfef9 0%, transparent 45%),
    linear-gradient(160deg, #f6faef 0%, #edf4ee 50%, #eaf2f3 100%);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.halo {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(56px);
  z-index: 0;
  pointer-events: none;
}

.halo-a {
  background: var(--glow-a);
  top: -140px;
  right: -120px;
}

.halo-b {
  background: var(--glow-b);
  bottom: -160px;
  left: -120px;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Roboto", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--brand-ink);
}

main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 14px 20px 64px;
}

.hero {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  padding: clamp(26px, 5vw, 52px);
}

.hero-main {
  display: flex;
  flex-direction: column;
}

.badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(11, 122, 87, 0.12);
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
  line-height: 1.15;
  margin: 0;
}

.no-wrap {
  white-space: nowrap;
}

.status-badge {
  display: inline-block;
  margin: 0 0.35rem 0 0.2rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(194, 119, 28, 0.35);
  background: rgba(194, 119, 28, 0.17);
  color: #7a4a0a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: baseline;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  max-width: 34ch;
  margin-bottom: 14px;
  text-wrap: balance;
}

.lead {
  max-width: 92ch;
  margin: 0;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #f7fff9;
  box-shadow: 0 9px 22px rgba(11, 122, 87, 0.27);
}

.btn-muted {
  border-color: var(--line);
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.9);
}

.section {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 34px);
}

.section h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.section p {
  margin: 0;
  color: var(--muted);
}

.section-lead {
  max-width: 72ch;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.section-heading .btn {
  margin-top: 2px;
  white-space: nowrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  border: none;
  padding: 0;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.cards-products .card.card-blink {
  --blink-color: rgba(11, 122, 87, 0.98);
  --blink-shadow: rgba(11, 122, 87, 0.28);
  animation: solutionsBlink 1.65s ease-in-out;
}

.cards-products .card.card-blink:nth-child(1) {
  --blink-color: rgba(11, 122, 87, 0.98);
  --blink-shadow: rgba(11, 122, 87, 0.28);
}

.cards-products .card.card-blink:nth-child(2) {
  --blink-color: rgba(194, 119, 28, 0.98);
  --blink-shadow: rgba(194, 119, 28, 0.28);
  animation-delay: 0.09s;
}

.cards-products .card.card-blink:nth-child(3) {
  --blink-color: rgba(40, 96, 184, 0.98);
  --blink-shadow: rgba(40, 96, 184, 0.28);
  animation-delay: 0.18s;
}

@keyframes solutionsBlink {
  0%,
  100% {
    border-color: var(--line);
    box-shadow: none;
  }
  15%,
  45%,
  75% {
    border-color: var(--blink-color);
    box-shadow: 0 0 0 4px var(--blink-shadow);
  }
  30%,
  60%,
  90% {
    border-color: var(--line);
    box-shadow: none;
  }
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.cards-products {
  margin-top: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  display: grid;
  gap: 6px;
}

.contact-grid p {
  margin: 0;
}

.contact-grid a,
.legal-links a {
  color: var(--brand-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.inline-email {
  font-weight: 700;
}

.legal-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.94rem;
}

.site-footer {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px 34px;
  color: #4b5b53;
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--brand-ink);
}

.footer-links {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.legal-page {
  max-width: 820px;
  margin: 42px auto;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.legal-page h1 {
  margin-bottom: 8px;
}

.legal-page h2 {
  margin: 22px 0 8px;
  font-size: 1.15rem;
}

.legal-page p {
  margin: 0;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-ink);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease, transform 450ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

  .section-heading .btn {
    justify-self: start;
  }
}

@media (max-width: 1020px) {
  .cards-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .cards-products {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    gap: 13px;
    flex-wrap: wrap;
  }
}
