/* ===============================================================
   ЭКОНОРМА — Landing page
   Design: editorial / archive / refined eco
   =============================================================== */

:root {
  /* === Палитра === */
  --ink:        #0F1714;
  --ink-soft:   #1A2520;
  --paper:      #F0E9D6;
  --paper-soft: #F7F1E0;
  --paper-deep: #E5DCC4;
  --bone:       #DDD4BE;
  --moss:       #18261F;
  --spruce:     #2C4639;
  --sage:       #93AC8A;
  --matcha:     #C8E067;
  --matcha-deep:#A8C548;
  --rust:       #A04A2F;
  --ash:        #5C5547;
  --line:       rgba(15, 23, 20, 0.18);
  --line-soft:  rgba(15, 23, 20, 0.10);
  --line-light: rgba(240, 233, 214, 0.18);
  --shadow-deep: 0 30px 60px -30px rgba(15, 23, 20, 0.45);
  --shadow-soft: 0 12px 30px -12px rgba(15, 23, 20, 0.25);

  /* === Типографика === */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* === Ритм === */
  --container: 1280px;
  --container-wide: 1440px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 5rem;
  --space-7: 8rem;
  --radius: 0px;
  --radius-soft: 2px;
}

/* ============================================================
   БАЗА
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

::selection {
  background: var(--matcha);
  color: var(--ink);
}

/* ============================================================
   ЗЕРНО / GRAIN OVERLAY
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.45;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.06  0 0 0 0 0.09  0 0 0 0 0.08  0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ============================================================
   ЛЕНТА / RIBBON
   ============================================================ */
.ribbon {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
}

.ribbon__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0.5rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  gap: 1.25rem;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.ribbon__inner::-webkit-scrollbar { display: none; }

.ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bone);
}
.ribbon__item--soft { opacity: 0.55; }
.ribbon__sep { opacity: 0.3; }
.ribbon__sep--end { margin-left: auto; }

.ribbon__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--matcha);
  box-shadow: 0 0 0 0 rgba(200, 224, 103, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200, 224, 103, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(200, 224, 103, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 224, 103, 0); }
}

.ribbon__contact {
  color: var(--matcha);
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.ribbon__contact:hover { color: var(--paper); }

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 233, 214, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink);
}

.nav__mark {
  width: 36px;
  height: 36px;
  color: var(--moss);
  flex-shrink: 0;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__brand-main {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--ink);
}

.nav__brand-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 11px;
  font-weight: 350;
  margin-top: 0.25rem;
  color: var(--ash);
  letter-spacing: 0.01em;
}

.nav__menu {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav__menu a {
  position: relative;
  padding-bottom: 4px;
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--moss);
  transition: right 0.3s cubic-bezier(.2,.7,.2,1);
}
.nav__menu a:hover::after { right: 0; }

.nav__cta { padding: 0.7rem 1.2rem; font-size: 13px; }

@media (max-width: 880px) {
  .nav__menu { display: none; }
  .nav { gap: 1rem; }
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-transform: none;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    border-color 0.25s ease;
}
.btn--lg { padding: 1.05rem 1.7rem; font-size: 15px; }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary .btn__arrow {
  transition: transform 0.25s ease;
}
.btn--primary:hover {
  background: var(--matcha);
  color: var(--ink);
  border-color: var(--matcha);
}
.btn--primary:hover .btn__arrow { transform: translateX(4px); }

.btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn__arrow {
  display: inline-flex;
  font-family: var(--font-mono);
  font-weight: 300;
}

/* ============================================================
   ВСПОМОГ. КЛАССЫ
   ============================================================ */
.section__head {
  max-width: 760px;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  margin: 0 auto var(--space-5);
}
.section__head--center { text-align: center; margin: 0 auto var(--space-6); }

