/* Therapist and counsellor offers. Navy, pink, white. No NHS identity. */

.tx-page {
  --tx-navy: #002b5f;
  --tx-pink: #c9005a;
  --tx-ink: #13213a;
  --tx-muted: #526174;
  --tx-line: #d7dee8;
  --tx-soft: #f4f7fb;
  color: var(--tx-ink);
}

.tx-page .wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.tx-hero {
  padding: clamp(2rem, 5vw, 3.4rem) 0 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 0, 90, 0.12), transparent 36%),
    #f7f9fc;
  border-bottom: 1px solid var(--tx-line);
}

.tx-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tx-pink);
}

.tx-hero h1 {
  margin: 0 0 0.7rem;
  max-width: 16ch;
  color: var(--tx-navy);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.tx-ask {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--tx-pink);
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
}

.tx-lead {
  max-width: 40rem;
  margin: 0;
  color: var(--tx-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.tx-points {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 800px) {
  .tx-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tx-points li {
  padding: 0.9rem 1rem;
  border: 1px solid var(--tx-line);
  border-radius: 8px;
  background: #fff;
}

.tx-points strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--tx-navy);
}

.tx-points span {
  color: var(--tx-muted);
  line-height: 1.45;
}

.tx-section {
  padding: clamp(1.6rem, 4vw, 2.6rem) 0;
}

.tx-section h2 {
  margin: 0 0 0.45rem;
  color: var(--tx-navy);
  font-size: 1.45rem;
}

.tx-boundary,
.tx-card,
.tx-form {
  border: 1px solid var(--tx-line);
  border-radius: 8px;
  background: #fff;
}

.tx-card {
  padding: 1rem 1.1rem;
}

.tx-section.is-soft {
  background: #f7f9fc;
}

.tx-boundary {
  padding: 1rem 1.1rem;
  background: var(--tx-soft);
}

.tx-boundary p,
.tx-card p {
  margin: 0 0 0.7rem;
  line-height: 1.55;
}

.tx-boundary p:last-child,
.tx-card p:last-child {
  margin-bottom: 0;
}

.tx-split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .tx-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
    align-items: start;
  }
}

.tx-form {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.tx-form fieldset {
  margin: 0 0 1.4rem;
  padding: 0 0 1.2rem;
  border: 0;
  border-bottom: 1px solid var(--tx-line);
}

.tx-form legend {
  margin-bottom: 0.35rem;
  padding: 0;
  color: var(--tx-navy);
  font-size: 1.2rem;
  font-weight: 800;
}

.tx-help {
  margin: 0 0 0.8rem;
  color: var(--tx-muted);
  line-height: 1.5;
}

.tx-question {
  margin: 1.1rem 0 0.25rem;
  color: var(--tx-navy);
  font-weight: 800;
}

.tx-question + .tx-help {
  margin-top: 0;
}

.tx-grid {
  display: grid;
  gap: 0.8rem;
}

@media (min-width: 720px) {
  .tx-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tx-form label.tx-field {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
}

.tx-form label.tx-field span {
  color: var(--tx-navy);
}

.tx-page input[type="text"],
.tx-page input[type="email"],
.tx-page input[type="tel"],
.tx-page input[type="number"],
.tx-page input[type="month"],
.tx-page select,
.tx-page textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  border: 1px solid #b7c3d4;
  border-radius: 6px;
  background: #fff;
  color: var(--tx-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
}

.tx-page textarea {
  min-height: 8rem;
  resize: vertical;
}

.tx-page :focus-visible {
  outline: 3px solid var(--tx-pink);
  outline-offset: 2px;
}

.tx-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.35rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tx-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  min-height: 44px;
  font-weight: 600;
  line-height: 1.35;
}

.tx-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.tx-error {
  margin: 0.2rem 0 0;
  color: #8d123f;
  font-size: 0.92rem;
  font-weight: 700;
}

.tx-summary {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #f0b3c8;
  border-radius: 8px;
  background: #fff4f7;
}

.tx-summary a {
  color: var(--tx-navy);
}

.tx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.tx-page .button {
  min-height: 48px;
  min-width: 44px;
}

.tx-note {
  margin: 0.8rem 0 0;
  color: var(--tx-muted);
  font-size: 0.92rem;
}

.tx-faqs details {
  border-top: 1px solid var(--tx-line);
  padding: 0.75rem 0;
}

.tx-faqs summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--tx-navy);
}

.tx-faqs p {
  margin: 0.45rem 0 0;
  color: var(--tx-muted);
  line-height: 1.5;
}

.tx-thanks {
  max-width: 40rem;
}

.tx-ref {
  display: inline-block;
  margin: 0.4rem 0 0.8rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: var(--tx-soft);
  color: var(--tx-navy);
  font-weight: 800;
  letter-spacing: 0.03em;
}
