/* Formulario "Solicita tu página web" — usa los colores y letras de /estilos.css */
.sw{max-width:780px;padding-block:32px 8px}
.sw-intro{display:grid;gap:10px;margin-bottom:24px}
.sw-intro h1{font-size:clamp(2rem,5vw,3rem);font-weight:800;letter-spacing:-.03em}
.sw-intro .lead{color:var(--muted);font-size:1.08rem;max-width:58ch}
.sw-progress{display:flex;gap:6px}
.sw-progress span{flex:1;height:6px;border-radius:99px;background:var(--line);transition:background-color .25s ease}
.sw-progress span.done{background:var(--accent)}
.sw-step-label{font-size:14px;color:var(--muted);margin:8px 0 14px}
.sw-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px 18px}
.sw-card:focus{outline:none}
@media (min-width:600px){.sw-card{padding:28px}}
.sw-card h2{font-size:1.4rem;letter-spacing:-.01em}
.sw-card .sub{color:var(--muted);margin:4px 0 20px}
.sw-field{margin:0 0 18px;padding:0;border:0;min-width:0}
.sw-field > label,.sw-field > legend{display:block;font-weight:600;margin-bottom:6px;padding:0}
.sw-req{color:#C2410C}
.sw-opt{color:var(--muted);font-weight:400;font-size:14px}
.sw-help{font-size:14px;color:var(--muted);margin-top:4px}
.sw input[type=text],.sw input[type=email],.sw input[type=tel],.sw input[type=url],.sw select,.sw textarea{
  width:100%;font:16px/1.4 var(--body);color:var(--ink);background:var(--bg);border:1.5px solid var(--line);border-radius:10px;padding:11px 12px;min-height:46px;
  transition:border-color .15s ease,box-shadow .15s ease}
.sw textarea{min-height:96px;resize:vertical}
.sw input::placeholder,.sw textarea::placeholder{color:var(--muted);opacity:.8}
.sw input:focus,.sw select:focus,.sw textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 30%,transparent)}
.sw-invalid input,.sw-invalid select,.sw-invalid textarea{border-color:#C2410C}
.sw-err{display:none;color:#C2410C;font-size:14px;margin-top:5px;font-weight:600}
.sw-invalid .sw-err{display:block}
@media (prefers-color-scheme:dark){.sw-req,.sw-err{color:#FB923C}.sw-invalid input,.sw-invalid select,.sw-invalid textarea{border-color:#FB923C}}
.sw-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}
.sw-choice{position:relative}
.sw-choice input{position:absolute;opacity:0;width:1px;height:1px}
.sw-choice label{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;cursor:pointer;background:var(--bg);font-weight:500;transition:border-color .15s ease,background-color .15s ease}
.sw-choice label::before{content:"";flex:0 0 18px;height:18px;border:2px solid var(--muted);border-radius:5px;background:var(--surface);transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
.sw-choice input[type=radio] + label::before{border-radius:50%}
.sw-choice input:checked + label{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 12%,var(--surface))}
.sw-choice input:checked + label::before{border-color:var(--accent);background:var(--accent);box-shadow:inset 0 0 0 3px var(--surface)}
.sw-choice input:focus-visible + label{outline:2px solid var(--accent);outline-offset:2px}
.sw-other{margin-top:8px}
.sw-row{display:grid;grid-template-columns:1fr;gap:0 14px}
@media (min-width:600px){.sw-row{grid-template-columns:1fr 1fr}}
.sw-nav{display:flex;gap:10px;justify-content:space-between;margin-top:18px}
.sw-nav .btn{min-height:48px;padding-inline:22px}
.sw-nav .btn[disabled]{opacity:.6;cursor:not-allowed}
.sw-hidden{visibility:hidden}
.sw-spinner{display:inline-block;width:16px;height:16px;border:2px solid color-mix(in srgb,var(--accent-ink) 45%,transparent);border-top-color:var(--accent-ink);border-radius:50%;animation:sw-spin .7s linear infinite}
@keyframes sw-spin{to{transform:rotate(360deg)}}
.sw-review h3{font-size:1rem;margin:20px 0 6px;color:var(--accent);border-bottom:1px solid var(--line);padding-bottom:4px}
.sw-review dl{margin:0}
.sw-item{display:grid;grid-template-columns:1fr;gap:2px;padding:6px 0}
@media (min-width:600px){.sw-item{grid-template-columns:210px 1fr;gap:12px}}
.sw-item dt{color:var(--muted);font-size:14px}
.sw-item dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.sw-notice{border-radius:10px;padding:12px 14px;margin-top:14px}
.sw-notice.error{background:color-mix(in srgb,#C2410C 12%,var(--surface));color:var(--ink);border:1px solid #C2410C}
.sw-done{text-align:center;display:grid;gap:12px;justify-items:center;padding-block:8px}
.sw-check{width:64px;height:64px;border-radius:50%;background:color-mix(in srgb,var(--accent) 15%,var(--surface));color:var(--accent);display:grid;place-items:center;font-size:30px;font-weight:700}
.sw-folio{font-family:var(--mono);font-weight:500;letter-spacing:.03em}
.sw-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:6px}
.sw-notice .sw-actions{justify-content:flex-start}
.sw-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sw-draft{font-size:14px;color:var(--muted);text-align:center;margin-top:12px;min-height:1.6em}
.sw-fade{animation:sw-fade .22s ease-out}
@keyframes sw-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.sw-fade,.sw-spinner{animation:none}.sw-progress span,.sw-choice label{transition:none}}
.sw-nav[hidden],.sw-other[hidden]{display:none}