.section__index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rust);
}
.section__index--light {
  color: var(--matcha);
  border-bottom-color: var(--matcha);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.section__title em {
  font-style: italic;
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  color: var(--spruce);
}
.section__title--light { color: var(--paper); }
.section__title--light em { color: var(--matcha); }

.section__desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: var(--ash);
  margin: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.hero__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--ink);
  opacity: 0.5;
}
.hero__corner--tl { top: clamp(1rem, 3vw, 2rem); left: clamp(1rem, 3vw, 2rem); border-right: none; border-bottom: none; }
.hero__corner--tr { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); border-left: none; border-bottom: none; }
.hero__corner--bl { bottom: clamp(1rem, 3vw, 2rem); left: clamp(1rem, 3vw, 2rem); border-right: none; border-top: none; }
.hero__corner--br { bottom: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); border-left: none; border-top: none; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}
.hero__meta-item {
  display: inline-flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero__meta-key { color: var(--ash); }
.hero__meta-val { color: var(--ink); font-weight: 500; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.1rem, 6.4vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 360;
  max-width: 18ch;
  overflow-wrap: break-word;
  word-break: normal;
}
.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-rise 0.9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.05s; }
.hero__title-line:nth-child(2) { animation-delay: 0.18s; padding-left: clamp(1rem, 6vw, 5rem); }
.hero__title-line:nth-child(3) { animation-delay: 0.31s; }
.hero__title-line:nth-child(4) { animation-delay: 0.44s; }

.hero__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 360;
  color: var(--spruce);
}

.hero__title-mark {
  background: transparent;
  color: var(--ink);
  position: relative;
  display: inline-block;
  padding: 0 0.1em;
}
.hero__title-mark::before {
  content: "";
  position: absolute;
  inset: 18% -0.05em 4% -0.05em;
  background: var(--matcha);
  z-index: -1;
  transform: skewX(-4deg);
}

@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  max-width: 56ch;
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-soft);
  border-left: 2px solid var(--spruce);
  padding-left: 1.4rem;
  margin-top: 1rem;
}
.hero__lede strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 62%, rgba(200, 224, 103, 0.45) 62%, rgba(200, 224, 103, 0.45) 95%, transparent 95%);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  margin-top: 1.5rem;
}
.hero__cta-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}
.hero__cta-note::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ash);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__stat:nth-child(2n) { border-right: none; }
.hero__stat:nth-last-child(-n+2) { border-bottom: none; }

@media (min-width: 760px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .hero__stat {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
  .hero__stat:last-child { border-right: none; }
  .hero__stat:nth-child(2n) { border-right: 1px solid var(--line); }
  .hero__stat:nth-child(4n) { border-right: none; }
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 3.6rem);
  font-weight: 350;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
}
.hero__stat-suf {
  font-size: 0.5em;
  margin-left: 0.05em;
  color: var(--spruce);
}
.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash);
  line-height: 1.5;
}

.hero__seal {
  position: absolute;
  top: clamp(3rem, 7vw, 5.5rem);
  right: clamp(1rem, 4vw, 3rem);
  width: clamp(120px, 13vw, 170px);
  color: var(--spruce);
  opacity: 0.85;
  animation: rotate 60s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .hero__seal { display: none; }
  .hero__title-line:nth-child(2) { padding-left: 1.5rem; }
}

/* ============================================================
   PAIN POINTS
   ============================================================ */
.pains {
  background: var(--paper-deep);
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pains::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 14px);
  opacity: 0.4;
}

.pains__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.pain {
  background: var(--paper-soft);
  padding: 1.8rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: background 0.25s ease;
}
.pain:hover { background: var(--paper); }
.pain--accent { background: var(--ink); color: var(--paper); }
.pain--accent:hover { background: var(--moss); }
.pain--accent .pain__label { color: var(--matcha); }
.pain--accent .pain__per { color: var(--bone); }
.pain--accent .pain__text { color: var(--bone); }
.pain--accent .pain__num { color: var(--paper); }

.pain__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.5rem;
  width: fit-content;
}

.pain__value { display: flex; flex-direction: column; gap: 0.25rem; }
.pain__num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 350;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--rust);
  font-variation-settings: "opsz" 144, "SOFT" 20;
}
.pain__per {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ash);
  text-transform: uppercase;
}
.pain__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   VALUE
   ============================================================ */
