/* =============================================================
   Páginas de texto (Preguntas frecuentes y Términos).
   Se carga después de styles.css: usa sus tokens, su nav y su pie.
   ============================================================= */

.doc {
  max-width: 50rem; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(2.5rem, 9vh, 5.5rem)) var(--gutter) clamp(3.5rem, 9vh, 6rem);
}

.doc-head { margin-bottom: clamp(2.5rem, 7vh, 4rem); }
.doc-titulo {
  font-family: var(--display);
  font-style: italic; font-weight: 900; font-stretch: 114%;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: .92; letter-spacing: -0.012em;
  text-transform: uppercase; color: var(--cream);
  margin: .9rem 0 1.25rem;
}
.doc-titulo em { color: var(--accent); }
.doc-lead {
  font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.5; color: var(--cream-dim); max-width: 40rem;
}
.doc-fecha { margin-top: 1.1rem; font-size: .82rem; color: var(--muted); }

.doc h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  margin: clamp(2.75rem, 7vh, 3.75rem) 0 1rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}
.doc h2 .num { color: var(--accent); font-family: var(--sans); font-size: .55em; font-weight: 500; letter-spacing: .08em; margin-right: .6rem; vertical-align: .35em; }
.doc p, .doc li { color: var(--cream-dim); }
.doc p { margin: 0 0 1rem; }
.doc strong { color: var(--cream); font-weight: 500; }
.doc a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc ol, .doc ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.doc li { margin: .45rem 0; padding-left: .2rem; }
.doc li::marker { color: var(--muted); }

/* --- preguntas desplegables --- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem;
  padding: 1.15rem 0;
  font-size: 1.06rem; font-weight: 500; color: var(--cream); line-height: 1.4;
  transition: color .35s var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: .4rem;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  color: var(--accent);
  transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .resp { padding: 0 2.5rem 1.35rem 0; }
.faq .resp p:last-child { margin-bottom: 0; }

/* --- índice de los términos --- */
.indice {
  columns: 2 16rem; column-gap: 2.5rem;
  list-style: none; padding: 1.25rem 1.4rem !important; margin: 0 0 1rem !important;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
}
.indice li { margin: .2rem 0; padding: 0; break-inside: avoid; }
.indice a { color: var(--cream-dim) !important; text-decoration: none !important; font-size: .93rem; }
.indice a:hover { color: var(--accent) !important; }

.nota-caja {
  background: var(--bg-2); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0; padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.nota-caja p:last-child { margin-bottom: 0; }

/* --- botón "Compartir esta guía", al cerrar el artículo (ver compartir.js) --- */
.compartir { margin: 2.25rem 0 0; }

/* --- cierre con llamada a la acción --- */
.doc-cta {
  margin-top: clamp(3rem, 8vh, 4.5rem); padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
}
.doc-cta h2 { margin: 0 0 .35rem !important; font-size: clamp(1.4rem, 3vw, 1.8rem) !important; }
.doc-cta p { margin: 0 !important; }

@media (prefers-reduced-motion: reduce) {
  .faq summary::after { transition: none; }
}

/* =============================================================
   Páginas de servicio (video corporativo, eventos, redes)
   ============================================================= */
.srv { max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + clamp(2rem, 6vh, 4rem)) var(--gutter) clamp(3.5rem, 9vh, 6rem); }
.srv p, .srv li { color: var(--cream-dim); }
.srv strong { color: var(--cream); font-weight: 500; }
.srv a:not(.btn):not(.srv-tarjeta) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* encabezado: texto y foto lado a lado */
.srv-hero { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; padding-bottom: clamp(2.5rem, 7vh, 4.5rem); border-bottom: 1px solid var(--line); }
.srv-hero .doc-titulo { font-size: clamp(2.3rem, 5.4vw, 4.3rem); }
.srv-hero .doc-lead { margin-bottom: 1.75rem; }
.srv-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.srv-acciones .link-quiet { text-decoration: none !important; color: var(--cream-dim) !important; }
.srv-media { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.srv-media img, .srv-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.srv-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 5, 5, .55), transparent 45%); pointer-events: none; }
.srv-media figcaption { position: absolute; left: 1rem; bottom: .85rem; z-index: 1; font-size: .78rem; color: var(--cream-dim); letter-spacing: .02em; }
.srv-media.vertical { max-width: 340px; aspect-ratio: 9 / 16; justify-self: center; }
.srv-media.horizontal { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .srv-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .srv-media.horizontal { aspect-ratio: 4 / 5; }
}

