/* Homepage — cooperation block (split layout) */

.home-coop {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(18px, 4vw, 42px);
}

.home-coop__inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(22px, 3.6vw, 40px);
  border-radius: clamp(20px, 2.4vw, 28px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 244, 238, 0.78)),
    radial-gradient(120% 90% at 0% 0%, rgba(232, 120, 90, 0.14), transparent 52%),
    radial-gradient(100% 80% at 100% 100%, rgba(62, 123, 250, 0.1), transparent 48%);
  border: 1px solid rgba(38, 32, 27, 0.08);
  box-shadow:
    0 22px 48px -30px rgba(30, 55, 95, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(12px) saturate(1.15);
  backdrop-filter: blur(12px) saturate(1.15);
}

.home-coop__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.92 0 0 0 0 0.92 0 0 0 0 0.9 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  mix-blend-mode: multiply;
}

.home-coop__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3.2vw, 36px);
  align-items: stretch;
}

.home-coop__info,
.home-coop__guarantees {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.home-coop__head {
  margin-bottom: 14px;
}

.home-coop__eyebrow {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.home-coop__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.home-coop__lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.home-coop__quote {
  margin: 0;
  padding: 14px 16px 14px 18px;
  border-left: 3px solid color-mix(in srgb, var(--c-coral) 75%, transparent);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.5;
  text-wrap: pretty;
}

.home-coop__cta {
  align-self: flex-start;
  margin-top: auto;
}

.home-coop__list-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.home-coop__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  flex: 1;
}

.home-coop__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(38, 32, 27, 0.07);
  box-shadow: 0 8px 20px -18px rgba(30, 55, 95, 0.35);
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--ink);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  animation: home-coop-fade-up 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.06s * var(--i, 0));
}

.home-coop__item:hover,
.home-coop__item:focus-within {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--c-coral) 42%, transparent);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 28px -20px rgba(255, 90, 54, 0.4);
}

.home-coop__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #ff7a52 0%, var(--accent, #ff5a36) 55%, var(--accent-ink, #e04822) 100%);
  box-shadow: 0 6px 14px -8px rgba(255, 90, 54, 0.7);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.home-coop__item:hover .home-coop__icon,
.home-coop__item:focus-within .home-coop__icon {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.home-coop__item span:last-child {
  padding-top: 4px;
}

@keyframes home-coop-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 640px) {
  .home-coop__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-coop__item--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .home-coop__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(28px, 3.5vw, 44px);
  }

  .home-coop__lead,
  .home-coop__quote {
    font-size: 1rem;
  }

  .home-coop__list-title {
    font-size: 1.0625rem;
  }
}

@media (max-width: 639px) {
  .home-coop__cta {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-coop__item {
    animation: none;
    transition: none;
  }

  .home-coop__item:hover,
  .home-coop__item:focus-within {
    transform: none;
  }
}

@supports (-webkit-touch-callout: none) {
  .home-coop__inner {
    -webkit-transform: translateZ(0);
  }
}