.value {
  padding: clamp(4rem, 8vw, 7rem) 0;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.value__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.value-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  grid-column: span 2;
  position: relative;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover {
  background: var(--paper);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.value-card--wide { grid-column: span 4; background: var(--bone); }
.value-card--accent {
  grid-column: span 6;
  background: var(--moss);
  color: var(--paper);
  border-color: var(--moss);
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 2.2rem;
}
.value-card--accent .value-card__num { color: var(--matcha); min-width: 4rem; }
.value-card--accent .value-card__text { color: var(--bone); max-width: 60ch; }
.value-card--accent .value-card__title { flex: 1; }

.value-card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.5rem;
  color: var(--rust);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.value-card__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.value-card__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 900px) {
  .value__grid { grid-template-columns: 1fr; }
  .value-card,
  .value-card--wide,
  .value-card--accent { grid-column: 1; }
  .value-card--accent { flex-direction: column; gap: 1rem; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 9vw, 8rem) 0;
  position: relative;
}
.services::before,
.services::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--matcha);
  opacity: 0.5;
}
.services::before { top: 0; }
.services::after { bottom: 0; }

.services .section__index { color: var(--matcha); border-bottom-color: var(--matcha); }
.services .section__title { color: var(--paper); }
.services .section__title em { color: var(--matcha); font-variation-settings: "opsz" 144, "SOFT" 100; }
.services .section__desc { color: var(--bone); }

.cat {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 0;
}

.cat__head {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "index count"
    "heading heading";
  align-items: center;
  gap: 1.1rem 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 1.5rem;
}

.cat__index {
  grid-area: index;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--matcha);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.cat__index::after {
  content: "";
  height: 1px;
  width: 48px;
  background: var(--matcha);
  opacity: 0.5;
}

.cat__heading {
  grid-area: heading;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cat__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.cat__sub {
  font-size: 14px;
  color: var(--sage);
  margin: 0;
  line-height: 1.4;
  max-width: 60ch;
}
.cat__count {
  grid-area: count;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line-light);
  justify-self: end;
  white-space: nowrap;
}

.cat__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}
@media (min-width: 640px) {
  .cat__list:has(.svc:nth-child(2)) { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) and (max-width: 959.98px) {
  .cat__list:has(.svc:nth-child(3)) > .svc:nth-child(3):last-child {
    grid-column: 1 / -1;
  }
}
@media (min-width: 960px) {
  .cat__list:has(.svc:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
}

.svc {
  background: var(--ink);
  padding: 1.7rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: background 0.25s ease;
  position: relative;
  min-height: 100%;
}
.svc:hover { background: var(--ink-soft); }
.svc--wide { grid-column: 1 / -1; }

.svc__code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--matcha);
  border: 1px solid var(--matcha);
  padding: 0.25rem 0.55rem;
  width: fit-content;
}

.svc__name {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.svc__who {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--bone);
  margin: 0;
  flex: 1;
}
.svc__who-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.svc__cta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--matcha);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--line-light);
  width: fit-content;
  transition: gap 0.2s ease, color 0.2s ease;
}
.svc__cta:hover {
  gap: 0.9rem;
  color: var(--paper);
}


.services__foot {
  max-width: var(--container);
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 0;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.services__foot p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--paper);
  margin: 0;
  max-width: 36ch;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.services__foot .btn--primary {
  background: var(--matcha);
  color: var(--ink);
  border-color: var(--matcha);
}
.services__foot .btn--primary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: clamp(5rem, 9vw, 8rem) 0;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.process__list {
  list-style: none;
  margin: 0;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}
.process__list::before {
  content: "";
  position: absolute;
  left: calc(clamp(1rem, 4vw, 2.5rem) + 38px);
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 4px, transparent 4px 10px);
}

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: none; }

.step__num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--rust);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  background: var(--paper);
  padding: 0.25rem 0.5rem 0.25rem 0;
  z-index: 1;
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.step__text {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 64ch;
}
.step__time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 0.4rem;
}