/* secciones */
.srv-sec { padding-top: clamp(3rem, 8vh, 5rem); }
.srv-sec > h2 { font-size: clamp(1.8rem, 4.4vw, 2.8rem); margin: .6rem 0 .9rem; max-width: 36rem; }
.srv-intro { max-width: 42rem; margin-bottom: 1.75rem; font-size: 1.02rem; }

/* tarjetas */
.srv-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.srv-tarjeta { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 1.3rem 1.35rem; transition: border-color .4s var(--ease-out); }
.srv-tarjeta:hover { border-color: rgba(57, 255, 136, .35); }
.srv-tarjeta .n { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .14em; color: var(--accent); margin-bottom: .65rem; }
.srv-tarjeta h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 500; color: var(--cream); letter-spacing: 0; line-height: 1.3; margin-bottom: .45rem; }
.srv-tarjeta p { font-size: .94rem; margin: 0; }
a.srv-tarjeta { display: block; text-decoration: none; }
a.srv-tarjeta h3::after { content: " →"; color: var(--accent); }

/* lista con palomitas */
.srv-checks { list-style: none; padding: 0; display: grid; gap: .7rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.srv-checks li { position: relative; padding-left: 1.9rem; }
.srv-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--accent-dim); box-shadow: inset 0 0 0 1px rgba(57, 255, 136, .5); }
.srv-checks li::after { content: ""; position: absolute; left: .36rem; top: .52em; width: .32rem; height: .55rem; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ejemplos */
.srv-ejemplos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.srv-ejemplo { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.srv-ejemplo img, .srv-ejemplo video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.srv-ejemplo .cuerpo { padding: 1.1rem 1.25rem 1.3rem; }
.srv-ejemplo .tipo { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.srv-ejemplo h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--cream); margin: .35rem 0 .5rem; }
.srv-ejemplo p { font-size: .94rem; margin: 0 0 .6rem; }
.srv-ejemplo blockquote { margin: 0; font-family: var(--serif); font-style: italic; color: var(--cream); font-size: 1.02rem; line-height: 1.5; }
.srv-ejemplo .quien { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; font-size: .85rem; }
.srv-ejemplo .quien img { width: 40px; height: 40px; aspect-ratio: 1; border-radius: 50%; }
.srv-galeria { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.srv-galeria img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
@media (min-width: 720px) { .srv-galeria { grid-template-columns: repeat(4, 1fr); } }
.srv .logos { margin-top: 1.25rem; }
@media (min-width: 720px) { .srv .logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .srv .logos { grid-template-columns: repeat(6, 1fr); } }

/* pasos */
.srv-pasos { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: paso; }
.srv-pasos li { counter-increment: paso; border-top: 1px solid var(--line); padding-top: 1rem; }
.srv-pasos li::before { content: counter(paso, decimal-leading-zero); display: block; font-size: .78rem; font-weight: 500; letter-spacing: .1em; color: var(--accent); margin-bottom: .5rem; }
.srv-pasos h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; color: var(--cream); letter-spacing: 0; margin-bottom: .35rem; }
.srv-pasos p { font-size: .93rem; margin: 0; }

/* precio */
.srv-precio { display: grid; gap: 1.5rem 3rem; align-items: center; background: var(--bg-2); border: 1px solid rgba(57, 255, 136, .28); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 860px) { .srv-precio { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } }
.srv .srv-monto { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 114%; font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: .95; color: var(--cream); text-transform: uppercase; }
.srv-monto small { display: block; font-family: var(--sans); font-style: normal; font-weight: 400; font-stretch: 100%; font-size: .85rem; text-transform: none; letter-spacing: .02em; color: var(--muted); margin-top: .5rem; }
.srv-precio .eyebrow { display: block; margin-bottom: .6rem; }
.srv-precio .srv-checks { grid-template-columns: 1fr; }

/* video de YouTube que se carga al dar play */
.srv-video { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: pointer; overflow: hidden; }
.srv-video img, .srv-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; aspect-ratio: auto; }
.srv-video img { filter: brightness(.72); transition: transform 1s var(--ease-out), filter .5s var(--ease-out); }
.srv-video:hover img { transform: scale(1.03); filter: brightness(.85); }
.srv-play { position: absolute; inset: 0; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.srv-play span { width: 4.4rem; height: 4.4rem; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 34px -8px rgba(57, 255, 136, .6); position: relative; transition: transform .4s var(--ease-out); }
.srv-play span::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-left: 18px solid var(--bg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.srv-video:hover .srv-play span { transform: scale(1.08); }
.srv-video.activo img, .srv-video.activo .srv-play { display: none; }

/* video vertical: botón para verlo con sonido */
.srv-sonido { position: absolute; z-index: 2; right: .85rem; bottom: .75rem; padding: .5rem .95rem; border-radius: 100px; background: var(--accent); color: var(--bg); font-size: .8rem; font-weight: 500; box-shadow: 0 8px 26px -8px rgba(57, 255, 136, .55); }
.srv-media.activo::after, .srv-media.activo figcaption { display: none; }

/* =============================================================
   Trabaja con nosotros
   Portada con visor de cámara, tarjetas con foto por oficio,
   collage del set, logos y el formulario con sus pasos a un lado.
   ============================================================= */
.tcn {
  max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(1.5rem, 5vh, 3.5rem)) var(--gutter) clamp(3.5rem, 9vh, 6rem);
}
.tcn p, .tcn li { color: var(--cream-dim); }
.tcn strong { color: var(--cream); font-weight: 500; }
.tcn a:not(.btn):not(.link-quiet) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tcn .link-quiet { color: var(--cream-dim); }

/* --- portada --- */
.tcn-hero {
  display: grid; gap: clamp(2.25rem, 5vw, 4rem); align-items: center;
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}
@media (min-width: 900px) { .tcn-hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.tcn-hero .doc-titulo { font-size: clamp(2.9rem, 7.4vw, 6.2rem); margin-bottom: 1.4rem; }
.tcn-hero .doc-lead { max-width: 34rem; margin: 0 0 1.9rem; }
.tcn-chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tcn .tcn-chips li {
  font-size: .8rem; padding: .45rem .9rem; border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--line); color: var(--cream-dim);
}
.tcn-chips b { color: var(--accent); font-weight: 500; }

/* visor: el video de detrás de cámaras con encuadre, REC y código de tiempo */
.tcn-visor {
  position: relative; margin: 0; justify-self: center;
  width: min(100%, 360px); aspect-ratio: 9 / 16;
  border-radius: 20px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(0, 0, 0, .95), 0 0 140px -50px rgba(57, 255, 136, .45);
}
.tcn-visor video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 899px) { .tcn-visor { width: min(84%, 320px); } }
.tcn-visor::before {   /* esquinas del encuadre */
  content: ""; position: absolute; inset: 16px; z-index: 2; pointer-events: none; opacity: .9;
  --e: linear-gradient(var(--cream), var(--cream));
  background:
    var(--e) top left / 24px 2px no-repeat, var(--e) top left / 2px 24px no-repeat,
    var(--e) top right / 24px 2px no-repeat, var(--e) top right / 2px 24px no-repeat,
    var(--e) bottom left / 24px 2px no-repeat, var(--e) bottom left / 2px 24px no-repeat,
    var(--e) bottom right / 24px 2px no-repeat, var(--e) bottom right / 2px 24px no-repeat;
}
.tcn-visor::after {    /* sombra arriba y abajo para leer los textos */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6, 5, 5, .6), transparent 20%, transparent 72%, rgba(6, 5, 5, .85));
}
.tcn-rec, .tcn-tc {
  position: absolute; top: 30px; z-index: 3;
  font-size: .72rem; font-weight: 500; letter-spacing: .12em; color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.tcn-rec { left: 32px; display: flex; align-items: center; gap: .45rem; }
.tcn-rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF4D4D; box-shadow: 0 0 10px rgba(255, 77, 77, .8); animation: tcn-rec 1.2s steps(1) infinite; }
.tcn-tc { right: 32px; }
.tcn-visor figcaption { position: absolute; left: 32px; right: 32px; bottom: 30px; z-index: 3; font-size: .78rem; color: var(--cream-dim); }
@keyframes tcn-rec { 50% { opacity: .15; } }

