/* ═════════ SECTION 12 · CONTACT (tabs + glass form) ═════════ */
.section12 {
  position: relative;
  padding: 130px 0 120px;
  overflow: hidden;
}

.s12-glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(20, 99, 243, 0.25), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.s12-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.s12-inner .eyebrow { margin-bottom: 20px; }

.s12-inner .section-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 16px;
}

.s12-inner .section-lead { margin-bottom: 36px; }

/* tabs */
.s12-tabs {
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.s12-tabs button {
  position: relative;
  z-index: 1;
  padding: 9px 20px;
  border-radius: 100px;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: color 0.3s;
}

.s12-tabs button.is-active { color: #fff; }

.s12-tab-bg {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border-strong);
  box-shadow: var(--highlight);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

/* form card */
.s12-card {
  width: 100%;
  max-width: 440px;
  padding: 30px 28px 26px;
  border-radius: 22px;
  text-align: center;
}

.s12-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.s12-brand img {
  width: 26px;
  filter: drop-shadow(0 0 10px rgba(20, 99, 243, 0.7));
}

.s12-title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.s12-sub {
  color: var(--text-dim);
  font-size: 0.86rem;
  margin: 4px 0 20px;
}

.s12-fields {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.s12-fields input,
.s12-fields textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  resize: none;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.s12-fields input::placeholder,
.s12-fields textarea::placeholder {
  color: var(--text-faint);
}

.s12-fields input:focus,
.s12-fields textarea:focus {
  border-color: rgba(91, 149, 255, 0.7);
  background: rgba(20, 99, 243, 0.06);
  box-shadow: 0 0 0 4px rgba(20, 99, 243, 0.12);
}

.s12-fields .is-invalid {
  border-color: rgba(255, 99, 99, 0.7);
}

.s12-fields [data-only].is-hidden {
  display: none;
}

.s12-submit {
  width: 100%;
  justify-content: center;
  padding: 10px 10px 10px 22px;
}

.s12-msg {
  min-height: 1.4em;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--blue-soft);
}

.s12-msg.is-bad {
  color: #FF8A8A;
}

.s12-alt {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.s12-alt a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 149, 255, 0.5);
}

.s12-alt a:hover {
  color: var(--blue-soft);
}
