/* Bento portfolio grid, trend 2026 */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: transform var(--transition-micro), border-color var(--transition-micro);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.bento-card__preview {
  position: absolute;
  inset: 0;
  opacity: 0.92;
  transition: transform 0.5s var(--ease-ui), opacity 0.3s;
}

.bento-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bento-card--link .bento-card__meta {
  background: linear-gradient(to top, rgba(11, 12, 15, 0.94) 0%, rgba(11, 12, 15, 0.5) 55%, transparent 100%);
  margin: -1.25rem;
  padding: 1.25rem;
  padding-top: 2.75rem;
}

.bento-card:not(.bento-card--link) .bento-card__meta {
  background: linear-gradient(to top, rgba(11, 12, 15, 0.94) 0%, rgba(11, 12, 15, 0.45) 50%, transparent 100%);
  margin: -1.25rem;
  padding: 1.25rem;
  padding-top: 2.5rem;
}

.bento-card:hover .bento-card__preview {
  transform: scale(1.04);
  opacity: 1;
}

.bento-card__meta {
  position: relative;
  z-index: 1;
}

.bento-card--note {
  justify-content: center;
  gap: 0.5rem;
  border-color: rgba(var(--accent-blue-rgb), 0.22);
}

.bento-card--note .bento-card__preview {
  opacity: 0.4;
}

.bento-card__note-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bento-card__note-text {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.bento--concepts {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.bento--concepts .bento-card {
  grid-column: auto;
  min-height: 190px;
}

.bento-subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.875rem;
  margin: clamp(2rem, 4vw, 2.75rem) 0 1.125rem;
}

.bento-subhead__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.bento-subhead__note {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.bento-card__domain {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.bento-card__domain::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(var(--accent-green-rgb), 0.18);
}

.bento-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 0.625rem;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.bento-card__sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.bento-card--xl { grid-column: span 7; min-height: 340px; }
.bento-card--lg { grid-column: span 5; min-height: 340px; }
.bento-card--md { grid-column: span 4; min-height: 260px; }
.bento-card--sm { grid-column: span 3; min-height: 200px; }
.bento-card--wide { grid-column: span 8; min-height: 240px; }

.bento-stats {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bento-stats .bento-card--stat {
  grid-column: auto;
  min-height: 160px;
  justify-content: center;
}

.bento-card--stat .bento-card__preview {
  opacity: 0.35;
}

.bento-card__stat {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.bento-card__stat-label {
  position: relative;
  z-index: 1;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.preview--stat-blue {
  background:
    radial-gradient(circle at 30% 30%, rgba(var(--accent-rgb), 0.28), transparent 62%),
    linear-gradient(145deg, #0b0a09, #161310);
}

/* Заявыч + services */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.feature-card {
  grid-column: span 6;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.feature-card--hero {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 70% at 0% 50%, rgba(var(--accent-blue-rgb), 0.1) 0%, transparent 65%),
    rgba(255, 255, 255, 0.02);
  border-color: rgba(var(--accent-blue-rgb), 0.22);
}

.feature-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0;
}

.feature-brand {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-blue);
  line-height: 1.1;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.feature-card__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.feature-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-card__list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding-left: 1.25rem;
  position: relative;
}

.feature-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
}

.feature-mock {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  padding: 1rem;
  min-height: 220px;
}

.feature-mock--app {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(var(--accent-blue-rgb), 0.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(var(--accent-blue-rgb), 0.08);
}

.feature-mock--app img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.feature-mock__caption {
  padding: 0.75rem 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.feature-mock__row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.feature-mock__field {
  flex: 1;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-mock__field--wide {
  flex: 2;
}

.feature-mock__label {
  font-size: 0.6875rem;
  color: var(--text-subtle);
  margin-bottom: 0.35rem;
}

.feature-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
}

@media (max-width: 900px) {
  .bento-card--xl,
  .bento-card--lg,
  .bento-card--md,
  .bento-card--sm,
  .bento-card--wide {
    grid-column: span 12;
    min-height: 220px;
  }

  .bento-stats {
    grid-column: span 12;
    grid-template-columns: 1fr 1fr;
  }

  .bento-stats .bento-card--stat {
    min-height: 140px;
  }

  .feature-card,
  .feature-card--hero {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-card {
    grid-column: span 12;
    padding: 1.25rem;
  }

  .feature-brand {
    font-size: 1.375rem;
  }

  .feature-mock--app img {
    max-height: 220px;
    object-fit: cover;
    object-position: top center;
  }

  .bento-stats {
    grid-template-columns: 1fr;
  }

  .bento-stats .bento-card--stat {
    min-height: 120px;
  }

  .bento-stats .bento-card__stat {
    font-size: 1.75rem;
  }

  .bento-stats .bento-card__stat-label {
    font-size: 0.75rem;
  }
}

/* --- SEO как дополнение к разработке --- */
.seo-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.seo-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
}

.seo-list__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  padding-block: clamp(1.1rem, 2.2vw, 1.5rem);
  border-bottom: 1px solid var(--hairline);
}

.seo-list__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-subtle);
}

.seo-list__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.seo-list__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-subtle);
}

.seo-proof {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: 16px;
  border: 1px solid rgba(var(--accent-rgb), 0.24);
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(var(--accent-rgb), 0.09) 0%, transparent 60%),
    rgba(255, 255, 255, 0.02);
}

.seo-proof__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--accent-rgb), 0.9);
  margin-bottom: 0.625rem;
}

.seo-proof__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 62ch;
}

.seo-proof__text a {
  color: var(--text);
  border-bottom: 1px solid rgba(var(--accent-rgb), 0.5);
}

@media (max-width: 760px) {
  .seo-list__item {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }

  .seo-list__text {
    grid-column: 2 / -1;
  }
}
