.nav a{white-space:nowrap}.comm:has(figure:only-child){grid-template-columns:1fr}.comm:has(figure:only-child) img{max-height:400px;object-fit:cover}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.review-card{border-left:3px solid var(--o);margin:1.5rem 0;padding:1.2rem 1.5rem;background:var(--panel)}.review-card blockquote{font-size:clamp(1.15rem,2vw,1.6rem);margin:0 0 .6rem}.form-feedback{padding:1rem;border-left:3px solid var(--o)}.ftr__col>a{display:table;margin-bottom:.25rem}#gaugeVal{font-size:clamp(.85rem,2vw,1.3rem)}.lightbox[hidden],.vmodal[hidden],#clock[hidden]{display:none!important}.gallery figure:focus-visible{outline:3px solid var(--o)}.legal__body p{overflow-wrap:anywhere}@media(min-width:1025px){.nav{flex-wrap:nowrap;align-items:center}.nav a{display:inline-flex;align-items:center;gap:.25rem}.nav a i{margin:0}.hdr{gap:clamp(6px,1vw,20px)}}@media(min-width:1025px) and (max-width:1370px){.nav a{font-size:12px;padding:8px 6px}.clock{display:none}}

/* Three diagonal shutters, shared by the departing and arriving documents. */
.tx.is-on { z-index: 101; }
.tx__layer--o { --layer: 0; }
.tx__layer--b { --layer: 1; }
.tx__layer--d { --layer: 2; }
.tx-cover .tx__layer {
  animation: sgr-cover 520ms cubic-bezier(.76,0,.24,1) calc(var(--layer) * 70ms) both;
}
@keyframes sgr-cover {
  from { clip-path: polygon(0% 100%, 100% 118%, 100% 118%, 0% 100%); }
  to   { clip-path: polygon(0% -18%, 100% 0%, 100% 118%, 0% 100%); }
}
.tx-reveal .tx__layer {
  animation: sgr-uncover 520ms cubic-bezier(.76,0,.24,1) calc((2 - var(--layer)) * 70ms) both;
}
@keyframes sgr-uncover {
  from { clip-path: polygon(0% -18%, 100% 0%, 100% 118%, 0% 100%); }
  to   { clip-path: polygon(0% -18%, 100% 0%, 100% 0%, 0% -18%); }
}
.tx-reveal .tx__center { animation: sgr-label-out 520ms cubic-bezier(.76,0,.24,1) both; }
@keyframes sgr-label-out { to { transform: translateY(-90px); opacity: 0; } }
.tx-cover .tx__bar i { animation: sgr-bar 340ms cubic-bezier(.2,.8,.2,1) 660ms both; }
.tx-cover .tx__cur { animation: sgr-cursor 340ms cubic-bezier(.2,.8,.2,1) 660ms both; }
@keyframes sgr-bar { from { width: 0; } to { width: 100%; } }
@keyframes sgr-cursor { from { left: 0; } to { left: 100%; } }
.tx-reveal .tx__bar i { width: 100%; }
.tx-reveal .tx__cur { left: 100%; }
.tx-reveal .tx__title .ch, .tx-reveal .tx__path, .tx-reveal .tx__bar {
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .tx.is-on { visibility: hidden; pointer-events: none; }
  #tx ~ #app { animation: none; }
}

.lip__body p.sgr-linkedin-text { white-space: pre-line; overflow-wrap: anywhere; }

/* Llegada con persiana: la clase tx-arrive la pone un script en <head> antes del primer pintado.
   Reproduce exactamente el último fotograma de la salida (todo tapado y rótulo visible), así no hay corte. */
