/* Indumarket · Formulario breve. Estilos limitados al componente. */
.im-quote-form,
.im-quote-unavailable {
  box-sizing: border-box;
  color: #122025;
  font: 400 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
}
.im-quote-form {
  --im-quote-ink: #122025;
  --im-quote-muted: #53656b;
  --im-quote-line: #cfdbdc;
  --im-quote-orange: #fc6f38;
  width: 100%;
  margin: 0;
  padding: 34px 38px;
  border: 0;
  background: #fff;
}
.im-quote-form *,
.im-quote-form *::before,
.im-quote-form *::after {
  box-sizing: border-box;
}
.im-quote-form [hidden],
#im-quote-dialog [hidden] {
  display: none !important;
}
.im-quote-form h2,
.im-quote-form h3,
.im-quote-form p,
.im-quote-form label {
  margin: 0;
  color: inherit;
  font-family: inherit;
}
.im-quote-form a {
  color: #175f6b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.im-quote-form :is(input, textarea, button, summary, a):focus-visible,
#im-quote-dialog .im-quote-close:focus-visible {
  outline: 3px solid #176a93;
  outline-offset: 3px;
}
.im-quote-form :is(h2, [data-im-quote-status], [data-im-quote-success]):focus {
  outline: none;
}
.im-quote-page {
  max-width: 760px;
  margin: 24px auto 42px;
  border: 1px solid #dce3e4;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgb(18 32 37 / 5%);
}
.im-quote-preview {
  max-width: 760px;
  border: 1px solid #dce3e4;
  border-radius: 20px;
}
.im-quote-form .im-quote-heading {
  display: block;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
}
.im-quote-form .im-quote-logo {
  position: static;
  display: block;
  width: 190px;
  max-width: calc(100% - 48px);
  height: auto;
  max-height: none;
  aspect-ratio: 300 / 47;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  transform: none;
  filter: none;
}
.im-quote-form .im-quote-eyebrow {
  margin: 0 0 8px;
  color: #9c3d17;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .04em;
}
.im-quote-form h2 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.im-quote-form .im-quote-heading > p:last-child {
  max-width: 540px;
  color: var(--im-quote-muted);
  font-size: 16px;
  line-height: 1.55;
}
.im-quote-form .im-quote-required-note {
  margin-bottom: 18px;
  color: var(--im-quote-muted);
  font-size: 14px;
}
.im-quote-form .im-quote-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}
.im-quote-form .im-quote-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0 0 18px;
  font-size: 16px;
}
.im-quote-form .im-quote-label {
  display: block;
  color: var(--im-quote-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}
.im-quote-form .im-quote-optional-label {
  margin-left: 4px;
  color: var(--im-quote-muted);
  font-size: 14px;
  font-weight: 400;
}
.im-quote-form input:not([type="checkbox"]):not([type="hidden"]),
.im-quote-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid var(--im-quote-line);
  border-radius: 9px;
  background: #fff;
  color: var(--im-quote-ink);
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
}
.im-quote-form textarea {
  min-height: 102px;
  resize: vertical;
}
.im-quote-form input::placeholder,
.im-quote-form textarea::placeholder {
  color: #697a80;
  opacity: 1;
}
.im-quote-form input[aria-invalid="true"],
.im-quote-form textarea[aria-invalid="true"] {
  border-color: #b6382b;
}
.im-quote-form input[readonly],
.im-quote-form textarea[readonly],
.im-quote-preview input:disabled,
.im-quote-preview textarea:disabled {
  background: #f5f7f7;
  color: #53656b;
  opacity: 1;
  -webkit-text-fill-color: #53656b;
}
.im-quote-form .im-quote-field-hint {
  color: var(--im-quote-muted);
  font-size: 14px;
  line-height: 1.45;
}
.im-quote-form .im-quote-error {
  display: block;
  margin: 0;
  color: #a83127;
  font-size: 14px;
  line-height: 1.45;
}
.im-quote-form .im-quote-details {
  display: block;
  margin: 2px 0 22px;
  padding: 0;
  border: 1px solid #dce3e4;
  border-radius: 10px;
  background: #f8faf9;
}
.im-quote-form .im-quote-details > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 15px;
  color: var(--im-quote-ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.im-quote-form .im-quote-details > summary::-webkit-details-marker {
  display: none;
}
.im-quote-form .im-quote-details > summary > span {
  margin-left: auto;
  color: var(--im-quote-muted);
  font-size: 14px;
  font-weight: 400;
}
.im-quote-form .im-quote-details > summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 150ms ease;
}
.im-quote-form .im-quote-details[open] > summary svg {
  transform: rotate(180deg);
}
.im-quote-form .im-quote-details > .im-quote-row {
  padding: 4px 15px 0;
}
.im-quote-form .im-quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  cursor: pointer;
}
.im-quote-form .im-quote-consent input[type="checkbox"] {
  appearance: auto;
  flex: none;
  width: 19px;
  height: 19px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 3px;
  accent-color: #122025;
}
.im-quote-form .im-quote-privacy {
  margin: 0 0 4px 30px;
  color: var(--im-quote-muted);
  font-size: 14px;
  line-height: 1.6;
}
.im-quote-form .im-quote-status,
.im-quote-form .im-quote-preview-note {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid #cbdfe3;
  border-left: 3px solid #2e6b7b;
  border-radius: 8px;
  background: #f1f7f8;
  color: #214d58;
  font-size: 14px;
  line-height: 1.55;
}
.im-quote-form .im-quote-status[data-state="error"] {
  border-color: #edcbc5;
  border-left-color: #b6382b;
  background: #fff5f3;
  color: #8e2c23;
}
.im-quote-form .im-quote-status[data-state="warning"] {
  border-color: #e9d4af;
  border-left-color: #a36113;
  background: #fff8ec;
  color: #77470f;
}
.im-quote-form .im-quote-preview-note {
  margin: -4px 0 22px;
}
.im-quote-form .im-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}
.im-quote-form .im-quote-submit,
.im-quote-form .im-quote-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  max-width: 100%;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid var(--im-quote-orange);
  border-radius: 9px;
  background: var(--im-quote-orange);
  color: var(--im-quote-ink);
  font: 700 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}
