:root {
  --bg: #f7faf7;
  --surface: #ffffff;
  --surface-2: #eef6ef;
  --text: #1f2a22;
  --muted: #617069;
  --line: #dbe6dc;
  --primary: #7fc241;
  --primary-dark: #4da43f;
  --accent: #d6ead0;
  --shadow: 0 16px 40px rgba(43, 74, 44, 0.10);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(127,194,65,.16), transparent 30%),
    linear-gradient(180deg, #fbfdfb 0%, #f4f8f4 100%);
  line-height: 1.55;
}

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

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

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,253,251,0.84);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,230,220,0.85);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: nowrap;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 0;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 2px;
}

.brand:hover img {
  transform: scale(1.04);
  transition: 0.2s ease;
}

.brand-text strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.brand img {
  width: 48px;
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.nav-links > a:not(.btn) {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: background .2s ease, color .2s ease;
}

.nav-links > a:not(.btn):hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-links .btn-primary {
  order: 2;
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(31,42,34,.04);
  padding: 0;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lang-switch {
  min-width: 124px;
}

.feature-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(127,194,65,0.12);
  border: 1px solid rgba(127,194,65,0.18);
  font-weight: 700;
  font-size: 0.95rem;
  color: #4da43f;
  flex: 0 0 auto;
}
.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-head h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
}
.card:hover .feature-badge {
  background: rgba(127,194,65,0.2);
}

#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 50;
}

#scrollTopBtn:hover {
  background: var(--surface-2);
  transform: translateY(0);
}

/* показать кнопку */
#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* мобилка чуть меньше */
@media (max-width: 720px) {
  #scrollTopBtn {
    width: 42px;
    height: 42px;
    right: 16px;
    bottom: 16px;
  }
}

/* ===== SIMPLIFIED LANGUAGE SWITCH ===== */

.nav-links .nice-select {
  order: 1;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  box-shadow: none;
  transition: border-color .15s ease, background .15s ease;
}

/* стрелка */
.nav-links .nice-select:after {
  right: 10px;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-bottom: 2px solid #7a8a82;
  border-right: 2px solid #7a8a82;
}

/* hover */
.nav-links .nice-select:hover {
  background: #f9fbf9;
  border-color: #cfded2;
}

/* focus/open */
.nav-links .nice-select.open,
.nav-links .nice-select:focus {
  border-color: var(--primary);
  box-shadow: none;
}

/* текст */
.nav-links .nice-select .current {
  line-height: 40px;
  font-weight: 500;
}

/* список */
.nav-links .nice-select .list {
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;

  padding: 8px;

  max-height: 220px;        /* 👈 ограничение высоты */
  overflow-y: auto;         /* 👈 включаем прокрутку */
  overflow-x: hidden;
}

/* УБИРАЕМ ВСЕ рамки от библиотеки */
.nav-links .nice-select .option {
  padding: 10px 14px;
  margin: 2px 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;

  border: none !important;          /* 👈 ключевой фикс */
  border-bottom: none !important;   /* 👈 убирает линии */
  background: transparent;

  border-radius: 8px;
}

/* hover */
.nav-links .nice-select .option:hover,
.nav-links .nice-select .option.focus {
  background: #f4f8f4;
}

/* selected */
.nav-links .nice-select .option.selected {
  font-weight: 600;
}

/* галочка */
.nav-links .nice-select .option.selected::before {
  content: "✓";
  margin-right: 8px;
  color: var(--primary);
  font-weight: 700;
}

/* кастомный скролл */
.nav-links .nice-select .list::-webkit-scrollbar {
  width: 6px;
}

.nav-links .nice-select .list::-webkit-scrollbar-thumb {
  background: #d6ead0;
  border-radius: 10px;
}

.nav-links .nice-select .list::-webkit-scrollbar-track {
  background: transparent;
}

