* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}

body > main {
  flex: 1;
  padding: 15px;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

:root {
  --brand-green: #81d100;
  --brand-purple: #94569f;
  --brand-yellow: #fff700;
  --placeholder: #e0e0e0;
}

.btn {
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.3s;
  /* font-size: 1.2rem; */
}

.btn-green {
  background-color: var(--brand-green);
  color: #fff;
}

.btn-purple {
  background-color: var(--brand-purple);
  color: #fff;
  font-size: 1rem;
}

.btn-gray {
  background-color: #181818;
  color: #fff;
  font-size: 1rem;
}

.btn-yellow {
  background-color: var(--brand-yellow);
  color: #000;
  font-size: 1rem;
}

.btn-red {
  background-color: #ff4d6d;
  color: #fff;
  font-size: 1rem;
}

/* .btn:hover {
  opacity: 0.85;
} */

.btn-purple:hover {
  background-color: #801294;
}

.btn-green:hover {
  background-color: #6fb203;
}

.btn-red:hover {
  background-color: #e63f5e;
}

.card {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card-img {
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
}

.card-img img {
  width: 100%;
  height: auto;
  display: block;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-2 {
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

.grid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--placeholder);
  border-radius: 16px;
  padding: 1.5rem;
  color: #fff;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.grid-card h3 {
  font-size: 1.2rem;
  margin-bottom: auto;
  text-align: left;
}

.grid-card p {
  font-size: 0.95rem;
  text-align: left;
  margin-top: auto;
}

/* БАННЕР С КНОПКОЙ ВО ВСЮ ШИРИНУ */

.full-banner {
  background-color: var(--brand-green);
  color: #fff;
  padding: 3rem 1.5rem;
  border-radius: 16px;
  margin: 3rem 0;
  text-align: center;
}

.full-banner h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.full-banner p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.container-banner {
  max-width: 800px;
  margin: 0 auto;
}

/* КВАДРАТНЫЙ БАННЕР */

.square-banner {
  display: block;
  background-color: var(--brand-yellow);
  color: #000;
  text-decoration: none;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.square-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.square-banner-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.square-banner-content p {
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

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

  body > main {
    padding: 1rem;
    padding-top: 0px;
    /* или 64px, если .topbar выше */
  }

  .card {
    padding: 16px;
  }

  .card-title {
    font-size: 1rem;
  }

  .full-banner h2 {
    font-size: 1.4rem;
  }

  .square-banner {
    padding: 1.5rem;
  }
}

/* ВОПРОС-ОТВЕТ */

.faq-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
}

/* .faq-section h2,
    .use-cases-container h2,
    .reviews-slider h2 {
      font-size: 2rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 2rem;
    } */

.faq-item {
  border-top: 1px solid #ddd;
  width: 100%;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  padding: 1rem 0;
  color: #0056d2;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq-question::after {
  content: '+';
  font-weight: bold;
  font-size: 1.2rem;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  width: 100%;
}

.faq-item.open .faq-answer {
  display: block;
  max-height: 500px;
  /* достаточно для любого ответа */
  margin-top: 0.5rem;
}

.faq-note {
  margin-top: 2rem;
  font-size: 1rem;
  color: #666;
  text-align: center;
}

.faq-note a {
  color: #0056d2;
  text-decoration: underline;
}

/* ОТЗЫВЫ */

.reviews-slider {
  padding: 3rem 1rem;
  background: #f9f9f9;
  overflow: hidden;
  position: relative;
}

.reviews-title {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.reviews-head {
  max-width: 1100px;
  margin: 0 auto 1.2rem;
  padding: 0 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.reviews-head h2 {
  margin: 0;
}

.reviews-all-link {
  color: #6cc40a;
  text-decoration: none;
  font-weight: 700;
}

.slider-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 769px) {
  .slider-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 52px;
    overflow: visible;
  }

  .slider-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0 0 1rem;
  }
}

.review-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.review-image {
  width: 100%;
  aspect-ratio: 311.062 / 186.637;
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.review-card:hover .review-image img {
  transform: scale(1.03);
}

.review-card.review-card-all {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6cc40a, #4aa302);
  color: #fff;
  text-decoration: none;
  min-height: 220px;
}

.review-card-all__inner {
  padding: 24px 20px;
  text-align: center;
}

.review-card-all__text {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.review-content {
  padding: 1rem;
}

.review-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.review-stars {
  color: #ffc107;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.review-date {
  display: block;
  font-size: 0.82rem;
  color: #8a8a8a;
  margin-bottom: 0.45rem;
}

.review-text {
  font-size: 0.95rem;
  color: #555;
}

.review-case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #6cc40a;
  color: #fff;
  background: #6cc40a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.review-case-link:hover {
  background: #5aa508;
  border-color: #5aa508;
  box-shadow: 0 10px 18px rgba(92, 174, 9, 0.28);
  transform: translateY(-1px);
}

.review-slider-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  z-index: 5;
}

.review-slider-arrow:hover {
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  transform: translateY(calc(-50% - 2px));
}

.review-slider-arrow:active {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
}

.review-slider-arrow:focus-visible {
  outline: 2px solid #5fbf00;
  outline-offset: 3px;
}

.review-slider-arrow:disabled {
  cursor: default;
  opacity: 0.35;
  pointer-events: none;
  box-shadow: none;
}

.review-slider-arrow__icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.review-slider-arrow--prev {
  left: -24px;
}

.review-slider-arrow--next {
  right: -24px;
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow),
.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow) {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 0;
  transform: translateY(-50%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  z-index: 5;
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow)::before,
.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow)::before {
  content: '';
  width: 12px;
  height: 12px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow)::before {
  transform: rotate(-135deg);
}

