:root {
  --green: #2dbe64;
  --green-dark: #056b53;
  --green-soft: rgba(45, 190, 100, 0.14);
  --berry: #d7144b;
  --graphite: #333333;
  --ink: #f4f2ea;
  --muted: #c3c0b7;
  --surface: #242424;
  --surface-strong: #303030;
  --page: #171717;
  --line: #424242;
  --line-soft: #343434;
  --sage: #333333;
  --cream: #2b2b2b;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  font-family: "Euclid Circular B", "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 10%, rgba(244, 242, 234, 0.055), transparent 24rem),
    linear-gradient(180deg, #202020 0%, var(--page) 34rem),
    var(--page);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(23, 23, 23, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-width: auto; }
.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}
.brand strong, .brand small { display: none; }

.main-nav { display: flex; flex-wrap: wrap; gap: 0.2rem; }
.main-nav a {
  padding: 0.6rem 0.78rem;
  border-radius: 62% 38% 58% 42% / 48% 52% 48% 52%;
  color: var(--muted);
  font-weight: 760;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--green-soft);
}

.hero, .page-hero, .service-hero, .section, .cta-band, .related-strip, .site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero { padding: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(1.2rem, 2.5vw, 1.8rem); }
.editorial-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(430px, 0.68fr);
  gap: clamp(1.25rem, 3.2vw, 3rem);
  align-items: center;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}
