/* =========================================================
   news.css — banda de newsletter
   ========================================================= */

.news {
  border-top: 1px solid var(--line);
  padding: 5rem 0;
}

.news__in {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.news__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: var(--leading-tight);
}

.news__desc {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: var(--size-sm);
  max-width: 42ch;
  line-height: var(--leading-normal);
}

/* Formulario */
.news__form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.news__input {
  flex: 1;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-family: var(--font-mono);
  font-size: var(--size-xs);
  color: var(--text);
  transition: border-color var(--dur-fast);
}

.news__input::placeholder {
  color: var(--dim);
}

.news__input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Mensaje confirmación */
.news__done {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--size-xs);
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

.news__done [data-lucide] {
  width: 15px;
  height: 15px;
}

/* tablet ≥ 768px */
@media (min-width: 768px) {
  .news__in {
    grid-template-columns: 1fr 1fr;
  }
}
