/* SEGIMON ELECTRONICS — complemento mínimo de segimon.css (borrador)
   Las páginas usan solo componentes del tema (sg-hero--page, sg-block, sg-svc2/sg-sv, sg-feat/sg-fc,
   sg-steps, sg-faq, sg-ctabox, sg-btn). Aquí solo va lo que el tema no trae: los campos del
   formulario de presupuesto y el hueco de «foto pendiente» de los borradores.
   Colores, radios y fuentes salen de las variables del tema (--sg-*). */

.sge-formbox { max-width: 860px; }
.sge-form { margin-top: 0; gap: 14px; }
.sge-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 11px; min-width: 0; }
.sge-form legend { padding: 0; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-brand); }
.sge-form label { font-size: 14px; font-weight: 600; color: var(--sg-ink); }
.sge-row { display: grid; gap: 11px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.sge-field { display: grid; gap: 5px; min-width: 0; }
.sge-field small { font-size: 12.5px; color: var(--sg-muted); }
.sge-form select { width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 11px 13px; font-size: 15px; font-family: inherit; color: #111; background: #fafafa; }
.sge-form select:focus { border-color: #0d8a0a; background: #fff; outline: none; }
.sge-radios { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.sge-radios label, .sge-check { display: inline-flex; align-items: flex-start; gap: 8px; font-weight: 500; cursor: pointer; }
.sge-radios input, .sge-check input { width: auto; accent-color: var(--sg-brand); margin-top: 3px; }
.sge-taller { padding: 14px; border-radius: 12px; background: var(--sg-bg); }
.sge-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sge-legal { font-size: 12.5px; line-height: 1.5; color: var(--sg-muted); }
.sge-ok { padding: 14px 16px; border-radius: 12px; background: #eef5e6; color: var(--sg-ink); font-size: 15px; }


/* Copia literal del estilo del formulario que ya usa la web (está en línea en las páginas, no en segimon.css) */
.sge-form input:not([type=checkbox]):not([type=radio]):not([type=file]),
.sge-form textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 8px;
  padding: 11px 13px; font-size: 15px; font-family: inherit;
  color: #111; background: #fafafa; outline: none;
  transition: border-color .15s; box-sizing: border-box; -webkit-appearance: none;
}
.sge-form input:focus, .sge-form textarea:focus { border-color: #0d8a0a; background: #fff; }
.sge-form textarea { resize: vertical; min-height: 96px; }
.sge-form .sg-upload-label { display: flex; align-items: center; gap: 9px; border: 1.5px dashed #ccc; border-radius: 8px; padding: 12px 14px; cursor: pointer; background: #fafafa; transition: border-color .15s; font-weight: 400; }
.sge-form .sg-upload-label:hover { border-color: #0d8a0a; }
.sge-form .sg-upload-text { font-size: 13px; color: #555; line-height: 1.3; }
.sge-form .sg-upload-text strong { color: #111; font-size: 14px; display: block; }
.sge-form [hidden] { display: none !important; }
.sge-err { background: #fdecea; color: #7a2418; margin-bottom: 14px; }
.sge-formbox .sge-ok + .sge-form { margin-top: 0; }

/* Composición de secciones con componentes del tema */
.sge-formsplit { align-items: start; }
.sge-formcol { min-width: 0; }
.sg .sge-formbox { max-width: none; margin: 0; padding: clamp(20px, 3vw, 32px); }
.sge-steps-1 { grid-template-columns: minmax(0, 1fr); }
.sge-links .sg-head--block { margin-bottom: 20px; }
.sge-links .sg-btns { justify-content: center; }
.sg-split__media .sg-checks { margin: 0; }
/* Lista «se presupuesta aparte»: misma viñeta del tema, en gris y con aspa */
.sge-no .sg-txt li::before { background: #b9c4be url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sge-no .sg-fc__ico { color: var(--sg-muted); }
/* Cuando la columna derecha es una lista (no una foto), en móvil va después del texto */
@media (max-width: 1020px) { .sge-split-list .sg-split__media { order: 2 !important; } }
/* Ajustes tras revisión en vivo */
.sg .sge-formsplit, .sg .sge-split-list { align-items: start; }
@media (min-width: 1021px) { .sg .sge-formsplit .sg-split__text { position: sticky; top: 110px; } }
.sg .sge-form input[type=radio], .sg .sge-form input[type=checkbox] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 3px 0 0; border: 0; background: none; -webkit-appearance: auto; appearance: auto; flex: none; }
.sg .sge-radios label { align-items: center; }
.sg .sge-radios input[type=radio] { margin-top: 0; }
.sg .sg-steps.sge-steps-1 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.sg .sge-steps-1 .sg-st { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 20px 22px; }
.sg .sge-steps-1 .sg-st__n { grid-row: span 2; margin: 0; }
.sg .sge-steps-1 .sg-st p { margin-top: 4px; }