.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow)::before {
  transform: rotate(45deg);
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow) {
  left: -24px;
}

.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow) {
  right: -24px;
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow):hover,
.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow):hover {
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  transform: translateY(calc(-50% - 2px));
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow):active,
.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow):active {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow):focus-visible,
.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow):focus-visible {
  outline: 2px solid #5fbf00;
  outline-offset: 3px;
}

.reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow):disabled,
.reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow):disabled {
  cursor: default;
  opacity: 0.35;
  pointer-events: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .reviews-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 0.9rem;
  }

  .review-slider-arrow {
    top: auto;
    bottom: 0;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow),
  .reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow) {
    top: auto;
    bottom: 0;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .review-slider-arrow:hover {
    transform: translateY(-2px);
  }

  .reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow):hover,
  .reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow):hover {
    transform: translateY(-2px);
  }

  .review-slider-arrow:active {
    transform: none;
  }

  .reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow):active,
  .reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow):active {
    transform: none;
  }

  .slider-track {
    gap: 1rem;
    padding-bottom: 4rem;
  }

  .review-card {
    flex: 0 0 80%;
  }

  .review-slider-arrow__icon {
    width: 20px;
    height: 20px;
  }

  .review-slider-arrow--prev {
    left: calc(50% - 48px);
  }

  .reviews-slider .slider-container > .slider-btn.prev:not(.review-slider-arrow) {
    left: calc(50% - 48px);
  }

  .review-slider-arrow--next {
    right: calc(50% - 48px);
  }

  .reviews-slider .slider-container > .slider-btn.next:not(.review-slider-arrow) {
    right: calc(50% - 48px);
  }
}

/* НОВОСТИ НА ГЛАВНОЙ */

.home-news {
  padding: 3rem 1rem;
  background: #fff;
}

.home-news-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home-news .reviews-head {
  padding: 0;
}

.home-news-slider-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 52px;
}

.home-news-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0 0 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-news-track::-webkit-scrollbar {
  display: none;
}

.home-news-card {
  display: flex;
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  flex-direction: column;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.home-news-image {
  display: block;
  aspect-ratio: 311 / 187;
  overflow: hidden;
}

.home-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-news-card:hover .home-news-image img {
  transform: scale(1.03);
}

.home-news-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem;
}

.home-news-card time {
  color: #8a8a8a;
  font-size: 0.82rem;
}

.home-news-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.home-news-card h3 a {
  color: #1f1f1f;
  text-decoration: none;
}

.home-news-card h3 a:hover,
.home-news-card h3 a:focus-visible {
  color: #5aa508;
}

.home-news-card p {
  margin: 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.5;
}

.home-news-link {
  margin-top: auto;
  color: #5aa508;
  font-weight: 700;
  text-decoration: none;
}

.home-news-link:hover,
.home-news-link:focus-visible {
  color: #3e8000;
  text-decoration: underline;
}

.news-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #1f2937;
  cursor: pointer;
  transform: translateY(-50%);
}

.news-slider-arrow:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  transform: translateY(calc(-50% - 2px));
}

.news-slider-arrow:focus-visible {
  outline: 2px solid #5fbf00;
  outline-offset: 3px;
}

.news-slider-arrow:disabled {
  cursor: default;
  opacity: 0.35;
  pointer-events: none;
}

.news-slider-arrow svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.news-slider-arrow--prev {
  left: -24px;
}

.news-slider-arrow--next {
  right: -24px;
}

.home-news-empty {
  margin: 0;
  color: #555;
}

