/* ---------- Forms ---------- */
.form-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); overflow: hidden;
}

.form-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad); opacity: .9;
}

.field { margin-bottom: 20px; }

.field label { display: block; font-size: .88rem; color: var(--text-soft); margin-bottom: 8px; font-weight: 500; }

.field input, .field select, .field textarea {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); padding: 14px 16px; font-family: inherit; font-size: .98rem;
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.field textarea { resize: vertical; min-height: 130px; }

.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(109,139,255,.15); }

.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%237c8597' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { font-size: .82rem; color: var(--text-mute); margin-top: 8px; }

/* Field-level validation: the actual "highlight" the user asked for */
.field-msg {
  display: block; min-height: 0; max-height: 0; overflow: hidden; font-size: .8rem;
  color: #ff9b9b; margin-top: 0; opacity: 0; transition: max-height .25s var(--ease), opacity .2s, margin-top .25s;
}

/* Submit button loading state */
.btn-spinner {
  display: none; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(7, 9, 15, .3); border-top-color: #07090f;
  animation: btn-spin .7s linear infinite;
}

@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Status banner: icon + text, slide-in, distinct ok/err treatments */
.form-status {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem;
  display: none; align-items: flex-start; gap: 10px; opacity: 0; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.form-status .fs-icon {
  flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 1px;
  display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700;
}

/* Contact info list */
.contact-info { display: flex; flex-direction: column; gap: 22px; }

/* ---- Project estimator (Contact) ---- */
.est-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 18px; }

.est-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.est-label { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); min-width: 74px; }

.est-result { border-top: 1px solid var(--border); padding-top: 18px; }

.est-out { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 220px; }

.est-use { flex: none; }

/* ---- FAQ glyph: a chat bubble with a typing indicator ---- */
.mlg-chat .g-chat-bubble { fill: none; stroke: rgba(140,165,235,.45); stroke-width: 1.3; }

.mlg-chat .g-chat-dot { fill: var(--accent); animation: mlg-type 1.4s ease infinite; }

.mlg-chat .g-chat-dot2 { animation-delay: .18s; fill: var(--accent-2); }

.mlg-chat .g-chat-dot3 { animation-delay: .36s; fill: var(--accent-3); }

@keyframes mlg-type { 0%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-1.5px); } }