h2 {
  margin: 0;
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.55vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: 0;
}
h3 { margin: 0; color: var(--ink); font-size: 1.08rem; line-height: 1.24; }
.lead {
  max-width: 760px;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.62;
}
.lead.narrow { max-width: 720px; }

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
}
.button.primary { color: #101510; background: var(--green); }
.button.primary:hover { color: #fff; background: var(--green-dark); }
.button.secondary { color: var(--ink); background: var(--surface); border-color: var(--line); }
.button.secondary:hover { border-color: var(--green); background: var(--green-soft); }

.portrait-area {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(128px, 0.44fr);
  gap: 0.9rem;
  align-items: center;
  justify-self: end;
  width: min(100%, 560px);
}
.portrait-area .portrait-block { order: 1; }
.portrait-area .handwritten-note { order: 2; }
.portrait-block {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #202020;
  box-shadow: var(--shadow);
}
.portrait-block img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  filter: grayscale(72%) contrast(1.04) brightness(0.96);
}
.portrait-block figcaption {
  padding: 1rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, var(--surface), #1e1e1e);
}
.portrait-block figcaption span { display: block; margin-bottom: 0.28rem; color: var(--muted); font-size: 0.82rem; }
.portrait-block strong { color: var(--green); }

.photo-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.photo-shape {
  position: absolute;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.shape-square {
  top: 18%;
  left: 9%;
  width: 44px;
  height: 44px;
  background: rgba(45, 190, 100, 0.82);
  transform: rotate(14deg);
}
.shape-ring {
  top: 9%;
  right: 18%;
  width: 58px;
  height: 58px;
  border: 10px solid rgba(215, 20, 75, 0.92);
  border-radius: 50%;
  background: transparent;
  transform: rotate(-8deg);
}
.shape-pill {
  right: 3%;
  bottom: 30%;
  width: 92px;
  height: 26px;
  border-radius: 999px;
  background: rgba(45, 190, 100, 0.9);
  transform: rotate(-18deg);
}
.sticker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0.72rem 1.12rem;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(45, 190, 100, 0.18);
  font-size: 1.16rem;
  font-weight: 900;
}
.portrait-block .sticker {
  color: #fff;
}
.sticker-code {
  top: 0.55rem;
  right: 0.55rem;
  transform: rotate(5deg);
  border-radius: 55% 45% 48% 52% / 44% 57% 43% 56%;
}
.sticker-bots {
  right: 0.45rem;
  bottom: 6.8rem;
  color: #fff;
  background: #056b53;
  transform: rotate(-4deg);
  border-radius: 40% 60% 52% 48% / 56% 46% 54% 44%;
}
.sticker-knowledge {
  left: 0.45rem;
  bottom: 9rem;
  color: #fff;
  background: var(--berry);
  transform: rotate(3deg);
  border-radius: 58% 42% 45% 55% / 48% 52% 48% 52%;
}
.sticker-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(45, 190, 100, 0.22);
}
.sticker-dot-one {
  top: 23%;
  left: 1rem;
}
.sticker-dot-two {
  right: 24%;
  bottom: 24%;
  background: var(--berry);
  box-shadow: 0 0 0 8px rgba(215, 20, 75, 0.22);
}
.handwritten-note {
  position: relative;
  z-index: 1;
  max-width: 190px;
  color: #fff;
  font-family: "Comic Sans MS", "Segoe Print", cursive;
  font-size: 1.2rem;
  line-height: 1.14;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  transform: rotate(-6deg);
}
.handwritten-note::before {
  content: "";
  position: absolute;
  right: calc(100% + 0.2rem);
  top: -0.2rem;
  width: 104px;
  height: 82px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg width='104' height='82' viewBox='0 0 104 82' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M101 43 C76 18 56 65 74 72 C96 80 96 38 62 34 C38 31 28 47 8 39' fill='none' stroke='rgba(255,255,255,.9)' stroke-width='2.4' stroke-linecap='round' stroke-dasharray='5 6'/%3E%3Cpath d='M10 39 L22 32 M10 39 L22 47' fill='none' stroke='rgba(255,255,255,.9)' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-8deg);
}
.handwritten-note::after {
  content: none;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.band-inner { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.facts-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts-row article {
  position: relative;
  min-height: 104px;
  padding: 1.1rem;
  border-right: 1px solid var(--line-soft);
}
.facts-row article:first-child { border-left: 1px solid var(--line-soft); }
.facts-row span,
.catalog-aside strong,
.badge {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.facts-row strong { display: block; margin-top: 0.9rem; font-size: 1rem; line-height: 1.35; }
.leader-fact strong::after {
  content: " ->";
  color: var(--green);
}
.leader-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.75rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #1d1d1d;
  font-size: 0.86rem;
  font-weight: 850;
}
.leader-link:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.section { padding: clamp(2.6rem, 6vw, 5.2rem) 0; }
.scenario-section,
.about-section,
.work-steps,
.limits-section {
  margin-top: 1rem;
  padding-right: clamp(1rem, 3vw, 1.5rem);
  padding-left: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(244, 242, 234, 0.04), rgba(51, 51, 51, 0.28));
}
.section-title {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}
.section-title.compact { display: block; max-width: 720px; }

.scenario-section { padding-top: clamp(2.4rem, 5vw, 4rem); }
.scenario-grid,
.limits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.scenario-card,
.limits-grid article {
  min-height: 240px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), #1f1f1f);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}
.scenario-card {
  display: flex;
  flex-direction: column;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.scenario-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.scenario-card span {
  width: fit-content;
  margin-bottom: auto;
  padding: 0.36rem 0.58rem;
  border-radius: 999px;
  color: #101510;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.scenario-card h3 { margin-top: 2rem; font-size: 1.22rem; }
.scenario-card p,
.limits-grid p {
  color: var(--muted);
  line-height: 1.56;
}

.about-section {
  display: block;
}
.about-section .section-title {
  margin-bottom: 1rem;
}
.about-card {
  display: grid;
  gap: 0.95rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), #202020);
  box-shadow: var(--shadow);
}
.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.timeline-list article {
  min-height: 172px;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), #202020);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.timeline-list h3 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}
.timeline-list time {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.timeline-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.learning-section {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(244, 242, 234, 0.035), rgba(51, 51, 51, 0.24));
  padding-right: clamp(1rem, 3vw, 1.5rem);
  padding-left: clamp(1rem, 3vw, 1.5rem);
}
.learning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.learning-card {
  display: grid;
  min-height: 238px;
  align-content: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), #1f1f1f);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}
.learning-card.featured {
  border-color: rgba(45, 190, 100, 0.5);
  background:
    radial-gradient(circle at 82% 16%, rgba(45, 190, 100, 0.22), transparent 7rem),
    linear-gradient(135deg, var(--surface), #1f1f1f);
}
.learning-card.featured.berry {
  border-color: rgba(215, 20, 75, 0.5);
  background:
    radial-gradient(circle at 82% 16%, rgba(215, 20, 75, 0.2), transparent 7rem),
    linear-gradient(135deg, var(--surface), #1f1f1f);
}
.learning-card span {
  width: fit-content;
  margin-bottom: 1.2rem;
  padding: 0.36rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: #1d1d1d;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.learning-card.berry span { color: var(--berry); }
.learning-card h3 {
  font-size: 1.18rem;
}
.learning-card p {
  color: var(--muted);
  line-height: 1.54;
}
.learning-card a,
.certificate-links a {
  width: fit-content;
  color: var(--green);
  font-weight: 850;
  border-bottom: 2px solid currentColor;
}
.certificate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.4rem;
}
.learning-card.in-progress {
  border-color: rgba(45, 190, 100, 0.45);
}
.progress-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.46rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #1d1d1d;
  font-weight: 850;
}
.progress-status i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--berry);
  box-shadow: 0 0 0 0 rgba(215, 20, 75, 0.45);
  animation: slowBlink 2.8s ease-in-out infinite;
}
@keyframes slowBlink {
  0%, 100% {
    opacity: 0.45;
    box-shadow: 0 0 0 0 rgba(215, 20, 75, 0.24);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 8px rgba(215, 20, 75, 0.08);
  }
}
.section-action {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}
.course-catalog {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.course-group {
  display: grid;
  gap: 1rem;
}
.secondary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-steps {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.steps-row article {
  min-height: 156px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #252525, #1f1f1f);
}
.steps-row span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 1.4rem;
  border-radius: 50%;
  color: #101510;
  background: var(--green);
  font-weight: 900;
}
.steps-row p {
  color: var(--muted);
  line-height: 1.56;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.category-card,
.offer-card,
.product-card,
.case-card,
.spec-card,
.contact-panel,
.request-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}
.category-card {
  display: grid;
  min-height: 190px;
  padding: 1rem;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}
.category-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.category-card span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #1d1d1d;
  font-size: 0.82rem;
  font-weight: 900;
}
.category-card h3 { align-self: end; margin-top: 2rem; font-size: 1.25rem; }
.category-card p,
.offer-card p,
.product-card p,
.case-card p,
.contact-panel p { color: var(--muted); line-height: 1.56; }

.split-section { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 0.9rem; }
.offer-list { display: grid; gap: 0.75rem; }
.offer-card { padding: 1rem; }
.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
}

