/* RB — Encuesta de satisfacción. Identidad RB: negro #0B0B0B, naranja #F58220, blanco. */
.survey-page { background: #FFFFFF; color: #1B140E; --bg: #FFFFFF; --field-bg: #FFFFFF; min-height: 100vh; }
.survey-top { background: #0B0B0B; border-bottom: 4px solid var(--orange); padding: 12px 16px; }
.survey-top__brand { display: inline-flex; align-items: center; gap: 12px; color: #FFF4E2; text-decoration: none; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; }
.survey-top__brand em { display: block; font-family: var(--font-accent); text-transform: none; letter-spacing: 0; color: var(--orange); font-size: 1rem; }
.survey { max-width: 680px; margin: 0 auto; padding: 24px 16px 56px; }
.survey__intro h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 8vw, 3rem); line-height: 1.02; margin: 6px 0 10px; color: #0B0B0B; }
.survey__intro h1 em { font-family: var(--font-accent); text-transform: none; color: var(--orange-deep); }
.survey__intro p:last-child { font-size: 1.08rem; color: var(--muted); margin: 0 0 18px; }
.survey__status { font-size: 1.1rem; font-weight: 600; }
.sv-q { border: 2px solid #0B0B0B; border-radius: 18px; padding: 16px; margin: 0 0 16px; background: #FFFFFF; min-width: 0; }
.sv-q.is-missing { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245, 130, 32, .3); }
.sv-q legend { float: left; width: 100%; font-weight: 700; font-size: 1.18rem; line-height: 1.3; padding: 0; color: #0B0B0B; }
.sv-q legend ~ * { clear: both; }
.sv-q__n { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--orange-deep); font-weight: 600; margin-bottom: 2px; }
.sv-q__hint { color: var(--muted); margin: 4px 0 10px; font-size: .98rem; }
.sv-opts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.sv-opt { position: relative; flex: 1 1 140px; }
.sv-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sv-opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: 10px 14px; border: 2px solid #0B0B0B; border-radius: 14px; font-weight: 700; font-size: 1.08rem; background: #FFFFFF; color: #0B0B0B; transition: background .15s, color .15s; }
.sv-opt input:hover + span { background: #FFF1E2; }
.sv-opt input:checked + span { background: var(--orange); border-color: var(--orange); color: #0B0B0B; box-shadow: inset 0 0 0 2px #0B0B0B; }
.sv-opt input:checked + span::before { content: '✓'; margin-right: 8px; }
.sv-opt input:focus-visible + span { outline: 3px solid #0B0B0B; outline-offset: 3px; }
.sv-clear { margin-top: 10px; font-size: 1rem; }
.sv-q textarea { width: 100%; margin-top: 10px; font: inherit; font-size: 1.08rem; padding: 12px; border: 2px solid #0B0B0B; border-radius: 14px; background: #FFFFFF; color: #0B0B0B; resize: vertical; min-height: 110px; }
.sv-q textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.survey__progress { font-weight: 600; margin: 4px 0 12px; }
.survey__error { padding: 12px 14px; border-radius: 12px; background: #FFE1B8; border-left: 6px solid var(--orange-deep); font-weight: 600; }
.survey__send { width: 100%; min-height: 58px; font-size: 1.15rem; }
.survey__send:disabled { opacity: .6; cursor: progress; }
.survey__thanks { text-align: center; padding: 40px 18px; border-radius: 22px; background: #0B0B0B; color: #FFF4E2; margin-top: 12px; }
.survey__thanks:focus { outline: none; }
.survey__thanks > span { font-size: 3rem; }
.survey__thanks h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 2.6rem; color: var(--orange); margin: 6px 0; }
.survey__thanks p { font-size: 1.1rem; margin: 0 0 22px; }
