/* Facturación rediseñada (encima de facturas.css). El formulario y su script no cambian. */
.fcx .fcx-need { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; list-style: none; }
.fcx .fcx-need li { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid rgba(17, 17, 17, .25); }
.fcx .fcx-need b { font-family: var(--px-serif); font-size: 1.6rem; line-height: 1.1; color: #111; }
.fcx .fcx-need li > span:last-child { color: #4a3f36; line-height: 1.5; }
.fcx .fc-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.fcx .fcx-note { margin: 0 0 14px; color: #4a3f36; line-height: 1.5; }

.fcx .ct-form-wrap { padding: 0; background: none; border: 0; box-shadow: none; }
.fcx .ct-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; padding: 0; background: none; border: 0; box-shadow: none; }
.fcx .ct-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fcx .ct-label { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4a3f36; }
.fcx .ct-label-row { display: flex; align-items: center; gap: 8px; }
.fcx .ct-field input, .fcx .ct-field select { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(17, 17, 17, .22); background: rgba(255, 255, 255, .7); color: #111; font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.fcx .ct-field input:focus, .fcx .ct-field select:focus { outline: 0; border-color: #111; background: #fff; box-shadow: 0 0 0 3px rgba(230, 32, 38, .25); }
.fcx .ct-field input::placeholder { color: #8a7c70; }
.fcx .ct-field input[type="file"] { padding: 9px 12px; min-height: 0; }
.fcx .ct-field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 999px; background: #111; color: #EFE6D8; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.fcx .ct-help { color: #6b5d51; font-size: .8rem; line-height: 1.4; }
.fcx .ct-submit { grid-column: 1 / -1; min-height: 54px; border: 0; border-radius: 999px; background: #E62026; color: #fff; font: inherit; font-size: .85rem; font-weight: 800; letter-spacing: .12em; cursor: pointer; transition: background .25s, transform .2s; }
.fcx .ct-submit:hover { background: #c3161c; }
.fcx .ct-submit:active { transform: scale(.99); }
.fcx .ct-info-dot { background: #111; }

@media (max-width: 900px) {
  .fcx .fcx-need { grid-template-columns: 1fr; }
  .fcx .fc-layout { grid-template-columns: 1fr; }
  .fcx .ct-form { grid-template-columns: 1fr; }
}

/* El globo de ayuda de los "!" siempre cabe en pantalla (antes ensanchaba la página en celular) */
.fcx .ct-info-dot::after { left: -6px; transform: none; width: min(280px, 72vw); min-width: 0; max-width: none; }
.fcx { overflow-x: clip; }