.im-quote-form .im-quote-submit:hover:not(:disabled) {
  background: #f15f28;
  border-color: #f15f28;
  color: var(--im-quote-ink);
}
.im-quote-form .im-quote-submit:disabled {
  opacity: .65;
  cursor: default;
}
.im-quote-form .im-quote-submit svg {
  flex: none;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.im-quote-form .im-quote-secondary {
  border-color: var(--im-quote-line);
  background: #fff;
  color: #244b56;
  font-size: 14px;
  font-weight: 650;
}
.im-quote-form .im-quote-secondary:hover {
  border-color: #7698a1;
  background: #f5f8f8;
}
.im-quote-form .im-quote-footnote {
  flex-basis: 100%;
  margin: 3px 0 0;
  color: var(--im-quote-muted);
  font-size: 14px;
  line-height: 1.55;
}
.im-quote-form .im-quote-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  pointer-events: none;
}
.im-quote-form .im-quote-success {
  padding: 8px 0 0;
  text-align: left;
}
.im-quote-form .im-quote-success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 0 18px;
  border: 1px solid #c9dfd4;
  border-radius: 50%;
  background: #edf7f0;
  color: #216246;
}
.im-quote-form .im-quote-success-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.im-quote-form .im-quote-success h3 {
  margin-bottom: 12px;
  font-size: 25px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.im-quote-form .im-quote-success p {
  margin-bottom: 14px;
  font-size: 16px;
}
.im-quote-form .im-quote-reference {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 11px 15px;
  border: 1px solid var(--im-quote-line);
  border-radius: 8px;
  background: #f5f8f7;
  color: var(--im-quote-ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.im-quote-form .im-quote-success .im-quote-submit {
  margin-top: 10px;
}
.im-quote-unavailable {
  margin: 18px 0;
  padding: 16px 18px;
  border: 1px solid #dce3e4;
  border-radius: 10px;
  background: #f5f8f7;
}
#im-quote-dialog {
  box-sizing: border-box;
  width: min(720px, calc(100% - 32px));
  max-width: 720px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: #122025;
  box-shadow: 0 24px 100px rgb(0 0 0 / 25%);
}
#im-quote-dialog:not([open]) {
  display: none;
}
#im-quote-dialog::backdrop {
  background: rgb(12 27 31 / 65%);
  backdrop-filter: blur(3px);
}
#im-quote-dialog .im-quote-dialog-content {
  position: relative;
}
#im-quote-dialog .im-quote-close {
  position: sticky;
  top: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 14px 14px -56px auto;
  padding: 10px;
  border: 1px solid #dce3e4;
  border-radius: 50%;
  background: #fff;
  color: #34545e;
  cursor: pointer;
}
#im-quote-dialog .im-quote-close:hover {
  background: #eef3f3;
}
#im-quote-dialog .im-quote-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
@media (max-width: 600px) {
  .im-quote-form {
    padding: 28px 20px;
  }
  .im-quote-page {
    margin: 18px auto 28px;
    border-radius: 16px;
  }
  .im-quote-form .im-quote-logo {
    width: 175px;
    margin-bottom: 22px;
  }
  .im-quote-form .im-quote-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .im-quote-form .im-quote-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .im-quote-form .im-quote-submit,
  .im-quote-form .im-quote-secondary {
    width: 100%;
  }
  .im-quote-form .im-quote-details > summary {
    flex-wrap: wrap;
    gap: 5px 8px;
    font-size: 14px;
  }
  .im-quote-form .im-quote-details > summary > span {
    font-size: 14px;
  }
  #im-quote-dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 16px;
  }
  #im-quote-dialog .im-quote-close {
    top: 10px;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: -52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .im-quote-form *,
  #im-quote-dialog * {
    scroll-behavior: auto;
    transition: none;
  }
}
