/* ── Form ─────────────────────────────────────────────────────────────── */
.imf-ic-form {
  background: #F5F5F5;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  padding: 40px;
}

.imf-ic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.imf-ic-full { grid-column: 1 / -1; }

.imf-ic-field { display: flex; flex-direction: column; gap: 6px; }
.imf-ic-label { font-size: 13.5px; font-weight: 600; color: #1A1A1A; }
.imf-ic-req { color: #E94E1B; margin-left: 2px; }

.imf-ic-input, .imf-ic-select, .imf-ic-textarea {
  width: 100%; background: #fff; border: 1px solid #E5E5E5;
  border-radius: 8px; font-size: 14px; color: #1A1A1A;
  font-family: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.imf-ic-input, .imf-ic-select { height: 48px; padding: 0 14px; }
.imf-ic-textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.imf-ic-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A5A5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer;
}
.imf-ic-file { padding: 10px 14px; height: auto; cursor: pointer; }
.imf-ic-file::file-selector-button {
  background: #E94E1B; color: #fff; border: none; border-radius: 6px;
  padding: 7px 12px; font-size: 12.5px; font-weight: 600; margin-right: 10px;
  cursor: pointer; font-family: inherit;
}

.imf-ic-input:focus, .imf-ic-select:focus, .imf-ic-textarea:focus {
  border-color: #E94E1B; box-shadow: 0 0 0 3px rgba(233,78,27,.1);
}
.imf-ic-input.imf-ic-error, .imf-ic-select.imf-ic-error, .imf-ic-textarea.imf-ic-error { border-color: #ef4444; }
.imf-ic-err-msg { font-size: 12px; color: #ef4444; display: none; }
.imf-ic-field.has-error .imf-ic-err-msg { display: block; }

.imf-ic-check-row { display: flex; align-items: flex-start; gap: 10px; }
.imf-ic-check-row input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; accent-color: #E94E1B; flex-shrink: 0; cursor: pointer; }
.imf-ic-check-lbl { font-size: 13px; color: #5A5A5A; line-height: 1.55; }
.imf-ic-check-lbl a { color: #E94E1B !important; font-weight: 600; text-decoration: none !important; }
.imf-ic-check-lbl a:hover { text-decoration: underline !important; }

.imf-ic-submit {
  margin-top: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #E94E1B; color: #fff !important; font-weight: 600;
  font-size: 15px; height: 56px; padding: 0 32px; border-radius: 10px;
  border: none; cursor: pointer; font-family: inherit;
  transition: background .2s;
}
.imf-ic-submit:hover:not(:disabled) { background: #C8401A; }
.imf-ic-submit:disabled { opacity: .6; cursor: not-allowed; }
.imf-ic-submit svg { width: 16px; height: 16px; }

.imf-ic-note { margin-top: 14px; font-size: 12px; color: #888; }

.imf-ic-success { display: none; text-align: center; padding: 40px 20px; }
.imf-ic-success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.imf-ic-success-icon svg { width: 32px; height: 32px; stroke: #16a34a; }
.imf-ic-success h3 { font-size: 22px; font-weight: 700; color: #1A1A1A; margin: 0 0 8px; }
.imf-ic-success p { font-size: 15px; color: #5A5A5A; margin: 0; }

/* ── Trust block ──────────────────────────────────────────────────────── */
.imf-ic-trust {
  background: #1A1A1A; color: #fff;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}

/* Foto con duotono, igual tratamiento que el resto del sitio */
.imf-ic-trust-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 5 / 3;
}
.imf-ic-trust-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.1) brightness(.9);
}
.imf-ic-trust-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #E94E1B; mix-blend-mode: multiply;
}
.imf-ic-trust-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(26,26,26,0) 40%, rgba(26,26,26,.55) 100%);
}

.imf-ic-trust-body { padding: 28px 32px 32px; }

.imf-ic-trust-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em;
  color: #E94E1B; margin-bottom: 12px;
}
.imf-ic-trust-eyebrow span { width: 20px; height: 1px; background: #E94E1B; }
.imf-ic-trust-body h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }

.imf-ic-trust-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; list-style: none; padding: 0; }
.imf-ic-trust-list li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; }

.imf-ic-trust-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.05); color: #E94E1B;
  display: flex; align-items: center; justify-content: center;
}
.imf-ic-trust-icon svg { width: 16px; height: 16px; }

.imf-ic-trust-list li > div { display: flex; flex-direction: column; min-width: 0; }
.imf-ic-trust-list a { color: #fff; font-weight: 600; text-decoration: none; }
.imf-ic-trust-list a:hover { color: #E94E1B; }
.imf-ic-trust-strong { font-weight: 600; }
.imf-ic-trust-list span:last-child { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; }

.imf-ic-trust-confidencial {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: flex-start; gap: 12px;
}
.imf-ic-trust-shield-icon { flex-shrink: 0; margin-top: 2px; color: #E94E1B; }
.imf-ic-trust-shield-icon svg { width: 18px; height: 18px; }
.imf-ic-trust-confidencial p { font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.6; }

@media (max-width: 900px) {
  .imf-ic-grid { grid-template-columns: 1fr; }
  .imf-ic-form { padding: 24px 20px; }
}

@media (max-width: 600px) {
  .imf-ic-trust-body { padding: 22px 20px 24px; }
}