/* --- secciones --- */
.tcn-sec { padding-top: clamp(3.5rem, 9vh, 6rem); }
.tcn-sec > .eyebrow, .tcn-asi .eyebrow, .tcn-postular-intro .eyebrow { display: block; margin-bottom: .85rem; }
.tcn-sec h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 0 0 1rem; max-width: 22ch; }
.tcn .tcn-intro { max-width: 42rem; margin: -.25rem 0 1.75rem; }

/* --- tarjetas por oficio --- */
.tcn-roles { display: grid; gap: 14px; margin-top: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tcn-rol {
  position: relative; overflow: hidden; border-radius: 18px;
  display: flex; flex-direction: column;
  background: var(--bg-2); box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .5s var(--ease-out);
}
/* la imagen arriba, completa: en Edición se ven la toma y sus subtítulos */
.tcn-rol-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.tcn-rol-media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; pointer-events: none;
  background: linear-gradient(to top, var(--bg-2), transparent);
}
.tcn-rol-media img, .tcn-rol-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.9);
  transition: transform 1.4s var(--ease-out), filter .6s var(--ease-out);
}
.tcn-rol-media video { object-position: 50% 12%; }
.tcn-rol-media .pos-camara { object-position: 60% 40%; }
.tcn-rol-media .pos-foto { object-position: 40% 50%; }
.tcn-rol-cuerpo { flex: 1; display: flex; flex-direction: column; padding: .4rem 1.45rem 1.55rem; }
.tcn-rol .n { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tcn-rol h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 1.95rem); color: var(--cream); letter-spacing: 0; margin: .45rem 0 .55rem; }
.tcn .tcn-rol p { font-size: .95rem; margin: 0 0 1.2rem; color: var(--cream-dim); max-width: 32ch; }
.tcn-tag {
  margin-top: auto; align-self: flex-start; font-size: .75rem; padding: .38rem .8rem; border-radius: 100px;
  background: var(--accent-dim); color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 136, .4);
}
@media (hover: hover) and (pointer: fine) {
  .tcn-rol:hover { box-shadow: 0 0 0 1px rgba(57, 255, 136, .45), 0 30px 60px -30px rgba(0, 0, 0, .9); }
  .tcn-rol:hover .tcn-rol-media img, .tcn-rol:hover .tcn-rol-media video { transform: scale(1.04); filter: saturate(1); }
}

