/* =========================================================
   Modal de contacto / demo — experiencia guiada
   ========================================================= */
.modal-overlay{
  position: fixed; inset: 0; z-index: 200; background: rgba(6,7,10,.72);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .22s var(--ease);
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }
.modal{
  position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  background: var(--ink-raised); border: 1px solid var(--hairline-strong); border-radius: var(--radius-l);
  padding: 8px; transform: translateY(14px) scale(.98); opacity: 0; transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.modal-overlay.is-open .modal{ transform: translateY(0) scale(1); opacity: 1; }
.modal-inner{ padding: 34px 32px; }
.modal-close{ position: absolute; top: 18px; right: 18px; background: var(--ink); border: 1px solid var(--hairline); color: var(--ash); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.modal-close svg{ width: 16px; height: 16px; }
.modal-close:hover{ color: var(--paper); border-color: var(--hairline-strong); }

.modal-kicker{ font-size: 13px; font-weight: 700; color: var(--copper-strong); margin-bottom: 10px; }
.modal h3{ font-size: 24px; line-height: 1.25; margin-bottom: 10px; padding-right: 32px; }
.modal-lead{ font-size: 14.5px; color: var(--ash); margin-bottom: 26px; line-height: 1.55; }

.modal-step{ display: none; }
.modal-step.is-active{ display: block; }

.reason-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.reason-option{ text-align: left; background: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius-m); padding: 16px 16px; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.reason-option:hover{ border-color: var(--copper); }
.reason-option.is-selected{ border-color: var(--copper); background: rgba(227,139,76,.07); }
.reason-option strong{ display: block; font-size: 14.5px; color: var(--paper); margin-bottom: 3px; }
.reason-option span{ font-size: 12.5px; color: var(--ash-dim); }

.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: 13px; font-weight: 600; color: var(--paper); margin-bottom: 7px; }
.field input, .field select, .field textarea{
  width: 100%; background: var(--ink); border: 1px solid var(--hairline-strong); color: var(--paper);
  border-radius: var(--radius-s); padding: 12px 14px; font-size: 14.5px; font-family: var(--font-body);
  transition: border-color .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--copper-strong); outline: none; }
.field textarea{ resize: vertical; min-height: 88px; }
.field-hint{ font-size: 12px; color: var(--ash-dim); margin-top: 6px; }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.modal-actions{ display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.modal-back{ background: none; border: none; color: var(--ash); font-size: 13.5px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 4px; }
.modal-back:hover{ color: var(--paper); }
.modal-back svg{ width: 15px; height: 15px; }

.channel-list{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.channel-option{
  display: flex; align-items: center; gap: 14px; background: var(--ink); border: 1px solid var(--hairline);
  border-radius: var(--radius-m); padding: 16px 18px; cursor: pointer; transition: border-color .18s ease, transform .18s ease;
}
.channel-option:hover{ border-color: var(--copper); transform: translateY(-1px); }
.channel-icon{ width: 40px; height: 40px; border-radius: 50%; background: var(--grad-signal-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.channel-icon svg{ width: 19px; height: 19px; color: var(--copper-strong); }
.channel-copy strong{ display: block; font-size: 14.5px; color: var(--paper); margin-bottom: 2px; }
.channel-copy span{ font-size: 12.5px; color: var(--ash-dim); }
.channel-arrow{ margin-left: auto; width: 16px; height: 16px; color: var(--ash-dim); flex: none; }

.confirm-panel{ text-align: center; padding: 8px 0 4px; }
.confirm-icon{ width: 52px; height: 52px; margin: 0 auto 18px; color: var(--state-good); }
.confirm-panel h3{ padding-right: 0; }
.summary-box{ text-align: left; background: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius-m); padding: 16px 18px; margin: 20px 0; font-size: 13.5px; color: var(--ash); line-height: 1.7; }
.summary-box strong{ color: var(--paper); }

.modal--signup{ max-width: 640px; }
.signup-error{
  background: rgba(232, 93, 74, .12);
  border: 1px solid rgba(232, 93, 74, .35);
  color: #f3b4ac;
  border-radius: var(--radius-s);
  padding: 10px 12px;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.field-hint.is-bad{ color: #f3b4ac; }
.field-hint strong{ color: var(--paper); }