@media (max-width: 900px) {
  .home-news-card {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 768px) {
  .home-news-slider-container {
    padding: 0;
  }

  .home-news-track {
    gap: 1rem;
    padding-bottom: 4rem;
  }

  .home-news-card {
    flex-basis: 80%;
  }

  .news-slider-arrow {
    top: auto;
    bottom: 0;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .news-slider-arrow:hover {
    transform: translateY(-2px);
  }

  .news-slider-arrow--prev {
    left: calc(50% - 48px);
  }

  .news-slider-arrow--next {
    right: calc(50% - 48px);
  }
}

/* ПАРТНЁРЫ */

.partner-directory {
  padding: 96px 24px;
  background: #fff;
}

.partner-directory__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.partner-directory__head {
  margin: 0 0 32px;
}

.partner-directory__head h2 {
  margin: 0;
  color: #222;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: left;
}

.partner-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.partner-directory-card {
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 40px 40px 36px;
  border: 1px solid #ececec;
  border-radius: 20px;
  background: #fff;
  color: #171717;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

.partner-directory-card:hover {
  border-color: #d9d9d9;
}

.partner-directory-card__logo {
  width: 140px;
  height: 64px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  color: #171717;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
}

.partner-directory-card__logo img {
  display: block;
  width: auto;
  max-width: 140px;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.9;
}

.partner-directory-card__title {
  margin: 6px 0 0;
  color: #111;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.partner-directory-card__description {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.partner-directory-card__site {
  margin-top: auto;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  color: #666;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  text-decoration: none;
}

.partner-directory-card__site:hover,
.partner-directory-card__site:focus-visible {
  border-bottom-color: rgba(0, 0, 0, 0.35);
  color: #666;
}

.partner-directory__note {
  margin: 28px 0 0;
  color: #8b8b8b;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .partner-directory {
    padding: 64px 20px;
  }

  .partner-directory__head {
    margin-bottom: 24px;
  }

  .partner-directory__head h2 {
    font-size: 32px;
  }

  .partner-directory__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-directory-card {
    min-height: auto;
    padding: 32px 28px 30px;
  }
}

.hero-banner {
  background: #111;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  overflow: clip;
  margin-top: 0;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: -1%;
  background: url('/img/index/banner010825.jpg') center / cover no-repeat;
  transform: scale(1.005);
  transform-origin: center;
  animation: heroBackgroundDrift 12s ease-in-out infinite alternate;
  will-change: transform, background-position;
}

@keyframes heroBackgroundDrift {
  0% {
    transform: scale(1.005) translate3d(-0.15%, -0.1%, 0);
    background-position: 50% 50%;
  }

  50% {
    transform: scale(1.014) translate3d(0.2%, 0.12%, 0);
    background-position: 50.6% 49.8%;
  }

  100% {
    transform: scale(1.01) translate3d(-0.1%, 0.22%, 0);
    background-position: 49.7% 50.4%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner::before {
    animation: none;
    transform: scale(1.005);
  }
}

.hero-overlay {
  position: relative;
  width: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  width: 100%;
}

/* Вторая кнопка стилистика */
.btn-white {
  background: #fff;
  color: #222;
  border: 2px solid #28a745; /* зелёный акцент */
  transition: 0.3s;
}
.btn-white:hover {
  background: #28a745;
  color: #fff;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.29) 45%, rgba(0, 0, 0, 0.41) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.29) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 20px 56px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-banner__eyebrow {
  margin: 0 0 12px;
  color: #8ddc00;
  font-size: clamp(14px, 1.4vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.hero-banner__title {
  margin: 0;
  color: #fff;
  max-width: 13.5ch;
  font-size: clamp(37px, 5.6vw, 67px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 10px 28px rgba(0, 0, 0, 0.32);
}

.hero-banner__title--long {
  display: grid;
  gap: 6px;
  max-width: min(980px, 96vw);
  font-size: clamp(31px, 4.7vw, 58px);
  line-height: 1.02;
}

.hero-banner__title--long span {
  display: block;
}

.hero-banner__title--long span:first-child {
  font-size: 0.92em;
}

.hero-banner__title--long span:last-child {
  font-size: 0.62em;
  line-height: 1.18;
}

.hero-banner__lead {
  max-width: 820px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(18px, 1.9vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hero-banner__meta {
  max-width: 780px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.hero-banner__meta a {
  color: #b6eb63;
  font-weight: 800;
  text-decoration: none;
}

.hero-banner__meta a:hover,
.hero-banner__meta a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-banner__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-banner__actions--form {
  width: 100%;
}

.hero-banner__form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.52) 0%, rgba(15, 15, 15, 0.74) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-banner__form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.82fr) minmax(0, 1.36fr);
  gap: 12px;
}

.hero-banner__field-wrap {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-banner__field-control {
  position: relative;
}

.hero-banner__field {
  width: 100%;
  min-width: 0;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 16px 0 64px;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease;
}

.hero-banner__field-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.96);
  color: #182331;
  font-size: 16px;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  transition:
    transform 0.24s ease,
    color 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.hero-banner__field-icon .fa {
  line-height: 1;
}

.hero-banner__field::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.hero-banner__field:focus {
  border-color: rgba(129, 209, 0, 0.74);
  background: rgba(255, 255, 255, 0.11);
  box-shadow:
    0 0 0 4px rgba(129, 209, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.hero-banner__field:focus + .hero-banner__field-icon {
  color: #5fbe0d;
  border-color: rgba(129, 209, 0, 0.56);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    0 0 0 4px rgba(129, 209, 0, 0.12);
  transform: translateY(-50%) scale(1.04);
}

.hero-banner__field-wrap.is-invalid .hero-banner__field {
  border-color: rgba(255, 111, 111, 0.95);
  background: rgba(103, 22, 22, 0.22);
  box-shadow:
    0 0 0 4px rgba(255, 85, 85, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-banner__field-wrap.is-invalid .hero-banner__field-icon {
  color: #bf2a42;
  border-color: rgba(255, 133, 133, 0.56);
  box-shadow: 0 8px 18px rgba(103, 22, 22, 0.22);
}

.hero-banner__field-wrap--dimension .hero-banner__field {
  padding-right: 44px;
}

.hero-banner__field-unit {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0.82;
  transition: opacity 0.18s ease;
}

.hero-banner__field-wrap--dimension.has-value .hero-banner__field-unit {
  opacity: 1;
}

.hero-banner__field-error {
  min-height: 14px;
  padding-left: 6px;
  color: #ff9f9f;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  opacity: 0;
  transform: translateY(-2px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.hero-banner__field-wrap.is-invalid .hero-banner__field-error {
  opacity: 1;
  transform: translateY(0);
}

.hero-banner__field[type='number'] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.hero-banner__field[type='number']::-webkit-outer-spin-button,
.hero-banner__field[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hero-banner__submit {
  width: 100%;
  margin-top: 14px;
  min-height: 58px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    0 14px 30px rgba(129, 209, 0, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.18);
}

.hero-banner__submit:hover {
  transform: translateY(-1px);
  box-shadow:
    0 18px 34px rgba(129, 209, 0, 0.24),
    0 6px 14px rgba(0, 0, 0, 0.2);
}

.hero-banner__submit[disabled] {
  opacity: 0.56;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.hero-banner__policy {
  margin: 12px auto 0;
  max-width: 620px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-banner__policy input[type='checkbox'] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #81d100;
}

.hero-banner__form.is-user-started .hero-banner__policy:has(input:not(:checked)) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(182, 235, 99, 0.55);
  box-shadow: 0 0 0 4px rgba(182, 235, 99, 0.12);
}

.hero-banner__form.is-user-started .hero-banner__policy:has(input:not(:checked)) input[type='checkbox'] {
  outline: 2px solid rgba(182, 235, 99, 0.95);
  outline-offset: 2px;
  animation: consentPulse 1.25s ease-in-out infinite;
}

@keyframes consentPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(182, 235, 99, 0.48);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(182, 235, 99, 0);
  }
}

.hero-banner__policy a {
  color: #b6eb63;
  text-decoration: none;
}

.hero-banner__policy a:hover {
  text-decoration: underline;
}

.hero-banner__status {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.hero-banner__status:empty {
  display: none;
}

.hero-banner__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-success-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 16, 24, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
  z-index: 12040;
}

.hero-success-popup.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hero-success-popup__dialog {
  position: relative;
  width: min(570px, 100%);
  padding: 42px 44px 36px;
  border-radius: 34px;
  background: #ffffff;
  color: #163046;
  text-align: center;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.24s ease;
}

.hero-success-popup.is-visible .hero-success-popup__dialog {
  transform: translateY(0) scale(1);
}

.hero-success-popup__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #53d132;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.18s ease,
    color 0.18s ease,
    background-color 0.18s ease;
}

.hero-success-popup__close:hover {
  transform: rotate(8deg);
  background: rgba(83, 209, 50, 0.08);
}

.hero-success-popup__close:focus-visible {
  outline: 2px solid rgba(83, 209, 50, 0.45);
  outline-offset: 2px;
}

.hero-success-popup__title {
  margin: 0;
  color: #112f46;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-success-popup__text {
  margin: 18px auto 0;
  max-width: 360px;
  color: #2c3f4d;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.hero-banner__btn {
  min-width: 260px;
  min-height: 52px;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-banner {
    min-height: 100vh;
    min-height: 100svh;
    margin-top: 0;
  }

  .hero-banner::before {
    background-image: url('/img/index/banner010825-2.jpg');
  }

  @supports (height: 100dvh) {
    .hero-banner {
      min-height: 100dvh;
    }
  }

  .hero-banner__content {
    max-width: 360px;
    padding: 34px 16px 42px;
  }

  .hero-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(100%, 320px);
    margin-bottom: 10px;
    padding: 7px 12px;
    border: 1px solid rgba(141, 220, 0, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(7, 10, 14, 0.54) 0%, rgba(7, 10, 14, 0.78) 100%);
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.24),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 14px;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.62);
  }

  .hero-banner__title {
    font-size: clamp(32px, 9.2vw, 44px);
    line-height: 0.97;
  }

  .hero-banner__title--long {
    max-width: min(100%, 360px);
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.04;
  }

  .hero-banner__title--long span:last-child {
    font-size: 0.64em;
  }

  .hero-banner__lead {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 8px 14px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(7, 10, 14, 0.58) 0%, rgba(7, 10, 14, 0.84) 100%);
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  }

  .hero-banner__meta {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
  }

  .hero-banner__actions {
    gap: 14px;
    margin-top: 22px;
  }

  .hero-banner__form {
    padding: 14px;
    border-radius: 18px;
  }

  .hero-banner__form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-banner__field-wrap--phone {
    grid-column: 1 / -1;
  }

  .hero-banner__field {
    height: 52px;
    padding-left: 52px;
    font-size: 13px;
  }

  .hero-banner__field-icon {
    left: 8px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .hero-banner__field-wrap--dimension .hero-banner__field {
    padding-right: 34px;
  }

  .hero-banner__field-unit {
    right: 10px;
    font-size: 10px;
  }

  .hero-banner__field-wrap--dimension .hero-banner__field::placeholder {
    font-size: 12px;
  }

  .hero-banner__field-error {
    min-height: 13px;
    font-size: 10.5px;
  }

  .hero-banner__submit {
    margin-top: 12px;
    min-height: 54px;
    font-size: 0.95rem;
  }

  .hero-banner__policy {
    margin-top: 10px;
    font-size: 11.5px;
    justify-content: flex-start;
  }

  .hero-success-popup {
    padding: 18px;
  }

  .hero-success-popup__dialog {
    width: min(100%, 420px);
    padding: 34px 26px 28px;
    border-radius: 28px;
  }

  .hero-success-popup__close {
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    font-size: 30px;
  }

  .hero-success-popup__title {
    font-size: 22px;
  }

  .hero-success-popup__text {
    margin-top: 14px;
    max-width: 270px;
    font-size: 16px;
  }

  .hero-banner__btn {
    width: 100%;
    min-width: 0;
  }

  .hero-overlay {
    padding: 1rem;
  }
}

.home-tafting-bridge {
  padding: 2.4rem 0 0;
  background: #f7f9f2;
}

.home-tafting-bridge .container {
  max-width: 1100px;
}

.home-tafting-bridge__panel {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(340px, 1.18fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(90, 47, 115, .14);
  border-radius: 26px;
  background: radial-gradient(circle at 100% 0%, rgba(129, 209, 0, .18), transparent 38%), linear-gradient(135deg, #fff, #faf7ff);
  box-shadow: 0 18px 40px rgba(24, 24, 24, .08);
}

.home-tafting-bridge__eyebrow {
  margin: 0 0 12px;
  color: #5a2f73;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-tafting-bridge h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.home-tafting-bridge__content p {
  margin: 0;
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.65;
}

.home-tafting-bridge__content p + p {
  margin-top: 12px;
}

.home-tafting-bridge__content .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  text-decoration: none;
}

@media (max-width: 760px) {
  .home-tafting-bridge {
    padding-top: 1.5rem;
  }

  .home-tafting-bridge__panel {
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 20px;
  }
}

.home-custom-rug-block {
  padding: 2.75rem 0 1.5rem;
  background:
    radial-gradient(1100px 380px at 0% 0%, rgba(129, 209, 0, 0.14) 0%, rgba(129, 209, 0, 0) 52%),
    radial-gradient(1200px 420px at 100% 100%, rgba(148, 86, 159, 0.1) 0%, rgba(148, 86, 159, 0) 58%), #f7f9f2;
}

.home-custom-rug-block .container {
  max-width: 1100px;
}

.home-custom-rug-block__panel {
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  border-radius: 24px;
  border: 1px solid rgba(24, 24, 24, 0.08);
  box-shadow:
    0 20px 44px rgba(24, 24, 24, 0.08),
    0 2px 6px rgba(24, 24, 24, 0.04);
  padding: clamp(1.25rem, 2.5vw, 2.35rem);
}

.home-custom-rug-block__label {
  margin: 0 0 0.7rem;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(24, 24, 24, 0.14);
  color: #4b5563;
  background: #f6f8f2;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-custom-rug-block h2 {
  margin-bottom: 0.9rem;
  text-align: left;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #10141a;
}

.home-custom-rug-block__lead {
  max-width: 920px;
  margin: 0 0 1.7rem;
  color: #2f3640;
  line-height: 1.68;
  font-size: clamp(1rem, 1.28vw, 1.08rem);
}

.home-custom-rug-block__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.2vw, 1.15rem);
  margin-bottom: 1.45rem;
}

.home-custom-rug-block__item {
  position: relative;
  --home-card-image: none;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.97) 56%,
      rgba(255, 255, 255, 0.9) 64%,
      rgba(255, 255, 255, 0.62) 74%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    var(--home-card-image), linear-gradient(180deg, #ffffff 0%, #fcfcf9 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size:
    100% 100%,
    auto 100%,
    100% 100%;
  background-position:
    left top,
    right center,
    left top;
  border-radius: 18px;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(24, 24, 24, 0.1);
  box-shadow:
    0 10px 22px rgba(24, 24, 24, 0.06),
    0 1px 2px rgba(24, 24, 24, 0.04);
  display: block;
  color: #12161d;
  text-decoration: none;
  min-height: 158px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.home-custom-rug-block__item:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 30px rgba(24, 24, 24, 0.11),
    0 2px 6px rgba(24, 24, 24, 0.06);
  border-color: rgba(129, 209, 0, 0.48);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.97) 56%,
      rgba(255, 255, 255, 0.9) 64%,
      rgba(255, 255, 255, 0.6) 74%,
      rgba(255, 255, 255, 0.16) 100%
    ),
    var(--home-card-image), linear-gradient(180deg, #ffffff 0%, #f9fdf0 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size:
    100% 100%,
    auto 100%,
    100% 100%;
  background-position:
    left top,
    right center,
    left top;
}

.home-custom-rug-block__item:focus-visible {
  outline: 3px solid rgba(129, 209, 0, 0.95);
  outline-offset: 2px;
  border-color: rgba(129, 209, 0, 0.58);
  transform: translateY(-2px);
}

.home-custom-rug-block__num {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7f8793;
  line-height: 1;
  max-width: 66%;
}

.home-custom-rug-block__item h3 {
  margin-bottom: 0.46rem;
  font-size: clamp(1.06rem, 1.2vw, 1.22rem);
  line-height: 1.22;
  color: #0f141c;
  max-width: 66%;
}

.home-custom-rug-block__item p {
  margin: 0;
  color: #303844;
  line-height: 1.58;
  font-size: 0.98rem;
  max-width: 66%;
}

.home-custom-rug-block__links-wrap {
  border-top: 1px solid rgba(24, 24, 24, 0.1);
  padding-top: 1.05rem;
}

.home-custom-rug-block__links-title {
  margin: 0 0 0.66rem;
  color: #262f3a;
  font-size: 1rem;
}

.home-custom-rug-block__links {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.62rem;
}

.home-custom-rug-block__links a,
.home-custom-rug-block__lead a,
.home-custom-rug-block a.text-link {
  color: #1f2a36;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.42rem 0.88rem;
  border-radius: 999px;
  background: #f8faf4;
  border: 1px solid rgba(24, 24, 24, 0.14);
  line-height: 1.25;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.home-custom-rug-block__links a:hover,
.home-custom-rug-block__lead a:hover,
.home-custom-rug-block a.text-link:hover {
  color: #0d1218;
  background: #f1f8dd;
  border-color: rgba(129, 209, 0, 0.7);
  transform: translateY(-1px);
  text-decoration: none;
}

.home-custom-rug-block__links a:visited,
.home-custom-rug-block__lead a:visited,
.home-custom-rug-block a.text-link:visited {
  color: #1f2a36;
  text-decoration: none;
}

.home-custom-rug-block__links a:focus-visible,
.home-custom-rug-block__lead a:focus-visible,
.home-custom-rug-block a.text-link:focus-visible {
  outline: 3px solid rgba(129, 209, 0, 0.9);
  outline-offset: 2px;
}

.home-custom-rug-block__social-badge i {
  font-size: 1rem;
  margin-right: 0;
  line-height: 1;
}

.home-custom-rug-block__links a.home-custom-rug-block__social-badge {
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  background: #0f1319;
  border-color: #0f1319;
  color: #fff;
}

.home-custom-rug-block__links a.home-custom-rug-block__social-badge:hover,
.home-custom-rug-block__links a.home-custom-rug-block__social-badge:visited {
  background: #0f1319;
  border-color: #0f1319;
  color: #fff;
}

@media (max-width: 980px) {
  .home-custom-rug-block {
    padding: 2.1rem 0 1.2rem;
  }

  .home-custom-rug-block__panel {
    border-radius: 20px;
    padding: 1.2rem;
  }

  .home-custom-rug-block__grid {
    gap: 0.85rem;
  }
}

@media (max-width: 720px) {
  .home-custom-rug-block {
    padding: 1.5rem 0 0.95rem;
  }

  .home-custom-rug-block__panel {
    border-radius: 16px;
    padding: 1rem;
  }

  .home-custom-rug-block h2 {
    font-size: 1.6rem;
  }

  .home-custom-rug-block__lead {
    font-size: 1rem;
    margin-bottom: 1.08rem;
  }

  .home-custom-rug-block__grid {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .home-custom-rug-block__item {
    min-height: 0;
    padding: 0.96rem 0.92rem 1rem;
  }

  .home-custom-rug-block__num,
  .home-custom-rug-block__item h3,
  .home-custom-rug-block__item p {
    max-width: 70%;
  }

  .home-custom-rug-block__links {
    gap: 0.5rem;
  }

  .home-custom-rug-block__links a {
    width: 100%;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0.55rem 0.78rem;
  }

  .home-custom-rug-block__links a.home-custom-rug-block__social-badge {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    justify-content: center;
    padding: 0;
  }
}

.use-cases {
  padding: 3rem 1rem;
  text-align: center;
}

.use-cases-container {
  max-width: 1100px;
  margin: 0 auto;
}

.use-cases-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.use-cases-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.use-case {
  position: relative;
  padding-top: 100%;
  background-color: #d9d9d9;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

  cursor: pointer;
  transition: transform 0.3s ease;
}

/* при наведении запускаем анимацию */
.use-case:hover {
  animation: tilt 0.6s ease-in-out infinite alternate;
}

.chakra-slider .use-case:hover {
  animation: pulse 1s ease-in-out infinite alternate;
}

@keyframes tilt {
  0% {
    transform: rotate(-2deg) scale(1.02);
  }
  100% {
    transform: rotate(2deg) scale(1.02);
  }
}

.use-case span {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.75rem 1rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  width: 100%;
  text-align: left;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* 📱 Адаптация */
@media (max-width: 768px) {
  .use-cases-grid,
  .use-cases-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .use-cases-title {
    font-size: 1.5rem;
  }
}

.advantages-section {
  padding: 1rem 1rem;
}

.advantage-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.icon-block {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.icon-block img {
  width: 100%;
  height: auto;
  display: block;
}

.advantage-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.advantage-card p {
  font-size: 0.95rem;
  color: #333;
}

.advantage-card a {
  color: var(--brand-green);
  text-decoration: none;
}

.icon-block {
  width: 48px;
  height: 48px;
  background-image: url('data:image/svg+xml;utf8,<svg fill="none" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><rect width="48" height="48" rx="8" fill="%2300E509"/><path d="M35 16L21 30L13 22" stroke="white" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-size: contain;
}

.order-steps {
  padding: 3rem 1rem;
}

.order-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
}

.order-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-step.reverse {
  flex-direction: row-reverse;
}

.order-text {
  flex: 1;
  min-width: 250px;
  padding-left: 30px;
}

.order-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: right;
}

.order-text .step-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-purple);
  margin-bottom: 0.5rem;
  text-align: right;
  width: auto;
  height: auto;
  border: none;
  background: none;
  box-shadow: none;
}

.order-text p {
  font-size: 0.95rem;
  color: #444;
  text-align: right;
}

.order-image {
  flex: 1;
  min-width: 250px;
  text-align: center;
}

.order-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.order-cta {
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .order-step {
    flex-direction: column;
    text-align: center;
  }

  .order-step.reverse {
    flex-direction: column;
  }

  .order-text,
  .order-text .step-number,
  .order-text h3,
  .order-text p {
    text-align: center;
    padding-left: 0px;
  }
}

/* 02-08-25 */

.faq-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
  font-family: sans-serif;
}

.faq-item {
  border-bottom: 1px solid var(--brand-purple);
  padding: 0.5rem 0;
}

.faq-item p {
  margin-top: 10px;
}

.faq-item .table-scroll,
.faq-item .price-note {
  margin-top: 14px;
}

.faq-item summary {
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::marker {
  display: none;
}

.faq-icon::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--brand-green);
}

.faq-item[open] .faq-icon::after {
  content: '–';
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96em;
}

.price-table th,
.price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.price-table th {
  color: var(--muted);
  font-weight: 700;
}

.price-table td:last-child {
  font-weight: 800;
  color: var(--brand-purple);
  white-space: nowrap;
}

.price-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .price-table {
    font-size: 0.92em;
  }

  .price-table th,
  .price-table td {
    padding: 10px 10px;
  }
}

@media (max-width: 600px) {
  .table-scroll {
    overflow-x: visible;
    border: 0;
    background: transparent;
  }

  .price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    margin-top: 10px;
  }

  .price-table td {
    border: 0;
    padding: 6px 0;
    white-space: normal;
  }

  .price-table td::before {
    content: attr(data-label) ': ';
    color: var(--muted);
    font-weight: 800;
  }
}

/* секция "процесс" */

.process-section {
  text-align: left;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-timeline {
  --timeline-line-width: 2px;
  --timeline-marker-size: 28px;
  --timeline-marker-col: var(--timeline-marker-size);
  --timeline-pad-left: 22px;
  --timeline-pad-top: 22px;
  --timeline-step-pad-x: 12px;
  --timeline-step-pad-y: 8px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: start;
  position: relative;
  height: 100%;
}

.process-timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: start;
  position: relative;
  padding-left: var(--timeline-pad-left);
  padding-top: var(--timeline-pad-top);
}

.process-timeline-steps::before {
  content: '';
  position: absolute;
  left: calc(
    var(--timeline-pad-left) + var(--timeline-step-pad-x) + (var(--timeline-marker-col) / 2) -
      (var(--timeline-line-width) / 2)
  );
  top: calc(var(--timeline-pad-top) + var(--timeline-step-pad-y) + (var(--timeline-marker-size) / 2));
  bottom: calc(var(--timeline-marker-size) / 2);
  width: var(--timeline-line-width);
  background: #d3d3d3;
  z-index: 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: var(--timeline-marker-col) 56px 1fr;
  align-items: start;
  gap: 12px;
  position: relative;
  z-index: 1;
  text-align: left;
  padding: var(--timeline-step-pad-y) var(--timeline-step-pad-x);
  border-radius: 14px;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.step-number {
  width: var(--timeline-marker-size);
  height: var(--timeline-marker-size);
  border-radius: 999px;
  background: #fff;
  border: 2px solid #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: #555;
  position: relative;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.timeline-step.is-active .step-number {
  border-color: var(--brand-purple);
  background: var(--brand-purple);
  color: #fff;
  transform: scale(1.1);
}

.timeline-step.is-active {
  background: rgba(148, 86, 159, 0.08);
  /* box-shadow: inset 3px 0 0 var(--brand-purple); */
}

.step-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.step-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(0.96);
}

.timeline-step.is-active .step-thumb {
  border-color: var(--brand-purple);
  box-shadow: 0 6px 14px rgba(148, 86, 159, 0.25);
}

.step-content {
  display: grid;
  gap: 4px;
}

.step-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  transition:
    color 0.25s ease,
    font-weight 0.25s ease;
}

.step-text {
  font-size: 1rem;
  color: #666;
}

.timeline-step.is-active .step-title {
  font-weight: 700;
  color: #222;
}

.process-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  place-items: center; /* центр по горизонтали и вертикали */
  position: relative;
}

.process-gallery::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -8px;
  height: 28px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(10px);
  z-index: 0;
}

