/* «Tu consentimiento» v1.0 (diseño y textos de LÜNNE, 13/11): la misma pantalla en tres sitios, con esta hoja: su página
   (el enlace de cada persona del grupo, «Mi reserva» y la tableta del mostrador, `front/consentimiento.blade.php`) y el
   paso antes del pago de la web (`resources/js/front/PasoConsentimiento.vue`). Sin Vite: la página propia no lo carga.
   Todo cuelga de `.tc` y lleva el prefijo `tc-` para no mezclarse con las clases de la web (`.casilla`, `.opcion`…).
   Por defecto, clara (crema, verde, granate); con la opción oscura de prueba (`[data-estilo=oscuro]`), en la paleta de la
   web. La foto de cabecera: a todo el ancho; en el móvil, la de LÜNNE con zoom, encuadrada en la cara (a la izquierda de
   la foto); desde 768 px, una banda con la foto original entera («Retrato íntimo en luz ámbar», 1672 × 941), que a ese
   ancho no se amplía: el rostro arriba a la derecha y la luz de la ventana a la izquierda, con el foco arriba. */
.tc {
    --tc-crema: #F1F0E5; --tc-verde: #1B3426; --tc-borde: #657568; --tc-granate: #5B1313; --tc-texto: #0A0A0A;
    --tc-ancho: 528px; /* la columna del texto (480 + márgenes) */
    background: var(--tc-crema); color: var(--tc-texto); font: 400 16px/1.55 'Commissioner', system-ui, sans-serif;
    -webkit-text-size-adjust: 100%;
}
.tc *, .tc *::before, .tc *::after { box-sizing: border-box; }
.tc-mono { font-family: 'Xanh Mono', ui-monospace, monospace; font-weight: 400; }