html.tx-arrive #tx { display: block !important; visibility: visible; z-index: 101; }
html.tx-arrive #boot { display: none !important; }
html.tx-arrive .tx__layer { clip-path: polygon(0% -18%, 100% 0%, 100% 118%, 0% 100%); }
html.tx-arrive .tx__path, html.tx-arrive .tx__bar { opacity: 1; transform: none; transition: none; }
html.tx-arrive .tx__title .ch { transform: none; transition: none; }
html.tx-arrive .tx__bar i { width: 100%; }
html.tx-arrive .tx__cur { left: 100%; }
html.tx-arrive-safe .tx__layer { animation: sgr-uncover 520ms cubic-bezier(.76,0,.24,1) calc((2 - var(--layer)) * 70ms) both; }
html.tx-arrive-safe .tx__center { animation: sgr-label-out 520ms cubic-bezier(.76,0,.24,1) both; }
@media (prefers-reduced-motion: reduce) { html.tx-arrive #tx { display: none !important; } }

/* Página /test: el test arriba del todo, sin tener que bajar. */
.page--test { display: flex; flex-direction: column; justify-content: center; }
.testpage { padding-top: clamp(104px, 13vw, 150px); padding-bottom: clamp(48px, 7vw, 96px); }
@media (max-width: 760px) {
  /* En móvil, la pregunta va justo después del título; el medidor y la nota, debajo. */
  .testpage .quiz { row-gap: 16px; }
  .testpage .quiz__side { display: contents; }
  .testpage .quiz__side .kicker { order: 1; margin: 0; }
  .testpage .quiz__side .h2 { order: 2; }
  .testpage .quiz__main { order: 3; margin-top: 8px; }
  .testpage .quiz__side .gauge { order: 4; }
  .testpage .quiz__side p.muted { order: 5; margin: 0; }
}

/* Botón naranja vacío en las páginas de detalle (servicios y noticias): ".legal__body a" pintaba
   el texto del botón en naranja sobre fondo naranja. Los botones mantienen su propio color. */
.legal__body a.btn { text-decoration: none; }
.legal__body a.btn--orange { color: #140800; }
.legal__body a.btn--ghost { color: var(--text); }
/* Además, la capa clara del hover queda siempre DETRÁS del texto, aunque no vaya en <span>. */
.btn--orange::before { z-index: -1; }
.quiz__resbtns .btn { white-space: normal; text-align: center; }

/* Cabecera: el fondo translúcido va en una capa propia. Si el desenfoque (backdrop-filter) se pone en
   la propia cabecera, el menú móvil, que vive dentro, queda encerrado en su altura al cerrarse y se ven
   los textos del menú encima de la página. */
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: rgba(7,11,20,.72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.hdr.is-scrolled { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hdr.is-scrolled::before { opacity: 1; }
/* Al abrir el menú, el fondo de la cabecera se retira cuando el círculo ya la ha cubierto. */
body.menu-open .hdr::before { opacity: 0; transition-delay: .45s; }
@media (max-width: 1024px) {
  /* En móvil la cabecera se queda siempre visible (sin esconderse al hacer scroll). */
  .hdr.is-hidden { transform: none; }
}

/* Test en móvil: tarjeta con margen a los lados, medidor centrado y respuestas en una fila. */
.gauge { margin-left: auto; margin-right: auto; }
.gauge b { bottom: auto; top: 64%; transform: translateY(-50%); line-height: 1; }
#gaugeVal { font-size: 1rem; color: var(--muted); }
#gaugeVal.is-num { font-size: clamp(2rem, 6vw, 2.6rem); color: var(--text); }
#gaugeVal.is-num::after { content: "/100"; font-size: .4em; color: var(--muted); margin-left: .15em; }
@media (min-width: 761px) { .gauge { margin-left: 0; } }
@media (max-width: 760px) {
  .block.wrap > #quiz { margin-left: var(--gut); margin-right: var(--gut); }
  .quiz { padding: 24px 20px; }
  .quiz__side { text-align: left; }
  .gauge { width: min(220px, 70%); margin-top: 24px; }
  .quiz__ans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .quiz__ans .btn { min-width: 0; padding-left: 8px; padding-right: 8px; white-space: nowrap; justify-content: center; }
  .quiz__q { margin-bottom: 22px; }
  .quiz__resbtns .btn { flex: 1 1 100%; justify-content: center; }
}