.case-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.case-strip a {
  display: grid;
  min-height: 136px;
  align-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), #1f1f1f);
}
.case-strip a:hover {
  border-color: var(--green);
}
.case-strip span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.case-strip strong {
  line-height: 1.28;
}
.case-card img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #1e1e1e;
  filter: grayscale(1) contrast(1.08) brightness(0.62);
  opacity: 0.82;
  mix-blend-mode: luminosity;
}
.case-visual {
  position: relative;
  height: 104px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: linear-gradient(135deg, #1f1f1f, #303030);
}
.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 242, 234, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 242, 234, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.case-visual span {
  position: absolute;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}
.visual-green span:nth-child(1) {
  left: 1rem;
  top: 1.1rem;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--green);
}
.visual-green span:nth-child(2) {
  right: 1.1rem;
  top: 1rem;
  width: 108px;
  height: 30px;
  border-radius: 999px;
  transform: rotate(-12deg);
  background: rgba(45, 190, 100, 0.34);
}
.visual-green span:nth-child(3) {
  left: 42%;
  bottom: 0.9rem;
  width: 48px;
  height: 48px;
  transform: rotate(14deg);
  background: #f4f2ea;
}
.visual-berry span:nth-child(1) {
  left: 1.3rem;
  bottom: 1rem;
  width: 112px;
  height: 36px;
  border-radius: 999px;
  background: var(--berry);
  transform: rotate(9deg);
}
.visual-berry span:nth-child(2) {
  right: 1rem;
  top: 0.8rem;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(215, 20, 75, 0.32);
  transform: rotate(28deg);
}
.visual-berry span:nth-child(3) {
  left: 48%;
  top: 1.25rem;
  width: 38px;
  height: 72px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #f4f2ea;
  transform: rotate(-16deg);
}
.visual-mixed span:nth-child(1) {
  left: 1rem;
  top: 1rem;
  width: 112px;
  height: 62px;
  border-radius: 52% 48% 46% 54% / 48% 38% 62% 52%;
  background: #4a4a4a;
}
.visual-mixed span:nth-child(2) {
  right: 1.4rem;
  bottom: 1rem;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--green);
}
.visual-mixed span:nth-child(3) {
  right: 4.2rem;
  top: 0.9rem;
  width: 32px;
  height: 82px;
  border-radius: 999px;
  background: var(--berry);
  transform: rotate(34deg);
}
.visual-graphite span:nth-child(1) {
  left: 1rem;
  top: 1.1rem;
  width: 88px;
  height: 46px;
  background: #555;
  clip-path: polygon(10% 0, 100% 0, 82% 100%, 0 100%);
}
.visual-graphite span:nth-child(2) {
  right: 1rem;
  top: 1rem;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border-width: 12px;
  background: transparent;
  border-color: var(--green);
}
.visual-graphite span:nth-child(3) {
  left: 45%;
  bottom: 1rem;
  width: 30px;
  height: 30px;
  background: var(--berry);
  transform: rotate(45deg);
}
.visual-knowledge span:nth-child(1) {
  left: 1rem;
  top: 0.9rem;
  width: 42px;
  height: 82px;
  border-radius: 999px;
  background: rgba(45, 190, 100, 0.34);
  transform: rotate(-20deg);
}
.visual-knowledge span:nth-child(2) {
  left: 42%;
  top: 1.2rem;
  width: 96px;
  height: 38px;
  border-radius: 999px;
  background: var(--berry);
  transform: rotate(-8deg);
}
.visual-knowledge span:nth-child(3) {
  right: 1.1rem;
  bottom: 0.9rem;
  width: 66px;
  height: 66px;
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
  background: #f4f2ea;
}
.visual-tracker span:nth-child(1) {
  left: 1rem;
  bottom: 1rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(215, 20, 75, 0.32);
}
.visual-tracker span:nth-child(2) {
  left: 42%;
  top: 0.8rem;
  width: 120px;
  height: 18px;
  border-radius: 999px;
  background: #f4f2ea;
  transform: rotate(16deg);
}
.visual-tracker span:nth-child(3) {
  right: 1.3rem;
  bottom: 1.1rem;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--green);
  transform: rotate(-10deg);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  padding: clamp(1rem, 3vw, 1.6rem);
  color: var(--ink);
  background: linear-gradient(135deg, var(--surface), #1f1f1f);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-band .kicker { color: var(--green); }
.cta-band h2 { max-width: 820px; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.footer-links a { color: var(--green); font-weight: 850; }

.page-hero,
.service-hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.4rem, 4vw, 2.6rem); }

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
  padding-top: 0.5rem;
}
.catalog-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.catalog-aside a { padding: 0.65rem; border-radius: 6px; color: var(--muted); }
.catalog-aside a:hover { color: var(--ink); background: var(--green-soft); }
.product-list { display: grid; gap: 0.75rem; }
.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.68fr);
  gap: 1rem;
  padding: 1rem;
}
.product-card h2 { font-size: clamp(1.45rem, 2.4vw, 2.25rem); }
.product-card dl,
.spec-card dl { display: grid; gap: 0.35rem; margin: 0; }
.product-card dt,
.spec-card dt { color: var(--muted); font-weight: 900; }
.product-card dd,
.spec-card dd { margin: 0 0 0.5rem; line-height: 1.45; }
.text-link,
.case-card a,
.related-strip a {
  width: fit-content;
  color: var(--green);
  font-weight: 850;
  border-bottom: 2px solid var(--green);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 0.9rem;
  padding-top: 0.5rem;
}
.service-detail article {
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.service-detail li { margin: 0.62rem 0; line-height: 1.55; }
.spec-card { position: sticky; top: 92px; height: fit-content; padding: 1rem; }
.spec-card .button { width: 100%; margin-top: 1rem; }
.related-strip { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1rem 0 3rem; }

.case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.75rem;
  padding-top: 0.5rem;
}
.simple-cases {
  align-items: stretch;
}
.case-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 430px;
  padding: 1rem;
  border-left: 0;
}
.case-card span { color: var(--green); font-weight: 900; text-transform: uppercase; }
.case-card h2 { margin-top: 0.85rem; font-size: clamp(1.45rem, 2.35vw, 2.3rem); }
.case-points {
  margin: 1rem 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.case-points li {
  margin: 0.42rem 0;
  line-height: 1.46;
}
.case-steps {
  display: grid;
  gap: 0.52rem;
  margin: 1rem 0;
}
.case-steps div {
  padding: 0.8rem;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(244, 242, 234, 0.025);
}
.case-steps dt {
  margin-bottom: 0.32rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.case-steps dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.request-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 0.9rem;
  align-items: start;
  padding-top: 0.5rem;
}
.contact-panel,
.request-form { padding: 1rem; }
.owner-settings {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: #1f1f1f;
}
.sheet-status {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.62rem 0.76rem;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-weight: 850;
}
.request-form { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.42rem; }
label span,
.endpoint-settings summary { color: var(--muted); font-size: 0.9rem; font-weight: 850; }
label small {
  color: #94a393;
  font-size: 0.84rem;
  line-height: 1.35;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.82rem 0.88rem;
  color: var(--ink);
  background: var(--surface);
  outline: none;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 190, 100, 0.16);
}
.endpoint-settings {
  padding: 0.8rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.endpoint-settings label { margin-top: 0.8rem; }
.form-note { min-height: 1.4rem; margin: 0; color: var(--green); line-height: 1.4; }
.form-note.error { color: var(--berry); }

@media (max-width: 980px) {
  .hero, .page-hero, .service-hero, .section, .cta-band, .related-strip, .site-footer {
    width: min(1180px, calc(100vw - 2rem));
  }
  .editorial-grid,
  .split-section,
  .about-section,
  .catalog-layout,
  .product-card,
  .service-detail,
  .request-section,
  .section-title { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .category-grid,
  .learning-grid,
  .scenario-grid,
  .steps-row,
  .limits-grid,
  .case-strip,
  .timeline-list,
  .case-list { grid-template-columns: 1fr; }
  .catalog-aside,
  .spec-card,
  .about-section .section-title { position: static; height: auto; }
  .editorial-grid > * { min-width: 0; }
  .portrait-area {
    width: 100%;
    grid-template-columns: 1fr;
  }
  .handwritten-note { display: none; }
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .main-nav { width: 100%; flex-wrap: wrap; overflow: visible; padding-bottom: 0; }
  .main-nav a { padding: 0.52rem 0.68rem; }
  .main-nav a[href*="#about"],
  .main-nav a[href*="#learning"] { display: none; }
  h1 { font-size: clamp(2rem, 10vw, 2.75rem); line-height: 1.04; }
  h2 { font-size: clamp(1.55rem, 8vw, 2.2rem); }
  .hero { padding-top: 1.8rem; }
  .hero .lead { font-size: 1rem; line-height: 1.5; }
  .hero .action-row { margin-top: 1.1rem; }
  .portrait-block img { aspect-ratio: 16 / 10; object-position: center 28%; }
  .portrait-block { width: 100%; }
  .facts-row { grid-template-columns: 1fr; }
  .facts-row article { border-left: 1px solid var(--line-soft); }
  .cta-band,
  .site-footer { align-items: flex-start; flex-direction: column; }
}