.gallery-main {
  /* background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%); */
  border-radius: 22px;
  overflow: hidden;
  /* border: 1px solid rgba(0, 0, 0, 0.04); */
  /* box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); */
  position: relative;
  z-index: 1;
  /* padding: 10px; */
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  filter: saturate(0.92) contrast(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  will-change: opacity, transform;
}

.gallery-main img.is-animating {
  animation: gallery-zoom 1s ease;
}

@keyframes gallery-zoom {
  0% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

/* .gallery-main::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
} */

.gallery-main-overlay {
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gallery-main:hover .gallery-main-overlay {
  opacity: 1;
}

.gallery-thumbs {
  display: none;
}

.gallery-thumb {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 5px;
  background: #fff;
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  position: relative;
  aspect-ratio: 1 / 1;
}

.gallery-thumb:hover {
  transform: translateY(-1px);
}

.gallery-thumb:hover .gallery-thumb-overlay {
  opacity: 1;
}

.gallery-thumb.is-hidden {
  display: none;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  filter: saturate(0.9) contrast(0.97);
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 5px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.gallery-thumb.is-active {
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--brand-purple);
  transform: scale(1.02);
}

.gallery-thumb.is-active img {
  filter: saturate(1) contrast(1);
}

.process-gallery-cta {
  display: inline-block;
  margin-top: auto;
  margin-left: var(--timeline-pad-left);
  padding: 14px 26px;
}

.process-gallery-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(148, 86, 159, 0.25);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 1.2rem 0 1.8rem;
}

.flow-item {
  background-color: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.flow-title {
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.flow-item p {
  font-size: 0.9rem;
  color: #555;
}

.process-choose {
  margin-bottom: 1.8rem;
}

.process-choose h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.choose-card {
  background-color: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  color: #333;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.choose-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
}

.choose-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.choose-card span {
  display: block;
  padding: 10px 12px;
  font-weight: 600;
}

.process-cta {
  /* background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%); */
  /* border-radius: 18px; */
  padding: 28px;
  /* border: 1px solid rgba(0, 0, 0, 0.06); */
  /* box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); */
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 24px;
  align-items: start;
}

.process-cta-content {
  grid-column: 2;
  grid-row: 1;
}

.process-cta-media {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.process-cta-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.process-cta-subtitle {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 16px;
  max-width: 560px;
}

.process-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.process-metric {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  min-height: 52px;
  font-weight: 700;
}

.process-metric i {
  color: var(--brand-purple);
  font-size: 1.1rem;
}

.process-cta-media {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 32px 24px 12px;
}

.process-laptop {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.process-laptop-frame {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.process-laptop-screen {
  position: absolute;
  width: 68%;
  height: 58%;
  left: 16%;
  top: 16%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  display: block;
}

.process-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.process-stat {
  background-color: #f5f5f5;
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.process-note {
  color: #555;
}

.process-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.process-actions .btn {
  width: auto;
}

.btn-outline {
  background: transparent;
  color: #222;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 1rem;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.05);
}

.process-clips {
  /* margin-top: 2rem; */
}

.process-clips-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-clips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.process-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.process-item img,
.process-item video {
  width: 100%;
  display: block;
  border-radius: 1rem;
}

.watch-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--brand-green);
  color: #000000;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

@media (max-width: 1024px) {
  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .choose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-cta {
    grid-template-columns: 1fr;
  }

  .process-cta-content,
  .process-cta-media {
    grid-column: auto;
    grid-row: auto;
  }

  .process-actions {
    justify-content: flex-start;
  }

  .process-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-cta-media {
    padding: 16px 12px 4px;
  }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .process-cta {
    padding: 20px 16px;
    gap: 16px;
  }

  .process-cta-content {
    text-align: left;
  }

  .process-cta-title {
    font-size: 1.35rem;
  }

  .process-cta-subtitle {
    font-size: 0.95rem;
  }

  .process-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-actions {
    flex-direction: column;
    gap: 10px;
  }

  .process-actions .btn {
    width: 100%;
    text-align: center;
  }

  .process-cta-media {
    padding: 8px 0 0;
    justify-content: center;
  }

  .process-laptop {
    max-width: 320px;
  }
  .process-clips-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline {
    --timeline-pad-left: 18px;
    --timeline-pad-top: 18px;
    --timeline-marker-size: 26px;
  }

  .process-timeline-steps {
    /* padding-left: var(--timeline-pad-left); */
    padding-top: var(--timeline-pad-top);
  }

  .process-timeline-steps::before {
    display: block;
  }

  .process-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main img {
    height: 100%;
  }

  .timeline-step {
    grid-template-columns: var(--timeline-marker-col) 52px 1fr;
    gap: 10px;
  }

  .step-thumb {
    width: 52px;
    height: 52px;
  }

  .process-actions {
    width: 100%;
  }

  .process-actions .btn {
    width: 100%;
    text-align: center;
  }

  .process-laptop {
    max-width: 320px;
  }
}

.spanlnk {
  text-decoration: none;
  color: var(--brand-green);
}

/* анимация кнопки */
@keyframes breath-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.btn-attract {
  animation: breath-pulse 2s ease-in-out infinite;
  transition: transform 0.3s ease;
  text-decoration: none;
}

/* анимация кнопки умеренная*/
@keyframes breath-pulse2 {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.btn-attract2 {
  animation: breath-pulse2 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

/* === LIGHTBOX POPUP === */
/* базовый лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 1rem;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

/* содержимое */
.lightbox-content {
  position: relative;
  width: min(90vmin, 860px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  --lightbox-bg-image: none;

  /* убрал постоянный transform */
  opacity: 1;
  transform: none;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* анимация только при появлении */
.lightbox.active .lightbox-content {
  animation: zoomIn 0.4s ease;
}

.lightbox-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--lightbox-bg-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: blur(22px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.7;
  z-index: 1;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(8px, 1.6vmin, 14px);
  position: relative;
  z-index: 2;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* стрелки */
.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 4rem;
  /* padding: 0.8rem 1.2rem; */
  border-radius: 50%;
  z-index: 110;
  transition: background 0.2s;
}

.lightbox .nav-btn:hover {
  background: rgba(0, 0, 0, 0%);
}

.lightbox .prev {
  left: 10px;
}
.lightbox .next {
  right: 10px;
}

/* кнопка закрытия */
.lightbox .close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  z-index: 110;
}

/* футер с кнопкой */
.lightbox-footer {
  margin-top: 1rem;
  text-align: center;
}

.lightbox-footer .btn {
  margin-top: 1rem;
}

/* адаптация для телефонов */
@media (max-width: 768px) {
  /* .lightbox .prev { left: 0.1rem; }
  .lightbox .next { right: 0.1rem; } */
  .lightbox .nav-btn {
    font-size: 4.2rem;
    padding: 1rem;
  }
}

.lightbox-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.lightbox-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.3s;
}

.lightbox-dots .dot.active {
  background: var(--brand-green); /* твой фирменный зелёный */
}

@media (max-width: 768px) {
  .lightbox .nav-btn {
    display: none;
  }
}

/* индикатор свайпа */
.swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  animation: fade-move 2s ease-in-out infinite;
}

@keyframes fade-move {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  25% {
    opacity: 1;
    transform: translateX(6px);
  }
  50% {
    opacity: 1;
    transform: translateX(-6px);
  }
  75% {
    opacity: 1;
    transform: translateX(6px);
  }
  100% {
    opacity: 0;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .swipe-hint {
    display: flex;
  }
}

/* теги */
.link-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 15px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03); /* лёгкая подложка */
  border-radius: 16px;
}

.link-tags a {
  font-size: 0.85rem;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.link-tags a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #81d100; /* твой фирменный зелёный */
}

/* параллакс текста */
/* Скрытое состояние */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* Когда в зоне видимости */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
