/* ========== CONTACTO / CTA ========== */
.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-deep));
}
.contact-bg { position: absolute; inset: 0; z-index: -1; filter: blur(90px); pointer-events: none; }
.contact .blob-a { width: 600px; height: 600px; left: -10%; bottom: -30%;
  background: radial-gradient(circle, rgba(15, 118, 110, .5), transparent 65%); }
.contact .blob-b { width: 520px; height: 520px; right: -8%; top: -20%;
  background: radial-gradient(circle, rgba(100, 116, 139, .35), transparent 65%); animation-duration: 26s; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.contact-copy .section-title { margin-bottom: 20px; max-width: 16ch; }
.contact-panel { padding: clamp(24px, 3.5vw, 40px); background: rgba(15, 23, 42, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: var(--line2); }

/* Formulario */
.form { display: grid; gap: 18px; }
.form-title { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin-bottom: 4px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { color: var(--ink-soft); font-size: 15px; font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line2);
  border-radius: var(--radius-sm);
  background: rgba(30, 41, 59, .55);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option { background: var(--panel); color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .2);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; font-weight: 400; }

.field.check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field.check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; padding: 0; accent-color: var(--accent); cursor: pointer; }
.field.check label { font-size: 15px; line-height: 1.5; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status {
  padding: 14px 16px;
  border: 1px solid rgba(45, 212, 191, .45);
  border-radius: var(--radius-sm);
  background: var(--accent-faint);
  color: var(--ink);
  font-size: 16px; font-weight: 400;
}
.form-status.is-error { border-color: var(--error); background: rgba(252, 165, 165, .08); }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.5; }

@media (max-width: 991px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .form-row.two { grid-template-columns: 1fr; }
}
