.cw-ai-app-development-trends {
  box-sizing: border-box;
  width: 100%;
  background: #f3efe7;
  color: #141210;
}

.cw-ai-app-development-trends__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 48px);
}

.cw-ai-app-development-trends__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.cw-ai-app-development-trends__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-ai-app-development-trends__eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #c8391a;
  margin: 0;
}

.cw-ai-app-development-trends__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.cw-ai-app-development-trends__em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #c8391a;
}

.cw-ai-app-development-trends__copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #3a332d;
}

.cw-ai-app-development-trends__form-card {
  position: relative;
  background: #fff;
  border-radius: 26px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 40px 80px -50px rgba(20, 18, 16, 0.45);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cw-ai-app-development-trends__form-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-ai-app-development-trends__form-title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.cw-ai-app-development-trends__form-sub {
  margin: 0;
  font-size: 14px;
  color: #6b6158;
}

.cw-ai-app-development-trends__picker {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-ai-app-development-trends__picker-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #6b6158;
}

.cw-ai-app-development-trends__picker-head span:last-child {
  color: #c8391a;
}

.cw-ai-app-development-trends__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}

.cw-ai-app-development-trends__trend {
  box-sizing: border-box;
  text-align: left;
  padding: 20px;
  border-radius: 20px;
  border: 1.5px solid rgba(20, 18, 16, 0.12);
  background: #fff;
  color: #141210;
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 170px;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  transform: translateY(0);
}

.cw-ai-app-development-trends__trend.is-on {
  background: #141210;
  color: #f3efe7;
  border-color: #141210;
  transform: translateY(-4px);
}

.cw-ai-app-development-trends__trend-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cw-ai-app-development-trends__trend-no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  opacity: 0.6;
}

.cw-ai-app-development-trends__trend-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(20, 18, 16, 0.08);
  color: #141210;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.cw-ai-app-development-trends__trend.is-on .cw-ai-app-development-trends__trend-mark {
  background: #d4f53c;
  color: #141210;
}

.cw-ai-app-development-trends__trend-title {
  margin-top: auto;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.cw-ai-app-development-trends__trend-line {
  font-size: 13.5px;
  line-height: 1.5;
  opacity: 0.75;
}

/* — appointment form (trends card) — */
.cw-ai-app-development-trends .cw-ai-app-development-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #3a332d;
  margin: 0;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__label input {
  height: 46px;
  border: 1px solid rgba(20, 18, 16, 0.14);
  border-radius: 14px;
  background: #fbf8f2;
  outline: 0;
  padding: 0 14px;
  font: 500 15px 'Inter', system-ui, sans-serif;
  color: #141210;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__label textarea {
  border: 1px solid rgba(20, 18, 16, 0.14);
  border-radius: 14px;
  background: #fbf8f2;
  outline: 0;
  padding: 12px 14px;
  font: 500 15px 'Inter', system-ui, sans-serif;
  color: #141210;
  resize: vertical;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #e0431c;
  color: #fff;
  font: 600 15px 'Inter', system-ui, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__submit:hover {
  background: #c93a16;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__err {
  margin: 0;
  color: #b5361a;
  font-size: 14px;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 0;
  animation: cwAiAppTrendsFade 0.4s ease-out both;
}

@keyframes cwAiAppTrendsFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cw-ai-app-development-trends .cw-ai-app-development-form__success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e0431c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__thanks {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #141210;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__success-msg {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #3a332d;
}

.cw-ai-app-development-trends .cw-ai-app-development-form__again {
  align-self: flex-start;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: 600 14px 'Inter', system-ui, sans-serif;
  color: #c8391a;
  text-decoration: underline;
}
