:root {
  --color-bg: #151e18;
  --color-section: linear-gradient(135deg, #1d3727 0%, #193d2d 40%, #101412 100%);
  --color-accent: #58ff99;
  --color-primary: #229ED9;
  --color-text: #e6f9e6;
  --color-muted: #b7c3b2;
  --color-warm-yellow-dark: #d9b85a;
  --color-warm-yellow: #ffe793;
  --color-orange-dark: #e88c2a;
  --color-orange-dark-deep: #c86c0c;
  --color-orange-menu: #b05a00;
  --radius: 1.1rem;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --section-max: 780px;
  --section-pad: 1.3875rem;
  --footer-box-max: 650px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(29, 55, 39, 0.92);
  backdrop-filter: blur(16px);
  padding: 1.1rem 0.5rem 1.1rem 0.5rem;
  box-shadow: 0 4px 32px rgba(20,40,20,0.13), 0 1.5px 8px #1d372750;
  text-align: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto;
  width: 100%;
  max-width: var(--section-max);
  min-width: 280px;
  box-sizing: border-box;
  overflow-x: auto;
  padding-left: 0.2em;
  padding-right: 0.2em;
  height: 48px;
  background: transparent;
  position: relative;
}

.nav-link {
  color: var(--color-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12px;
  border-radius: 0.38em;
  white-space: nowrap;
  box-sizing: border-box;
  text-align: center;
  flex: 1 1 0%;
  min-width: 40px;
  max-width: 120px;
  border: 2px solid #23432f;
  background: linear-gradient(100deg, #13251c 60%, #242c27 100%);
  box-shadow: 0 2px 12px #18392810;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform 0.23s cubic-bezier(.4,0,.2,1);
  position: relative;
  margin: 0 0.08em;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.3em;
  border-radius: 0.38em;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--color-accent);
  background: var(--color-section);
  border-color: var(--color-accent);
  box-shadow: 0 4px 24px #176b4280;
  transform: translateY(-2px) scale(1.04);
  z-index: 2;
}
.nav-link-orange {
  color: var(--color-orange-menu) !important;
  border-color: var(--color-orange-menu) !important;
  font-weight: 800;
  background: rgba(235,120,20,0.09);
}

@media (max-width: 1300px) {
  .nav-link { max-width: 110px; font-size: 0.78rem; }
}
@media (max-width: 960px) {
  .nav-link { font-size: 0.68rem; max-width: 86px; padding: 0 0.7em; }
  .nav { height: 40px; }
}
@media (max-width: 700px) {
  .nav {
    gap: 0.14rem;
    width: 100vw;
    max-width: 100vw;
    padding-left: 0.03rem;
    padding-right: 0.03rem;
    height: 36px;
  }
  .nav-link {
    font-size: 0.63rem;
    padding: 0 0.28em;
    min-width: 34px;
    max-width: 22vw;
    flex: 1 1 0%;
    margin: 0 0.03em;
    height: 100%;
  }
}

.section {
  width: 100%;
  max-width: var(--section-max);
  margin: 2.4rem auto;
  background: var(--color-section);
  border-radius: var(--radius);
  box-shadow: 0 4px 32px rgba(44, 88, 44, 0.13), 0 1.5px 10px #1d372760;
  padding: var(--section-pad);
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity var(--transition), transform var(--transition);
  box-sizing: border-box;
}
.section.visible { opacity: 1; transform: translateY(0) scale(1); }
.section-main { background: var(--color-section); }

.headline {
  font-size: 2.52rem !important; /* уменьшено на 30% */
  font-weight: 900 !important;
  color: var(--color-accent) !important;
  text-align: center !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15em; /* чуть меньше */
  line-height: 1.12;
  text-shadow: 0 2px 24px #229ED950;
  position: relative;
}
.headline-center { text-align: center !important; }

.headline-mini {
  display: block;
  text-align: center;
  color: var(--color-accent);
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-top: -0.5em;
  margin-bottom: 0.8em;
}

.headline-sub {
  display: block;
  color: var(--color-accent);
  font-size: 1.0em;
  font-weight: 400;
  text-align: center;
  margin: 0 auto 18px auto;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.turnover-title {
  color: var(--color-accent);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
  display: block;
  letter-spacing: 0.01em;
}

/* Неоновая рамка + отступ вниз */
.main-image {
  display: block;
  margin: 60px auto 60px auto;
  max-width: 100%;
  width: 95%;
  border-radius: 1.1em;
  background: #1d3727;
  object-fit: cover;
  transition: box-shadow 0.4s, transform 0.22s cubic-bezier(.4,0,.2,1);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  filter: saturate(1.07) brightness(1.07) contrast(1.03);
  border: none;
  /* Неоновая рамка */
  box-shadow:
    0 0 0 2px #b9ff6b,
    0 0 8px 3px #58ff99,
    0 0 16px 4px #229ED9,
    0 0 20px 5px #58ff99;
  animation: neon-border 2.5s infinite alternate;

}
@keyframes neon-border {
  from {
    box-shadow:
      0 0 0 3px #b9ff6b,
      0 0 20px 5px #58ff99,
      0 0 40px 10px #229ED9,
      0 0 60px 14px #58ff99;
  }
  to {
    box-shadow:
      0 0 0 3px #b9ff6b,
      0 0 32px 11px #58ff99,
      0 0 60px 20px #229ED9,
      0 0 80px 28px #58ff99;
  }
}
.main-image:hover {
  box-shadow:
    0 0 0 3px #b9ff6b,
    0 0 36px 12px #58ff99,
    0 0 80px 24px #229ED9,
    0 0 90px 38px #58ff99;
  transform: scale(1.025) rotate(-0.5deg);
}

/* Тёплый жёлтый блок + отступ вниз */
.desc-bold-yellow-center {
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-warm-yellow-dark);
  margin: 30px auto 1cm auto !important;
  line-height: 1.7;
  letter-spacing: 0.03em;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.5em 1.2875em;
  box-sizing: border-box;
  border-radius: 0.6em;
  background: rgba(255, 231, 147, 0.12);
  min-width: 0;
}

.desc-list-14 {
  margin: 0.5em 0 0.6em 0;
  padding-left: 1.3em;
}
.desc-list-14 li {
  margin-bottom: 0.6em !important;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1.36;
}
.desc-list-14 li:last-child {
  margin-bottom: 0;
}

.team-join-title,
.dont-miss-title {
  color: #fff !important;
  font-size: 26px !important;
  font-weight: bold !important;
  text-align: center !important;
  margin: 1.2em 0 1.2em 0;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.contract-title-small,
.contract-title-center,
.fresh-contract-title,
.real-contract-title {
  display: block;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  font-size: 26px !important;
  font-weight: bold !important;
  color: #fff !important;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px #18392870;
  margin-bottom: 0.6em;
}

.no-magic-title {
  color: #fff !important;
  font-size: 20px !important;
  font-weight: bold !important;
  text-align: center !important;
  margin: 0.9em 0 0.8em 0;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.main-yellow-profit {
  color: var(--color-warm-yellow-dark);
  font-weight: bold;
  font-size: 1.16em;
  text-align: center;
  display: block;
  margin: 1.2em 0 0.7em 0;
  letter-spacing: 0.01em;
}

.attention-title {
  color: #fff !important;
  font-size: 26px !important;
  font-weight: bold !important;
  text-align: center !important;
  margin: 0.9em 0 0.3em 0;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

@media (max-width: 700px) {
  .team-join-title, .dont-miss-title, .contract-title-small, .contract-title-center, .fresh-contract-title, .real-contract-title, .no-magic-title, .attention-title {
    font-size: 26px !important;
  }
  .headline {
    font-size: 1.76rem !important; /* 30% меньше от мобильной */
  }
}

.reviews-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0.5em;
  box-sizing: border-box;
}
.reviews-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reviews-list {
  width: 100%;
  min-height: 240px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.review-block {
  width: 100%;
  max-width: 400px;
  min-width: 0;
  background: linear-gradient(110deg, #183928c0 60%, #1a1d1c 100%);
  border-radius: var(--radius);
  box-shadow: 0 2px 18px #193d2d40;
  padding: 20px 21px 16px 21px;
  text-align: center;
  display: none;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  border: 2.5px solid #23432f;
  box-sizing: border-box;
  opacity: 0;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-clip: padding-box;
  /* Плавная анимация перелистывания */
  transition: opacity 0.55s var(--transition), transform 0.55s var(--transition);
  transform: scale(0.98) translateY(24px);
  z-index: 1;
}
.review-block.active {
  display: flex;
  opacity: 1;
  position: relative;
  transform: scale(1) translateY(0);
  z-index: 2;
}
.review-block.inactive {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.review-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 6px;
  border: 3px solid #b9ff6b;
  box-shadow: 0 0 4px #eee;
  transition: box-shadow 0.22s;
}
.review-block:hover .review-img {
  box-shadow: 0 0 16px #229ED9cc;
}
.review-name-age {
  font-size: 1.12em !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 7px;
  letter-spacing: 0.5px;
}
.review-text {
  font-size: 1em;
  margin-bottom: 12px;
  font-family: inherit;
  color: #e2f2e2;
  line-height: 1.55;
  word-break: break-word;
}
.review-date {
  font-size: 0.92em;
  color: #b7c3b2;
  margin-top: 3px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2em;
  margin-top: 0.7em;
}
.carousel-arrow {
  background: linear-gradient(135deg, #232a27 60%, #1b3f2e 100%);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2.1rem;
  color: #fff;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px #176b4280, 0 0 0 2px #b9ff6b inset;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.11s;
  user-select: none;
  outline: none;
}
.carousel-arrow svg {
  width: 25px;
  height: 25px;
  stroke: #b9ff6b;
  stroke-width: 3.5;
  fill: none;
}
.carousel-arrow:active,
.carousel-arrow:focus {
  background: linear-gradient(135deg, #1b3f2e 80%, #232a27 100%);
  color: #58ff99;
  box-shadow: 0 2px 12px #58ff9980, 0 0 0 3px #58ff99 inset;
  transform: scale(0.95);
}
.carousel-arrow:hover {
  background: linear-gradient(135deg, #b9ff6b 10%, #1b3f2e 90%);
  color: #101412;
  box-shadow: 0 8px 32px #b9ff6b55, 0 0 0 3px #b9ff6b inset;
  transform: scale(1.1);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  max-width: 130px;
  overflow: hidden;
}
.carousel-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #b7c3b2;
  opacity: 0.5;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
  border: 2px solid transparent;
  flex-shrink: 0;
  flex-grow: 0;
}
.carousel-dot.active {
  background: #b9ff6b;
  opacity: 1;
  border: 2px solid #b9ff6b;
  transform: scale(1.18);
}

.start-section {
  background: linear-gradient(135deg,#194d2d 0%,#232a27 100%);
  border-radius: 1.5em;
  margin: 2.5em auto 2em auto;
  box-shadow: 0 6px 22px #176b4280, 0 1px 10px #229ED920;
  padding: 2.2em 1.7em 1.7em 1.7em;
  text-align: center;
  max-width: 500px;
  border: 2.5px solid #b9ff6b;
  position: relative;
}
.start-title {
  font-size: 1.89rem !important;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 1.4rem;
  margin-top: 0.5rem;
  text-shadow: 0 2px 16px #18392870;
}
.telegram-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.3rem 0 1rem 0;
}
.telegram-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2em;
  background: linear-gradient(92deg, #229ED9 70%, #58ff99 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 1.5em;
  padding: 0.66em 1.5em;
  font-size: 0.87rem;
  box-shadow: 0 2px 20px #229ED920, 0 2px 40px #b9ff6b30;
  border: none;
  transition: background 0.3s, transform 0.22s, box-shadow 0.32s;
  min-width: 110px;
  min-height: 36px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.telegram-btn .tg-icon svg { width: 1.2em; height: 1.2em; }
.telegram-btn .tg-text {
  font-size: 1em;
  font-weight: 700;
  margin-left: 0.3em;
  white-space: nowrap;
  display: block;
  text-align: center;
  z-index: 1;
}

/* FOOTER оформление и красивая рамка */
.footer.company-footer {
  text-align: center;
  color: #b7c3b2;
  font-size: 0.96rem;
  margin: 3rem 0 1.3rem 0;
  letter-spacing: 0.1px;
  background: none;
  box-shadow: none;
  padding: 0;
}
.footer-box {
  background: linear-gradient(120deg, #1d3727 80%, #1b3f2e 100%);
  border-radius: 1.1em;
  max-width: var(--footer-box-max);
  margin: 0 auto;
  padding: 1.35em 2.2em 1.25em 2.2em;
  border: 2.5px solid #b9ff6b;
  box-shadow: 0 2px 24px #229ED940, 0 1px 8px #1d372750;
  box-sizing: border-box;
  text-align: left;
  line-height: 1.5;
  font-size: 0.96rem;
  color: #b7c3b2;
  word-break: break-word;
}
.footer-box > div {
  margin-bottom: 0.2em;
}
.footer-box > div:last-child {
  margin-bottom: 0;
}

.lead-form-section {
  background: linear-gradient(135deg, #1e2f25 0%, #173324 100%);
  text-align: center;
  padding: 2em 1.5em;
  border-radius: var(--radius);
  margin-top: 2.5rem;
  box-shadow: 0 4px 24px rgba(20, 80, 40, 0.3);
  border: 2px solid #58ff99;
}

.form-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: color: #8fe4b0;
  margin-bottom: 0.6em;
  text-shadow: 0 2px 16px #229ED980;
}

.form-subtitle {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 1.2em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8em;
  max-width: 420px;
  margin: 0 auto;
}

.form-input {
  width: 100%;
  padding: 0.9em 1.1em;
  border-radius: 0.8em;
  border: 2px solid #229ED9;
  background: #13251c;
  color: var(--color-text);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.form-input:focus {
  border-color: #58ff99;
  box-shadow: 0 0 12px #58ff9980;
}

.form-button {
  padding: 0.9em 2em;
  border-radius: 0.8em;
  background: linear-gradient(92deg, #1d3727 0%, #2a2f2e 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.3s, transform 0.2s;
}

.form-button:hover {
  transform: scale(1.05);
  background: linear-gradient(92deg, #26503b 0%, #2e3332 100%);
  box-shadow: 0 6px 22px #18392880;
}

.form-note {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 1.2em;
}
