/* Still Writers — Blog CTA popup ("Talk to a marketing expert") */

.swcta-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 32, 48, 0.55);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.swcta-backdrop.open {
  display: flex;
}

.swcta-modal {
  position: relative;
  background: #fffffc;
  border-radius: 16px;
  padding: 32px 30px 28px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(1, 135, 205, 0.25);
  font-family: inherit;
  max-height: 90vh;
  overflow-y: auto;
}

.swcta-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #6b7680;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
}

.swcta-close:hover {
  color: #0187cd;
  background: rgba(170, 212, 252, 0.3);
}

.swcta-modal h3 {
  color: #0187cd;
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.swcta-modal-sub {
  color: #333c44;
  margin: 0 0 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.swcta-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.swcta-field {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0b527a;
  margin-bottom: 14px;
}

.swcta-field input,
.swcta-field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid #aad4fc;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0c2030;
  box-sizing: border-box;
}

.swcta-field input:focus,
.swcta-field textarea:focus {
  outline: none;
  border-color: #0187cd;
  box-shadow: 0 0 0 3px rgba(1, 135, 205, 0.15);
}

.swcta-submit {
  display: block;
  width: 100%;
  background: #0187cd;
  color: #fffffc;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  margin-top: 6px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(1, 135, 205, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.swcta-submit:hover {
  background: #0170ac;
  transform: translateY(-1px);
}

.swcta-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.swcta-error {
  color: #c0342a;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 10px 0 0;
}

.swcta-success {
  text-align: center;
  padding: 10px 0 4px;
}

.swcta-success-icon {
  color: #0187cd;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 10px;
}

.swcta-success h4 {
  color: #0187cd;
  margin: 0 0 8px;
}

.swcta-success p {
  color: #333c44;
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 480px) {
  .swcta-modal {
    padding: 26px 20px 22px;
  }
}