/* Cabecera: la foto a sangre. `--tc-foco` es el punto de la foto que siempre se ve (la cara). */
.tc-cabecera { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 341px; color: #fff; background: #2a1d17 url('cabecera.jpg') 24% 60% / cover no-repeat; }
.tc-cabecera::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.12) 30%, rgba(10,10,10,.2) 62%, rgba(10,10,10,.62) 100%); }
.tc-cabecera > * { position: relative; }
.tc-cabecera, .tc-cuerpo, .tc-pie { padding-inline: max(24px, calc((100% - var(--tc-ancho)) / 2 + 24px)); }
.tc-barra { display: flex; align-items: center; justify-content: space-between; padding-top: 34px; }
.tc-barra img { display: block; height: 19px; width: auto; }
.tc-idiomas { display: flex; gap: 12px; font-size: 12.5px; letter-spacing: .06em; }
.tc-idiomas a { color: rgba(255,255,255,.82); text-decoration: none; }
.tc-idiomas .tc-activo { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.tc-lema { margin-top: auto; padding-bottom: 26px; }
.tc-lema-titulo { margin: 0; font-size: 52px; line-height: .98; letter-spacing: -.01em; color: #fff; }
.tc-lema-sub { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.86); }
@media (min-width: 768px) {
    .tc-cabecera { height: clamp(340px, 30vw, 440px); background-image: url('cabecera-ancha.jpg'); background-position: 50% 6%; }
    .tc-lema-titulo { font-size: 60px; }
}

.tc-cuerpo { padding-top: 34px; }
.tc-antetitulo { margin: 0; color: var(--tc-verde); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tc-titulo { margin: 8px 0 12px; color: var(--tc-granate); font-size: 36px; line-height: 1.15; }
.tc-intro { margin: 0 0 30px; }
.tc-para { margin: -18px 0 24px; color: var(--tc-verde); font-weight: 600; }
.tc-casilla { display: flex; gap: 16px; align-items: flex-start; margin: 0 0 13px; padding: 15px 18px; background: #fff; border: 1px solid var(--tc-borde); border-radius: 5px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.tc-casilla input { appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1px solid var(--tc-borde); border-radius: 3px; background: #fff; cursor: pointer; }
.tc-casilla input:checked { background: var(--tc-verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23F1F0E5' stroke-width='2'/%3E%3C/svg%3E") center / 17px no-repeat; border-color: var(--tc-verde); }
.tc-casilla input:focus-visible, .tc-opcion input:focus-visible + span, .tc-confirmar:focus-visible { outline: 2px solid var(--tc-verde); outline-offset: 2px; }
.tc-casilla a { color: var(--tc-granate); text-decoration: underline; text-underline-offset: 2px; }
.tc-gestos { margin: 26px 0; padding: 22px 20px 20px; background: #fff; border: 0; border-radius: 5px; }
.tc-gestos legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; }
.tc-gestos legend + p { clear: both; }
.tc-gestos p { margin: 0 0 14px; font-size: 15px; }
.tc-opciones { display: flex; gap: 10px; flex-wrap: wrap; }
.tc-opcion { position: relative; }
.tc-opcion input { position: absolute; opacity: 0; pointer-events: none; }
.tc-opcion span { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--tc-verde); border-radius: 999px; color: var(--tc-verde); font-size: 15px; font-weight: 600; cursor: pointer; }
.tc-opcion input:checked + span { background: var(--tc-verde); color: var(--tc-crema); }
.tc-cuentanos { margin-top: 16px; }
.tc-cuentanos[hidden] { display: none; }
.tc-cuentanos .tc-campo { display: block; margin: 0 0 8px; font-size: 13px; color: var(--tc-verde); font-weight: 600; }
.tc-sustituciones { margin-bottom: 16px; gap: 8px; }
.tc-sustituciones .tc-opcion span { min-height: 40px; padding: 0 14px; font-size: 13px; }
.tc-cuentanos textarea { display: block; width: 100%; min-height: 88px; padding: 10px 12px; border: 1px solid var(--tc-borde); border-radius: 7px; font: inherit; font-size: 14px; color: inherit; resize: vertical; background: #fff; }
.tc-cuentanos .tc-casilla { margin: 12px 0 0; padding: 0; border: 0; background: none; font-size: 13px; }
.tc-comercial { margin: 0 0 26px; padding: 0; background: none; border: 0; font-size: 15px; }
.tc-error { margin: 0 0 16px; color: var(--tc-granate); font-weight: 600; font-size: 15px; }
.tc-confirmar { display: block; width: 100%; min-height: 56px; border: 1px solid var(--tc-verde); border-radius: 999px; background: transparent; color: var(--tc-verde); font: 600 17px 'Commissioner', system-ui, sans-serif; cursor: pointer; }
.tc-confirmar:not(:disabled) { background: var(--tc-verde); color: var(--tc-crema); }
.tc-confirmar:disabled { cursor: default; }
.tc-ya { margin: 0 0 22px; padding: 16px; background: #fff; border: 1px solid var(--tc-borde); border-radius: 7px; }
.tc-pie { padding-top: 16px; padding-bottom: 46px; text-align: center; }
.tc-pie .tc-legal { margin: 0; font-size: 12px; line-height: 1.55; color: var(--tc-verde); }
.tc-pie img { display: block; width: 44px; height: auto; margin: 44px auto 14px; }
.tc-pie .tc-claim { margin: 0; color: var(--tc-granate); font-size: 15.5px; }

/* Opción oscura de prueba (`?estilo=oscuro`, App\Http\EstiloDePrueba): la misma pantalla con los colores de la web
   (front.css): fondo Noche, texto y títulos en Arena, cajas y campos en los negros de la web, lo elegido en Arena, el
   botón en Lavender con el texto en Granate Pulso y el símbolo en Granate 400. */
[data-estilo=oscuro] .tc { background: #0a0a0a; color: #f1f0e5; }
[data-estilo=oscuro] .tc-cabecera::before { background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.12) 30%, rgba(10,10,10,.35) 62%, #0a0a0a 100%); }
[data-estilo=oscuro] :is(.tc-antetitulo, .tc-titulo, .tc-para, .tc-cuentanos .tc-campo) { color: #f1f0e5; }
[data-estilo=oscuro] .tc-casilla { background: #121211; border-color: rgba(241,240,229,.15); }
[data-estilo=oscuro] .tc-casilla input { background-color: #1a1918; border: 2px solid rgba(241,240,229,.5); border-radius: 6px; }
[data-estilo=oscuro] .tc-casilla input:checked { background-color: #1a1918; border-color: #f1f0e5; }
[data-estilo=oscuro] .tc-casilla a { color: #f1f0e5; text-decoration-color: #d9aaf7; text-decoration-thickness: 2px; text-underline-offset: 4px; }
[data-estilo=oscuro] :is(.tc-cuentanos .tc-casilla, .tc-comercial) { background: none; }
[data-estilo=oscuro] :is(.tc-gestos, .tc-ya) { background: #121211; border: 1px solid #2e2b27; }
[data-estilo=oscuro] .tc-opcion span { border-color: rgba(241,240,229,.2); background: #121211; color: #f1f0e5; }
[data-estilo=oscuro] .tc-opcion input:checked + span { border-color: #f1f0e5; background: #f1f0e5; color: #0a0a0a; }
[data-estilo=oscuro] .tc-cuentanos textarea { background: #1a1918; border-color: rgba(241,240,229,.5); color: #f1f0e5; }
[data-estilo=oscuro] .tc-cuentanos textarea:focus-visible { outline: 2px solid #f1f0e5; outline-offset: 2px; }
[data-estilo=oscuro] .tc-error { color: #f2876a; }
[data-estilo=oscuro] .tc-confirmar { border-color: #d9aaf7; background: #d9aaf7; color: #5b1313; opacity: .4; }
[data-estilo=oscuro] .tc-confirmar:not(:disabled) { opacity: 1; }
[data-estilo=oscuro] :is(.tc-casilla input, .tc-opcion input, .tc-confirmar):focus-visible, [data-estilo=oscuro] .tc-opcion input:focus-visible + span { outline-color: #f1f0e5; }
[data-estilo=oscuro] .tc-pie .tc-legal { color: #aaa89e; }
[data-estilo=oscuro] .tc-pie .tc-claim { color: #aaa89e; font-style: italic; }
[data-estilo=oscuro] .tc-pie img { object-position: -999px 0; background: #a05a5a; -webkit-mask: url('simbolo.png') center / contain no-repeat; mask: url('simbolo.png') center / contain no-repeat; }

/* En la web, el paso antes del pago: a todo el ancho de la página, bajo la barra del resumen. */
.tc-paso { scroll-margin-top: 4rem; }
.tc-paso .tc-cuerpo { padding-bottom: 40px; }
.tc-legal-paso { margin: 18px 0 0; font-size: 12px; line-height: 1.55; text-align: center; color: var(--tc-verde); }
[data-estilo=oscuro] .tc-legal-paso { color: #aaa89e; }