/* --- cómo trabajamos --- */
.tcn-asi { display: grid; gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .tcn-asi { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.tcn-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tcn-collage img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 0 0 1px var(--line); }
.tcn-collage img:first-child { object-position: 30% 50%; }
.tcn-collage img:last-child { margin-top: clamp(2rem, 6vw, 4rem); object-position: 40% 50%; }
.tcn-puntos { grid-template-columns: 1fr !important; gap: 1rem !important; margin: 1.5rem 0 0; }
.tcn .tcn-puntos li { line-height: 1.6; }

/* --- logos --- */
.tcn-logos { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 720px) { .tcn-logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1040px) { .tcn-logos { grid-template-columns: repeat(6, 1fr); } }

/* --- formulario con sus pasos a un lado --- */
.tcn-postular { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 980px) {
  .tcn-postular { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
  .tcn-postular-intro { position: sticky; top: calc(var(--nav-h) + 2rem); }
}
.tcn-postular { scroll-margin-top: calc(var(--nav-h) - 2rem); }
.tcn-postular-intro > p { max-width: 30rem; }
.tcn-pasos { list-style: none; padding: 0; margin: 1.75rem 0 0; counter-reset: paso; display: grid; gap: 1.1rem; }
.tcn .tcn-pasos li { counter-increment: paso; position: relative; padding-left: 3rem; line-height: 1.55; }
.tcn-pasos li::before {
  content: counter(paso, decimal-leading-zero);
  position: absolute; left: 0; top: -.1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; display: grid; place-content: center;
  font-size: .72rem; font-weight: 500; letter-spacing: .06em; color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent-dim);
}
.tcn-firma { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.tcn-firma img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; box-shadow: 0 0 0 1px var(--line); }
.tcn .tcn-firma p { margin: 0; font-size: .88rem; line-height: 1.5; }

.tcn-form {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.35rem, 4vw, 2.25rem);
}
.fila-2 { display: grid; gap: 1.15rem; }
@media (min-width: 640px) { .fila-2 { grid-template-columns: 1fr 1fr; } }

