.tw-form-section { padding: 64px 0; background: #f0f4f8; }

.tw-form-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  max-width: 960px;
  margin: 0 auto;
}

.tw-panel-left {
  background: linear-gradient(160deg, #051937 0%, #0d3670 100%);
  padding: 48px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.tw-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 22px;
  width: fit-content;
}

.tw-panel-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.tw-panel-sub {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  margin: 0 0 28px;
}

.tw-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 auto;
}

.tw-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.tw-checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(255,255,255,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8l3 3 5-5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
  border-radius: 50%;
  flex-shrink: 0;
}

.tw-cta-wrap { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }

.tw-cta-phone,
.tw-cta-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}

.tw-cta-phone:hover, .tw-cta-wa:hover { opacity: .88; transform: translateY(-1px); }

.tw-cta-phone {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}

.tw-cta-wa { background: #25D366; color: #fff; }

.tw-panel-right { background: #fff; padding: 48px 44px; }

.tw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.tw-field { display: flex; flex-direction: column; gap: 5px; }
.tw-field--full { grid-column: 1 / -1; }

.tw-field label {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}

.tw-optional { font-weight: 400; color: #9ca3af; text-transform: none; letter-spacing: 0; }

.tw-field input,
.tw-field select,
.tw-field textarea {
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: #111827;
  background: #fafafa;
  transition: border-color .18s, box-shadow .18s, background .18s;
  outline: none;
  font-family: inherit;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}

.tw-field input:focus,
.tw-field select:focus,
.tw-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
  background: #fff;
}

.tw-field input.is-invalid,
.tw-field select.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

.tw-err { font-size: 11px; color: #ef4444; display: none; }
.tw-err.visible { display: block; }

.tw-privacy { margin-bottom: 20px; display: flex; flex-direction: column; gap: 4px; }

.tw-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  line-height: 1.5;
}

.tw-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #3b82f6;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.tw-checkbox-label a { color: #3b82f6; }

.tw-btn {
  width: 100%;
  background: linear-gradient(135deg, #051937 0%, #1a4f9c 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .18s, transform .15s, box-shadow .18s;
  box-shadow: 0 4px 16px rgba(5,25,55,.3);
  display: block;
  letter-spacing: .01em;
}

.tw-btn:hover:not(:disabled) {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(5,25,55,.4);
}

.tw-btn:active:not(:disabled) { transform: translateY(0); }
.tw-btn:disabled { opacity: .6; cursor: not-allowed; }

.tw-btn-loading { display: none; }
.tw-btn.is-loading .tw-btn-text { display: none; }
.tw-btn.is-loading .tw-btn-loading { display: inline; }

.tw-msg {
  display: none;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 13px;
  margin-top: 14px;
}

.tw-msg.visible { display: block; }
.tw-msg--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.tw-msg--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.tw-msg--error a { color: #991b1b; font-weight: 700; }

@media (max-width: 768px) {
  .tw-form-card { grid-template-columns: 1fr; }
  .tw-panel-left { padding: 32px 28px; }
  .tw-panel-right { padding: 32px 28px; }
  .tw-cta-wrap { flex-direction: row; }
  .tw-cta-phone, .tw-cta-wa { flex: 1; }
}

@media (max-width: 480px) {
  .tw-panel-left { padding: 28px 20px; }
  .tw-panel-right { padding: 28px 20px; }
  .tw-grid { grid-template-columns: 1fr; }
  .tw-field--full { grid-column: 1; }
  .tw-cta-wrap { flex-direction: column; }
  .tw-cta-phone, .tw-cta-wa { flex: none; }
}