/**
 * TSW Homepage "Let's Talk" CTA Band
 *
 * Full-width brand-green band, giant Qilka heading + lead form.
 * Reference layout, our green/Qilka branding.
 *
 * @package TSW
 * @since   1.0.0
 */

.tsw-lt {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, #2f9a52 0%, #44b968 55%, #58c97c 100%);
  color: #fff;
}

/* Faded decorative watermark */
.tsw-lt-shape {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  color: rgba(255, 255, 255, .07);
  pointer-events: none;
  z-index: 0;
}

.tsw-lt-shape i { font-size: 30rem; }

.tsw-lt-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

/* Left heading */
.tsw-lt-title {
  font-family: var(--ff-display, 'Qilka', serif);
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: .92;
  color: #fff;
  margin: 0;
}

/* Form */
.tsw-lt-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  margin-bottom: 22px;
}

.tsw-lt-field { position: relative; }
.tsw-lt-field--full { grid-column: 1 / -1; }

.tsw-lt-field input,
.tsw-lt-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-size: 1rem;
  padding: 8px 0;
  font-family: var(--ff-body, inherit);
}

.tsw-lt-field textarea { resize: vertical; min-height: 42px; }

.tsw-lt-field input:focus,
.tsw-lt-field textarea:focus {
  outline: none;
  border-bottom-color: #fff;
}

/* Kill the browser autofill light box — keep transparent look + white text */
.tsw-lt-field input:-webkit-autofill,
.tsw-lt-field input:-webkit-autofill:hover,
.tsw-lt-field input:-webkit-autofill:focus,
.tsw-lt-field input:-webkit-autofill:active,
.tsw-lt-field textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #3faa61 inset;
  box-shadow: 0 0 0 1000px #3faa61 inset;
  border-bottom-color: rgba(255, 255, 255, .4);
  transition: background-color 100000s ease-in-out 0s;
}

.tsw-lt-field input:-webkit-autofill + label,
.tsw-lt-field textarea:-webkit-autofill + label {
  top: -13px;
  font-size: .72rem;
  color: rgba(255, 255, 255, .85);
}

.tsw-lt-field label {
  position: absolute;
  left: 0;
  top: 8px;
  color: rgba(255, 255, 255, .78);
  font-size: 1rem;
  pointer-events: none;
  transition: all .2s ease;
}

.tsw-lt-field label span { color: #fff; }

.tsw-lt-field input:focus + label,
.tsw-lt-field input:not(:placeholder-shown) + label,
.tsw-lt-field textarea:focus + label,
.tsw-lt-field textarea:not(:placeholder-shown) + label {
  top: -13px;
  font-size: .72rem;
  color: rgba(255, 255, 255, .85);
}

.tsw-lt-consent {
  font-size: .78rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
  margin: 0 0 18px;
}

.tsw-lt-consent a { color: #fff; text-decoration: underline; }

.tsw-lt-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 50px;
  background: #fff;
  color: var(--tsw-forest, #1a3c2a);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.tsw-lt-submit:hover {
  background: var(--tsw-ink, #1a1a2e);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.tsw-lt-submit:disabled { opacity: .7; cursor: default; transform: none; }

/* Errors */
.tsw-lt-form .tsw-field-error {
  color: #ffe2e2;
  font-size: .74rem;
  margin-top: 4px;
  display: none;
}

.tsw-lt-form .tsw-field-error.active { display: block; }

/* Success */
.tsw-lt-success { padding: 24px 0; text-align: center; }
.tsw-lt-success-icon { font-size: 3rem; color: #fff; }
.tsw-lt-success h3 { font-family: var(--ff-display, 'Qilka', serif); color: #fff; margin: 14px 0 8px; }
.tsw-lt-success p { color: rgba(255, 255, 255, .85); line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .tsw-lt-grid { grid-template-columns: 1fr; gap: 26px; }
  .tsw-lt-title { font-size: clamp(3rem, 16vw, 5rem); }
  .tsw-lt-shape i { font-size: 20rem; }
}

@media (max-width: 575px) {
  .tsw-lt { padding: 54px 0; }
  .tsw-lt-fields { grid-template-columns: 1fr; gap: 24px; }
  .tsw-lt-title { font-size: clamp(2.8rem, 20vw, 4rem); }
  .tsw-lt-shape { display: none; }
}