.campo label .opc { text-transform: none; letter-spacing: 0; font-weight: 400; }
.tcn .campo .ayuda { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }

.campo select {
  width: 100%;
  padding: .85rem 2.6rem .85rem 1rem;
  font-family: var(--sans); font-size: .96rem; font-weight: 300;
  color: var(--cream);
  background: rgba(242, 239, 233, .028) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2339FF88' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 0; border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line);
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
  transition: box-shadow .4s var(--ease-out), background-color .4s var(--ease-out);
}
.campo select:hover { box-shadow: inset 0 0 0 1px rgba(242,239,233,.22); }
.campo select:focus {
  outline: none;
  background-color: rgba(242, 239, 233, .05);
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 22px -8px rgba(57, 255, 136, .45);
}
.campo select:invalid { color: var(--muted); }
.campo select option { background: var(--bg-2); color: var(--cream); }
.campo input::placeholder, .campo textarea::placeholder { color: var(--muted); opacity: .8; }
.campo [aria-invalid="true"] { box-shadow: inset 0 0 0 1px #FF8B7A; }

.tcn .form-legal { margin: 0; font-size: .82rem; color: var(--muted); }

.tcn-listo { outline: none; }
.tcn .tcn-listo h2 { margin: .6rem 0 .8rem; }
.tcn .tcn-listo h2 span { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .tcn-rec::before { animation: none; }
  .tcn-rol-media img, .tcn-rol-media video { transition: none; }
}

/* =============================================================
   Guías (/guias/): artículos que contestan una pregunta concreta.
   Usan el mismo .doc de Preguntas y Términos.
   ============================================================= */
.doc-autor { margin-top: 1.1rem; font-size: .84rem; color: var(--muted); }
.doc-autor strong { color: var(--cream-dim); }
.doc .srv-grid { margin: 1.25rem 0 1.5rem; }

/* tabla de dos columnas; en celular cada renglon se apila */
.doc-tabla { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; font-size: .95rem; }
.doc-tabla th, .doc-tabla td { text-align: left; vertical-align: top; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--line); }
.doc-tabla th { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.doc-tabla td:first-child { color: var(--cream); font-weight: 500; width: 38%; }
.doc-tabla td { color: var(--cream-dim); }
@media (max-width: 560px) {
  .doc-tabla thead { display: none; }
  .doc-tabla tr { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .doc-tabla td { display: block; width: auto !important; padding: 0; border: 0; }
  .doc-tabla td:first-child { margin-bottom: .3rem; }
}

/* listado de guías */
.guias-lista { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.guias-lista li { margin: 0; padding: 0; }

/* Titulos de guia: son preguntas largas y "GUADALAJARA?" no cabe a 2.4rem
   en un celular. Escala con el ancho para caber desde 320 px. */
.doc-titulo-largo { font-size: clamp(1.7rem, 8.4vw, 3.6rem); }
