/* ── FORM CARD ── */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 40px rgba(51,153,255,0.1), 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 2rem; right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #66bbff);
  border-radius: 0 0 4px 4px;
}

.form-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--ink-60);
  margin-bottom: 1.8rem;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-60);
  margin-top: 1rem;
}

.submit-btn {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background: var(--blue);
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  letter-spacing: 0.01em;
  margin-top: 0.4rem;
}
.submit-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(51,153,255,0.35);
}
.submit-btn:active { transform: translateY(0); box-shadow: none; }

/* ── FORM ERRORS ── */
.form-errors {
  background: #fdecea;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.85rem;
  color: #b91c1c;
}
.form-errors ul { margin-top: 0.4rem; padding-left: 1.2rem; }
.form-errors li { margin-top: 0.25rem; }

/* ── FIELDS ── */
.field { margin-bottom: 1.2rem; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.required-star { color: var(--blue); margin-left: 2px; }

input[type="text"],
input[type="tel"],
textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid rgba(13,17,23,0.14);
  border-radius: var(--radius);
  padding: 0.72rem 1rem;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  outline: none;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(13,17,23,0.3);
  font-weight: 300;
}

input:hover,
textarea:hover {
  border-color: var(--blue-mid);
  background: #f0f7ff;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(51,153,255,0.14);
}

input.field-error,
textarea.field-error {
  border-color: #e04040;
}

textarea { min-height: 110px; }

/* ── FIELD ROW (side-by-side fields) ── */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.field-row--thirds {
  grid-template-columns: 2fr 1.2fr 1fr;
}
@media (max-width: 600px) {
  .field-row,
  .field-row--thirds { grid-template-columns: 1fr; }
}

/* ── SELECT ── */
.field-select {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid rgba(13,17,23,0.14);
  border-radius: var(--radius);
  padding: 0.72rem 1rem;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233399ff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.field-select:hover  { border-color: var(--blue-mid); background-color: #f0f7ff; }
.field-select:focus  { border-color: var(--blue); background-color: var(--white); box-shadow: 0 0 0 3px rgba(51,153,255,0.14); }

/* ── SUCCESS STATE ── */
.success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.check-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}
.success-state h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.success-state p {
  font-size: 0.9rem;
  color: var(--ink-60);
}