@media (max-width: 640px) {
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .step__num { font-size: 1.8rem; }
  .process__list::before { left: calc(clamp(1rem, 4vw, 2.5rem) + 25px); }
}

/* ============================================================
   TRUST
   ============================================================ */
.trust {
  background: var(--moss);
  color: var(--paper);
  padding: clamp(5rem, 9vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 224, 103, 0.06), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(147, 172, 138, 0.08), transparent 50%);
  pointer-events: none;
}

.trust__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  position: relative;
}

.trust__head {
  max-width: 700px;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

.trust__quote {
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  max-width: 880px;
  border-left: 2px solid var(--matcha);
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
}
.trust__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.trust__quote-mark {
  color: var(--matcha);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.05em;
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 0;
  padding: 0 0.05em;
}
.trust__quote-author {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}
.trust__quote-name { color: var(--paper); font-weight: 500; }

.trust__points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.trust__point {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.trust__point:last-child { border-right: none; }

.trust__point-num {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(2.8rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}
.trust__point-suf {
  font-family: var(--font-mono);
  font-size: 0.28em;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--matcha);
}
.trust__point-label {
  font-size: 14px;
  line-height: 1.5;
  color: var(--bone);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: clamp(5rem, 9vw, 8rem) 0;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.faq__list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  transition: color 0.2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--spruce); }

.faq__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1);
}
.faq__icon::before {
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.faq__icon::after {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
.faq__item[open] .faq__icon::after { transform: translateX(-50%) rotate(90deg); }

.faq__a {
  padding: 0 0 1.5rem;
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  animation: faq-open 0.35s ease;
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
  max-width: var(--container-wide);
  margin: 0 auto;
}

.contact__panel {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.contact__panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  bottom: 0;
  background: var(--matcha);
}

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

.contact__col--copy { display: flex; flex-direction: column; gap: 1.4rem; }

.contact__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.contact__title em {
  font-style: italic;
  color: var(--matcha);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.contact__lede {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--bone);
  margin: 0;
  max-width: 50ch;
}

.contact__channels {
  list-style: none;
  margin: auto 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 1.5rem;
}
.channel { display: flex; flex-direction: column; gap: 0.3rem; }
.channel__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}
.channel__val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 350;
  color: var(--paper);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
a.channel__val { transition: color 0.2s ease; }
a.channel__val:hover { color: var(--matcha); }

/* === ФОРМА === */
.contact__form { display: flex; flex-direction: column; gap: 1rem; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .form__row { grid-template-columns: 1fr; }
}

.form__field { display: flex; flex-direction: column; gap: 0.4rem; }

.form__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--paper);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: rgba(221, 212, 190, 0.4); }

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--matcha);
  background: rgba(200, 224, 103, 0.04);
}

.form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4 L6 8 L10 4' fill='none' stroke='%23C8E067' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.form__field select option {
  background: var(--ink);
  color: var(--paper);
}

.form__submit {
  margin-top: 0.5rem;
  background: var(--matcha);
  color: var(--ink);
  border-color: var(--matcha);
  align-self: flex-start;
}
.form__submit:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.form__legal {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--ash);
  margin: 0.5rem 0 0;
}
.form__legal a { color: var(--bone); border-bottom: 1px dotted var(--bone); padding-bottom: 1px; }
.form__legal a:hover { color: var(--matcha); border-color: var(--matcha); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 0;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; }
}

.footer__brand { display: flex; flex-direction: column; gap: 0.4rem; }
.footer__brand-main {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--ink);
}
.footer__brand-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ash);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.footer__copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ash);
  margin-top: 1rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 14px;
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  width: fit-content;
}
.footer__col a {
  color: var(--ink-soft);
  position: relative;
  width: fit-content;
}
.footer__col a:hover { color: var(--spruce); }
.footer__col span {
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 12px;
}
.footer__col--contact a { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }

.footer__bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ash);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ============================================================
   FOCUS
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--matcha);
  outline-offset: 3px;
}

/* ============================================================
   ACCESSIBILITY: REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .hero__seal { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