.icon {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(127,194,65,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 18px;
  height: 18px;
  stroke: #4da43f;
}

.list li:hover .icon {
  background: rgba(127,194,65,0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: var(--shadow);
  padding: 12px 20px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3f8f35, #6fbb3a);
  box-shadow:
    0 12px 28px rgba(77,164,63,0.35),
    0 0 0 3px rgba(127,194,65,0.15);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-2);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.hero {
  padding: 56px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(127,194,65,.12);
  color: #467934;
  font-size: .92rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 1.02;
  margin: 18px 0 18px;
  letter-spacing: -0.04em;
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 670px;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.micro-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: .95rem;
}

.micro-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.visual-card {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ef 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -50px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(127,194,65,.24), transparent 68%);
  pointer-events: none;
}

.visual-card .box {
  width: min(100%, 460px);
  margin: 0 auto;
}

.section {
  padding: 34px 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 760px;
  margin: 0 0 26px;
}

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

.card {
  background: rgba(255,255,255,.84);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 22px rgba(31,42,34,.04);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  margin-bottom: 18px;
}

.item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.item-head strong {
  font-size: 1rem;
}
.item-text {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 44px; /* выравнивание под текст */
}


.list strong {
  display: block;
  margin-bottom: 4px;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.shot {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 8px 22px rgba(31,42,34,.04);
}

.shot img {
  width: 100%;
  border-radius: 16px;
}

.trial {
  background: linear-gradient(135deg, rgba(127,194,65,.10), rgba(214,234,208,.65));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.trial-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: center;
}

.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px dashed rgba(97,112,105,.22);
}

.step:first-child {
  border-top: 0;
  padding-top: 0;
}

.step-index {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
}

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

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(31,42,34,.04);
}

.price-card.featured {
  border-color: rgba(127,194,65,.55);
  box-shadow: 0 18px 34px rgba(77,164,63,.14);
  transform: translateY(-3px);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(127,194,65,.13);
  color: #3e7336;
  font-size: .82rem;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 8px;
}

.price-card .price {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 6px 0 8px;
}

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

.price-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 20px;
}

form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(31,42,34,.04);
}

.field {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(77,164,63,.75);
  box-shadow: 0 0 0 4px rgba(127,194,65,.14);
}

textarea {
  min-height: 144px;
  resize: vertical;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff, #f1f7f2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(31,42,34,.04);
}

.contact-item {
  padding: 16px 0;
  border-top: 1px dashed rgba(97,112,105,.22);
}

.contact-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.small {
  font-size: .93rem;
  color: var(--muted);
}

.notice {
  background: rgba(127,194,65,.09);
  border: 1px solid rgba(127,194,65,.22);
  color: #426f39;
  padding: 14px 16px;
  border-radius: 18px;
  font-size: .95rem;
}

.footer {
  padding: 36px 0 56px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: flex-start; /* 👈 вместо space-between */
  gap: 4px;
}

.visual-plain {
  display: flex;
  align-items: center;
  justify-content: center;
}

.box-plain {
  width: min(100%, 460px);
  margin: 0 auto;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .trial-grid,
  .contact-wrap,
  .gallery {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

/* hover */
.btn-ghost:hover {
  background: #f4f8f4;
  border-color: var(--primary);
  color: var(--primary);
}

/* active */
.btn-ghost:active {
  transform: translateY(1px);
}

.hero-mobile-image {
  display: none;
}

.hero-mobile-image img {
  width: min(100%, 320px);
  margin: 16px auto 8px;
}

@media (max-width: 720px) {
  .nav {
    align-items: center;
    flex-wrap: nowrap;
  }
  
  .pricing {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 16px;
}

.grid-3 {
  grid-template-columns: 1fr; 
}
  
  .hero {
  padding-top: 10px; 
}

.hero .container {
  padding-top: 0;
}

.hero .eyebrow {
  margin-top: 0;
}

  .menu-toggle {
    display: inline-flex;
  }
  
  .hero-mobile-image {
  display: block;
}

.visual-plain {
  display: none;
}

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px;
    background: rgba(251,253,251,0.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(31,42,34,.10);
    white-space: normal;
    z-index: 100;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a:not(.btn),
  .nav-links .btn,
  .nav-links .lang-switch {
    width: 100%;
  }

  .nav-links .nice-select {
    width: 100%;
    min-width: 100%;
    display: flex;
  }

  .nav-links .nice-select .current {
    width: 100%;
    line-height: 42px;
  }

  .nav-links .nice-select .list {
    width: 100%;
    min-width: 100%;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-text {
  line-height: 1.05;
}

.brand-text strong {
  font-size: 0.92rem;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.15;
  color: var(--muted);
}
}