@font-face{font-family:"Manrope";src:url("../assets/fonts/manrope-cyrillic-400-normal.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Manrope";src:url("../assets/fonts/manrope-cyrillic-600-normal.woff2") format("woff2");font-weight:500 600;font-display:swap}
@font-face{font-family:"Manrope";src:url("../assets/fonts/manrope-cyrillic-700-normal.woff2") format("woff2");font-weight:700 800;font-display:swap}
@font-face{font-family:"Onest";src:url("../assets/fonts/onest-cyrillic-wght-normal.woff2") format("woff2");font-weight:100 900;font-display:swap}

:root {
  --ink: #10251d;
  --muted: #65746d;
  --line: rgba(16, 37, 29, .12);
  --green: #236e4b;
  --green-2: #4f9a70;
  --soft: #e8f2eb;
  --milk: #f7f5ef;
  --card: rgba(255, 255, 255, .86);
  --shadow: 0 28px 80px rgba(21, 56, 42, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(99, 164, 122, .16), transparent 31rem),
    radial-gradient(circle at 94% 12%, rgba(66, 126, 159, .10), transparent 30rem),
    var(--milk);
  font-family: "Manrope", Arial, sans-serif;
}
body[data-audience="b2c"] {
  --green: #2f7953;
  --green-2: #71a982;
  --soft: #edf4e8;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; font-weight: 800; }
.brand img { width: 118px; height: 58px; object-fit: contain; mix-blend-mode: multiply; }
.back-link { color: var(--muted); font-size: 13px; font-weight: 700; }
.back-link:hover { color: var(--green); }
.global-mini-nav { display:flex; align-items:center; gap:16px; margin-left:auto; color:var(--muted); font-size:11px; font-weight:700; }
.global-mini-nav a:hover { color:var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 64px;
  align-items: end;
  padding: 74px 0 48px;
}
.eyebrow {
  margin: 0 0 17px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: "Onest", "Manrope", Arial, sans-serif; }
h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(46px, 7vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
}
h1 span { color: var(--green); }
.hero-copy { margin: 0 0 5px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.audience-switch {
  display: inline-flex;
  gap: 5px;
  margin-top: 24px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
}
.audience-switch a {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.audience-switch a[aria-current="page"] { background: var(--ink); color: #fff; }

.finder {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.66);
  box-shadow: var(--shadow);
}
.finder-panel { padding: 34px; }
.finder-panel:first-child {
  border-right: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(229, 241, 232, .92), rgba(250, 249, 245, .85));
}
.step-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.step-kicker span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--green); color: white; }
.panel-title { margin: 0 0 9px; font-size: 26px; line-height: 1.08; letter-spacing: -.035em; }
.panel-intro { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.context-list, .problem-list { display: grid; gap: 10px; }
.choice {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: rgba(255,255,255,.72);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.choice:hover { transform: translateY(-2px); border-color: rgba(35,110,75,.34); box-shadow: 0 14px 30px rgba(26,67,49,.07); }
.choice.is-active { border-color: var(--green); background: white; box-shadow: inset 4px 0 0 var(--green), 0 15px 35px rgba(26,67,49,.08); }
.choice strong { display: block; margin-bottom: 3px; font-size: 14px; }
.choice small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.problem-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.problem-list .choice { min-height: 82px; display: flex; align-items: center; gap: 12px; }
.problem-icon { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--soft); color: var(--green); font-weight: 800; }

.selection-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 36px;
  margin: 26px 0 20px;
}
.selection-summary span { padding: 8px 11px; border-radius: 999px; background: var(--soft); color: var(--green); font-size: 11px; font-weight: 800; }
.results-placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 40px;
  border: 1px dashed rgba(35,110,75,.28);
  border-radius: 24px;
  color: var(--muted);
  background: rgba(245,249,244,.58);
  text-align: center;
  line-height: 1.6;
}
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 16px; }
.results-heading h3 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.results-heading span { color: var(--muted); font-size: 12px; }
.result-list { display: grid; gap: 13px; }
.result-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  min-height: 144px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 44px rgba(20,53,40,.055);
}
.result-image { align-self: stretch; min-height: 144px; background: #e7eee7; }
.result-image img { display: block; width: 100%; height: 100%; min-height: 144px; object-fit: cover; }
.result-body { padding: 18px 0; }
.result-rank { margin: 0 0 8px; color: var(--green); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.result-body h4 { margin: 0 0 6px; font-family: "Onest", sans-serif; font-size: 19px; line-height: 1.1; }
.result-body p { margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.result-reason { color: var(--ink) !important; font-weight: 700; }
.compare-toggle {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.compare-toggle:hover, .compare-toggle.is-selected { border-color: var(--green); color: var(--green); background: var(--soft); }
.result-link { display: grid; place-items: center; width: 48px; height: 48px; margin-right: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 19px; transition: transform .2s ease, background .2s ease; }
.result-link:hover { transform: translateY(-2px); background: var(--green); }
.advice {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--soft);
  color: #315141;
  font-size: 12px;
  line-height: 1.65;
}

.profile-card, .water-calculator, .compare-panel, .lead-card {
  margin-top: 20px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
}
.profile-head, .lead-card, .water-calculator {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 26px;
  align-items: start;
}
.profile-head { grid-template-columns: minmax(0,1fr) auto; margin-bottom: 18px; }
.profile-head h3, .water-calculator h3, .lead-card h3 { margin: 0; font-size: 23px; letter-spacing: -.035em; }
.profile-head > span { max-width: 220px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: right; }
.profile-grid, .lead-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.profile-field, .lead-grid label, .water-controls label { display: grid; gap: 7px; }
.profile-field > span, .lead-grid label > span, .water-controls label > span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.profile-field--wide { margin-top: 12px; }
.profile-field input, .profile-field select, .profile-field textarea, .lead-grid input, .lead-grid select, .water-controls input, .water-controls select {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: rgba(255,255,255,.88);
  font: inherit;
  font-size: 12px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.profile-field textarea { resize: vertical; line-height: 1.5; }
.profile-field input:focus, .profile-field select:focus, .profile-field textarea:focus, .lead-grid input:focus, .lead-grid select:focus, .water-controls input:focus, .water-controls select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(35,110,75,.10); }

.water-calculator { background: linear-gradient(145deg, #153d2c, #20553d); color: #fff; }
.water-calculator > div:first-child p:not(.result-rank) { margin: 10px 0 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.6; }
.water-calculator .result-rank { color: #b9e0c4; }
.water-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.water-controls label:first-child { grid-column: 1 / -1; }
.water-controls label > span { color: rgba(255,255,255,.62); }
.water-result { grid-column: 1 / -1; margin-top: 2px; padding: 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); font-size: 11px; line-height: 1.5; }
.water-result span { display: block; margin-bottom: 4px; color: #b9e0c4; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.water-result strong { display: block; color: #fff; font-family: "Onest",sans-serif; font-size: 18px; }
.water-result p { margin: 5px 0; }
.water-result a { color: #fff; font-weight: 800; }

.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.action {
  min-height: 47px;
  padding: 12px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.action:hover { transform: translateY(-2px); }
.action--primary { border-color: var(--ink); background: var(--ink); color: #fff; }

.compare-panel { background: #f7faf7; }
.text-button { padding: 0; border: 0; color: var(--green); background: none; font-size: 11px; font-weight: 800; cursor: pointer; }
.compare-scroll { overflow-x: auto; }
.compare-panel table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 11px; line-height: 1.5; }
.compare-panel th, .compare-panel td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-panel thead th { color: var(--ink); font-family: "Onest",sans-serif; font-size: 12px; }
.compare-panel tbody th { width: 120px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.compare-panel td a { color: var(--green); font-weight: 800; }

.lead-card { align-items: stretch; background: #eef5ef; }
.lead-copy p:not(.result-rank) { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.consent { display: flex; gap: 9px; align-items: flex-start; margin-top: 13px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.consent input { margin-top: 1px; }
.form-note { margin: 10px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }

.homeplants {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  margin: 58px 0 92px;
  padding: 46px;
  border-radius: 30px;
  background: #173e2d;
  color: #fff;
  box-shadow: 0 34px 90px rgba(18, 48, 35, .16);
}
.homeplants h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 50px); line-height: 1; letter-spacing: -.05em; }
.homeplants p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.75; }
.homeplants-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.homeplant-tip { padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 17px; background: rgba(255,255,255,.07); }
.homeplant-tip strong { display: block; margin-bottom: 5px; color: #d9f0df; font-size: 12px; }
.homeplant-tip span { color: rgba(255,255,255,.66); font-size: 11px; line-height: 1.5; }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .finder { grid-template-columns: 1fr; }
  .finder-panel:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .context-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .homeplants { grid-template-columns: 1fr; }
  .profile-head, .lead-card, .water-calculator { grid-template-columns: 1fr; }
  .profile-head > span { max-width: none; text-align: left; }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 24px, 1220px); }
  .site-head { min-height: 72px; }
  .brand img { width: 96px; height: 48px; }
  .back-link { font-size: 11px; }
  .global-mini-nav { display:none; }
  .hero { padding: 48px 0 32px; }
  h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-copy { font-size: 14px; }
  .finder { border-radius: 24px; }
  .finder-panel { padding: 24px 18px; }
  .context-list, .problem-list { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 98px minmax(0,1fr); gap: 14px; min-height: 128px; }
  .result-image, .result-image img { min-height: 128px; }
  .result-body { padding: 14px 10px 14px 0; }
  .result-link { grid-column: 1 / -1; width: auto; height: 42px; margin: -4px 12px 12px; border-radius: 13px; font-size: 0; }
  .result-link::after { content: "Открыть продукт →"; font-size: 12px; font-weight: 800; }
  .profile-card, .water-calculator, .compare-panel, .lead-card { padding: 19px 15px; border-radius: 19px; }
  .profile-grid, .lead-grid, .water-controls { grid-template-columns: 1fr; }
  .water-controls label:first-child { grid-column: auto; }
  .result-actions, .lead-actions { display: grid; grid-template-columns: 1fr; }
  .action { width: 100%; }
  .homeplants { margin: 36px 0 60px; padding: 28px 20px; border-radius: 24px; }
  .homeplants-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media print {
  body { background: #fff; }
  .site-head, .hero, .finder-panel:first-child, .problem-list, .homeplants, footer, .result-link, .compare-toggle, .result-actions, .lead-card, .water-controls, .back-link { display: none !important; }
  .shell { width: 100%; }
  .finder { display: block; min-height: 0; overflow: visible; border: 0; box-shadow: none; background: #fff; }
  .finder-panel { padding: 0; }
  .selection-summary { margin-top: 0; }
  .result-card, .profile-card, .compare-panel, .water-calculator { break-inside: avoid; box-shadow: none; background: #fff; }
  .result-card { grid-template-columns: 100px minmax(0,1fr); }
  .result-image, .result-image img { min-height: 110px; }
  .water-calculator { color: var(--ink); }
  .water-result { color: var(--ink); border-color: var(--line); background: #fff; }
  .water-result strong, .water-result a { color: var(--ink); }
}
