/* DATYOR · Crear currículum gratis: formulario a la izquierda y vista previa del PDF a la derecha.
   Cuatro diseños (Ejecutivo, Elegante, Moderno y Clásico), con la foto enmarcada según el diseño. */

.cv-cabeza { padding-bottom: 6px; }
.cv-cabeza .cabeza__s { max-width: 660px; }

.cv { max-width: var(--ancho); margin: 0 auto; padding: 36px 20px 100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.cv__form { gap: 0; }
.cv__campos { display: grid; gap: 18px; }
.cv__aviso { font-size: 13px; color: var(--gris); }
.cv__ver { display: none; color: #0066cc; text-decoration: none; white-space: nowrap; }

/* Grupos numerados, con un toque de terminal */
.cv__grupo { margin: 0; padding: 22px 0 0; border: 0; border-top: 1px solid var(--borde); min-width: 0; }
.cv__grupo:first-of-type { padding-top: 4px; border-top: 0; }
.cv__grupo > * + * { margin-top: 14px; }
.cv__grupo legend { float: left; width: 100%; margin: 0 0 16px; padding: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.025em; color: var(--tinta); }
.cv__grupo legend + * { clear: both; margin-top: 0; }
.cv__n { margin-right: 10px; font: 600 13px/1 var(--mono); letter-spacing: 0; color: var(--verde); }
.cv__fila { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cv__pista { margin-top: 6px !important; font-size: 12.5px; color: var(--gris); }

/* ---------- Diseños: tarjetas con una miniatura de cada uno ---------- */
.cv__disenos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cv__diseno { position: relative; display: flex !important; flex-direction: column; align-items: stretch; gap: 0 !important; padding: 8px 8px 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--borde); cursor: pointer; transition: box-shadow .2s, transform .2s; }
.cv__diseno:hover { transform: translateY(-2px); }
.cv__diseno input { position: absolute; opacity: 0; width: 1px !important; height: 1px; padding: 0 !important; pointer-events: none; }
.cv__diseno:has(input:checked) { box-shadow: inset 0 0 0 2px var(--tinta), 0 10px 24px rgba(0, 0, 0, .08); }
.cv__diseno:has(input:focus-visible) { outline: 2px solid #0071e3; outline-offset: 3px; }
.cv__diseno > b { margin-top: 9px; font-size: 13.5px; font-weight: 600; letter-spacing: -0.015em; color: var(--tinta); }
.cv__diseno > small { margin-top: 2px; font-size: 11px; font-weight: 400; line-height: 1.3; color: var(--gris); }

/* Cada tarjeta lleva el diseño de verdad con un ejemplo (persona y datos inventados), en el color y
   la forma de foto elegidos: la misma hoja de 595 px que la vista previa, reducida al ancho de la tarjeta. */
.cv__mini { position: relative; display: block; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px #e6e6ea, 0 6px 14px rgba(0, 0, 0, .06); }
.cv__mini .hoja { pointer-events: none; }

/* Colores */
.cv__colores { display: flex; flex-wrap: wrap; gap: 10px; }
.cv__color { position: relative; display: inline-flex !important; align-items: center; gap: 9px !important; padding: 9px 16px 9px 10px; border-radius: 9999px; background: #fff; box-shadow: inset 0 0 0 1px var(--borde); font-size: 14px !important; font-weight: 500 !important; cursor: pointer; transition: box-shadow .2s; }
.cv__color input { position: absolute; opacity: 0; width: 1px !important; height: 1px; padding: 0 !important; pointer-events: none; }
.cv__muestra { width: 18px; height: 18px; border-radius: 50%; }
.cv__muestra--azul { background: #1d3c6e; } .cv__muestra--negro { background: linear-gradient(135deg, #111 50%, #fff 50%); box-shadow: inset 0 0 0 1px #111; } .cv__muestra--rosa { background: #efd9d6; box-shadow: inset 0 0 0 1px #d9b9b5; }
.cv__muestra--burdeos { background: #6b1d2e; } .cv__muestra--verde { background: #1f5f46; } .cv__muestra--champan { background: #efe5d3; box-shadow: inset 0 0 0 1px #d8c8ab; }
.cv__color:has(input:checked) { box-shadow: inset 0 0 0 2px var(--tinta); }
.cv__color input:checked + .cv__muestra { outline: 1px solid currentColor; outline-offset: 2px; }
.cv__color:has(input:focus-visible) { outline: 2px solid #0071e3; outline-offset: 3px; }

/* ---------- Tu foto: se sube, se arrastra para encuadrarla y se acerca con el zoom ---------- */
.cv__foto { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--borde); }
.cv__foto-marco { position: relative; flex: none; width: 112px; height: 112px; overflow: hidden; border-radius: 50%; background: var(--banda); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--borde); cursor: grab; touch-action: none; user-select: none; }
.cv__foto-marco:focus-visible { outline: 2px solid #0071e3; outline-offset: 6px; }
.cv__foto-marco.arrastrando { cursor: grabbing; }
.cv__foto-marco--cuadrada { border-radius: 16px; }
.cv__foto-marco--rectangular { width: 96px; height: 128px; border-radius: 12px; }
.cv__foto-marco img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cv__foto-vacia { position: absolute; inset: 0; display: grid; place-items: center; font: 600 12px/1.2 var(--mono); letter-spacing: 0; color: var(--gris); text-align: center; }
.cv__foto-vacia::before { content: ""; position: absolute; left: 50%; top: 26%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: #dcdce1; }
.cv__foto-vacia::after { content: ""; position: absolute; left: 50%; bottom: -14%; width: 66px; height: 54px; margin-left: -33px; border-radius: 50% 50% 0 0; background: #dcdce1; }
.cv__foto-vacia span { position: relative; z-index: 1; margin-top: 74px; display: none; }
.cv__foto-ctrl { display: grid; gap: 8px; min-width: 0; }
.cv__foto-t { font-size: 15px; font-weight: 600; color: var(--tinta); }
.cv__foto-ctrl .cv__pista { margin-top: 0 !important; }
.cv__foto-bts { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.cv__subir { display: inline-flex !important; gap: 6px !important; padding: 9px 16px !important; color: #fff !important; font-size: 14px !important; font-weight: 500 !important; cursor: pointer; }
.cv__subir:focus-within { outline: 2px solid #0071e3; outline-offset: 3px; }
.cv__formas { display: flex; flex-wrap: wrap; gap: 8px; }
.cv__forma { position: relative; display: inline-flex !important; align-items: center; gap: 7px !important; padding: 7px 12px 7px 9px; border-radius: 9999px; background: var(--banda); font-size: 12.5px !important; font-weight: 500 !important; cursor: pointer; transition: box-shadow .2s; }
.cv__forma input { position: absolute; opacity: 0; width: 1px !important; height: 1px; padding: 0 !important; pointer-events: none; }
.cv__forma:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 1.5px var(--tinta); }
.cv__forma:has(input:focus-visible) { outline: 2px solid #0071e3; outline-offset: 3px; }
.cv__forma-i { display: block; width: 14px; height: 14px; border: 1.5px solid currentColor; }
.cv__forma-i--redonda { border-radius: 50%; }
.cv__forma-i--cuadrada { border-radius: 3px; }
.cv__forma-i--rectangular { width: 11px; height: 15px; border-radius: 2px; }
.cv__zoom { display: flex !important; align-items: center; gap: 10px !important; font-size: 12.5px !important; font-weight: 500 !important; color: var(--gris) !important; }
.cv__zoom[hidden] { display: none !important; }
.cv__zoom input { flex: 1; min-width: 0; height: 20px; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; -webkit-appearance: auto !important; appearance: auto !important; accent-color: var(--tinta); }

/* Qué buscas: áreas de interés y disponibilidad, como píldoras que se marcan */
.cv__sub { font-size: 14px; font-weight: 600; color: var(--tinta); }
.cv__sub .opcional { font-size: 12.5px; }
.cv__opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.cv__opcion { position: relative; display: inline-flex !important; gap: 0 !important; cursor: pointer; }
.cv__opcion input { position: absolute; opacity: 0; width: 1px !important; height: 1px; padding: 0 !important; pointer-events: none; }
.cv__opcion span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 9999px; background: #fff; box-shadow: inset 0 0 0 1px var(--borde); font-size: 13px; font-weight: 500; color: var(--tinta); transition: background .15s, box-shadow .15s, color .15s; }
.cv__opcion:hover span { box-shadow: inset 0 0 0 1px var(--contorno); }
.cv__opcion input:checked + span { background: var(--tinta); box-shadow: none; color: #fff; }
.cv__opcion input:checked + span::before { content: "✓"; font-size: 11px; }
.cv__opcion input:focus-visible + span { outline: 2px solid #0071e3; outline-offset: 2px; }

/* Experiencias, estudios e idiomas que se añaden y se quitan */
.cv__lista { display: grid; gap: 12px; }
.cv__lista:empty { display: none; }
.cv__item { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--borde); border-radius: 18px; background: #fff; }
.cv__item input, .cv__item textarea, .cv__item select { background: var(--banda) !important; border-color: transparent !important; }
.cv__item input:focus, .cv__item textarea:focus, .cv__item select:focus { background: #fff !important; border-color: var(--tinta) !important; }
.cv__item-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cv__item-n { font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: lowercase; color: var(--gris); }
.cv__item-n::after { content: "_"; color: var(--verde); }
.cv__quitar { border: 0; padding: 6px 2px; background: none; font: 500 13px/1 "Inter", -apple-system, "Segoe UI", Arial, sans-serif; color: var(--gris); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cv__quitar:hover { color: #b3261e; }
.cv__item--idioma { grid-template-columns: minmax(0, 1fr) 150px auto; align-items: end; padding: 12px 14px; }
.cv__item--idioma .cv__quitar { padding-bottom: 14px; }
.cv__anadir { width: 100%; padding: 13px 16px; border: 1px dashed var(--contorno); border-radius: 14px; background: transparent; font: 500 15px/1.2 "Inter", -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: -0.01em; color: var(--tinta); cursor: pointer; transition: background .2s, border-color .2s; }
.cv__anadir:hover { background: #fff; border-color: var(--tinta); }

.cv__form .casilla + .casilla { margin-top: -6px; }
.cv__form .formulario__nota .enlace-boton { font-size: 12px; }
#cv-hecho .pill { background: var(--tinta); color: #fff; }
#cv-hecho .pill:hover { background: #000; }

/* ---------- Vista previa: la hoja A4 a tamaño real (595 × 842 px = puntos del PDF), escalada ---------- */
.cv__vista { position: sticky; top: 76px; }
.cv__papel { position: relative; margin: 0 auto; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 18px 50px rgba(0, 0, 0, .12); }
.cv__papel.con-scroll { overflow-y: auto; overscroll-behavior: contain; }
/* Mientras no ha escrito nada, la vista previa enseña el ejemplo del diseño elegido. */
.cv__sello { position: absolute; z-index: 2; top: 12px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 9999px; background: rgba(29, 29, 31, .86); color: #fff; font: 500 11.5px/1.2 var(--mono); letter-spacing: 0; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); pointer-events: none; }
.cv__sello[hidden] { display: none; }
.cv__info { margin-top: 14px; text-align: center; font: 500 12px/1.4 var(--mono); letter-spacing: 0; color: var(--gris); }

/* Común a los cuatro diseños */
.hoja { --acento: #1d3c6e; --fondo: #1d3c6e; --tinta: #fff; --adorno: #a8844e; position: absolute; top: 0; left: 0; width: 595px; min-height: 842px; transform-origin: 0 0; background: #fff; color: #3a3a3f; font: 400 9.8px/14px Helvetica, Arial, sans-serif; letter-spacing: 0; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
.hoja p { margin: 0; }
.hoja__nombre { font-size: 25px; line-height: 28px; font-weight: 700; color: #1d1d1f; }
.hoja__puesto { margin-top: 3px !important; font-size: 12.5px; line-height: 16px; color: var(--acento); }
.hoja__contacto { margin-top: 5px !important; font-size: 9px; line-height: 13px; color: #6e6e73; }
.hoja__raya { margin: 12px 0 0; border: 0; border-top: .8px solid #dcdce1; }
.hoja__sec { margin-top: 14px; }
.hoja__h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px !important; font-size: 9px; line-height: 12px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: var(--acento); }
.hoja__h::after { content: ""; flex: 1; height: .6px; background: #dcdce1; }
.hoja__p { color: #3a3a3f; }
.hoja__vineta { position: relative; padding-left: 11px; }
.hoja__vineta::before { content: "•"; position: absolute; left: 1px; color: var(--acento); }
.hoja__item { margin-top: 6px; }
.hoja__item + .hoja__item { margin-top: 9px; }
.hoja__fila { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.hoja__titulo { font-size: 10.8px; line-height: 13.5px; font-weight: 700; color: #1d1d1f; }
.hoja__fechas { flex: none; font-size: 9px; color: #6e6e73; }
.hoja__sub { font-size: 9.8px; line-height: 13.5px; color: #515154; }
.hoja__item .hoja__p, .hoja__item .hoja__vineta { font-size: 9.6px; line-height: 13.6px; }
.hoja__item .hoja__sub + .hoja__p, .hoja__item .hoja__sub + .hoja__vineta { margin-top: 2px; }
.hoja__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hoja__chip { padding: 0 7px; height: 17px; border-radius: 8.5px; background: #f1f1f4; font-size: 9px; line-height: 17px; color: #1d1d1f; white-space: nowrap; }
.hoja__idiomas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px 0; margin-top: 4px; }
.hoja__idioma b { display: block; font-size: 10px; line-height: 13px; color: #1d1d1f; }
.hoja__nivel { display: block; font-size: 9px; line-height: 12px; color: #6e6e73; }
.hoja__contacto span { white-space: nowrap; }
.hoja__puntos, .hoja__barra { display: none; }
.hoja__foto { overflow: hidden; border-radius: 50%; }
.hoja__foto--cuadrada { border-radius: 9%; }
.hoja__foto--rectangular { border-radius: 7%; }
.hoja__foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hoja__orn { display: none; }
.hoja__checks { display: grid; gap: 1px; margin-top: 2px; }
.hoja__check { position: relative; padding-left: 11px; }
.hoja__check::before { content: ""; position: absolute; left: 1.4px; top: 2.6px; width: 2.6px; height: 5.4px; border: solid var(--marca, var(--acento)); border-width: 0 1.15px 1.15px 0; transform: rotate(40deg); }
.hoja__horario b { font-weight: 700; color: inherit; }
.hoja__chips--interes .hoja__chip { background: color-mix(in srgb, var(--acento) 10%, #fff); color: color-mix(in srgb, var(--acento) 90%, #000); }
.hoja__vacio { color: #c4c4ca !important; }
.hoja__pista { margin-top: 22px !important; padding: 22px 18px; border: 1px dashed #dcdce1; border-radius: 8px; font-size: 10.5px; line-height: 15px; color: #a1a1a6; text-align: center; }
.hoja__pie { position: absolute; left: 54px; right: 54px; bottom: 25px; font-size: 7.5px; line-height: 10px; color: #a1a1a6; }

/* Clásico: una columna; la foto arriba a la derecha con aro del color */
.hoja--clasico { padding: 60px 54px 62px; }
.hoja--clasico::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--fondo); }
.hoja--clasico .hoja__checks { grid-template-columns: repeat(3, 1fr); }
.hoja--clasico .hoja__foto.hoja__foto--rectangular { width: 69px; height: 92px; }
.hoja--clasico .hoja__cabecera { display: flow-root; }
.hoja--clasico .hoja__foto { float: right; width: 80px; height: 80px; margin: -6px 4px 0 24px; box-shadow: 0 0 0 2.8px #fff, 0 0 0 4px var(--acento); }

/* Ejecutivo: columna lateral de color, foto en doble aro y línea de tiempo */
.hoja--ejecutivo { display: grid; grid-template-columns: 196px minmax(0, 1fr); }
.hoja--ejecutivo .hoja__lateral { --marca: var(--tinta); padding: 54px 26px 40px; background: var(--fondo); color: var(--tinta); }
.hoja--ejecutivo .hoja__foto { width: 116px; height: 116px; margin: 0 auto 6px; box-shadow: 0 0 0 4px #fff, 0 0 0 9px var(--fondo), 0 0 0 9.8px color-mix(in srgb, var(--fondo), var(--tinta) 45%); }
.hoja--ejecutivo .hoja__foto.hoja__foto--rectangular { width: 100px; height: 133px; }
.hoja--ejecutivo .hoja__foto--ini { display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--fondo), var(--tinta) 20%); font-size: 34px; font-weight: 700; letter-spacing: 1px; color: var(--tinta); }
.hoja--ejecutivo .hoja__lateral .hoja__check, .hoja--ejecutivo .hoja__lateral .hoja__horario { font-size: 8.5px; line-height: 13.2px; color: color-mix(in srgb, var(--fondo), var(--tinta) 90%); }
.hoja--ejecutivo .hoja__lateral .hoja__horario b { color: var(--tinta); }
.hoja--ejecutivo .hoja__lateral .hoja__sec { margin-top: 18px; }
.hoja--ejecutivo .hoja__lateral .hoja__h { display: block; margin-bottom: 6px !important; padding-bottom: 6px; border-bottom: .6px solid color-mix(in srgb, var(--fondo), var(--tinta) 35%); font-size: 8.5px; letter-spacing: 1.6px; color: var(--tinta); }
.hoja--ejecutivo .hoja__lateral .hoja__h::after { display: none; }
.hoja--ejecutivo .hoja__lateral .hoja__p { margin-top: 4px; font-size: 8.6px; line-height: 12.4px; color: color-mix(in srgb, var(--fondo), var(--tinta) 86%); }
.hoja--ejecutivo .hoja__lateral .hoja__chips { gap: 5px; }
.hoja--ejecutivo .hoja__lateral .hoja__chip { height: 16px; padding: 0 6.5px; line-height: 16px; font-size: 8.2px; background: color-mix(in srgb, var(--fondo), var(--tinta) 15%); color: var(--tinta); }
.hoja--ejecutivo .hoja__idiomas { grid-template-columns: 1fr; gap: 6px; }
.hoja--ejecutivo .hoja__idioma { display: grid; grid-template-columns: 1fr auto; align-items: center; }
.hoja--ejecutivo .hoja__idioma b { grid-column: 1; grid-row: 1; font-size: 9.2px; color: var(--tinta); }
.hoja--ejecutivo .hoja__nivel { grid-column: 1; grid-row: 2; font-size: 7.8px; line-height: 10px; color: color-mix(in srgb, var(--fondo), var(--tinta) 70%); }
.hoja--ejecutivo .hoja__puntos { display: flex; gap: 2.8px; grid-column: 2; grid-row: 1; }
.hoja--ejecutivo .hoja__puntos i { width: 5.2px; height: 5.2px; border-radius: 50%; background: color-mix(in srgb, var(--fondo), var(--tinta) 30%); }
.hoja--ejecutivo .hoja__puntos i.si { background: var(--tinta); }
.hoja--ejecutivo .hoja__principal { padding: 62px 46px 60px 30px; }
.hoja--ejecutivo .hoja__nombre { font-size: 28px; line-height: 31px; }
.hoja--ejecutivo .hoja__puesto { margin-top: 5px !important; font-size: 9.6px; line-height: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
.hoja--ejecutivo .hoja__principal .hoja__raya { width: 34px; margin-top: 11px; border-top: 2.2px solid var(--acento); }
.hoja--ejecutivo .hoja__principal .hoja__sec { margin-top: 20px; }
.hoja--ejecutivo .hoja__principal .hoja__h { display: block; margin-bottom: 6px !important; font-size: 10.5px; letter-spacing: 1.4px; color: #1d1d1f; }
.hoja--ejecutivo .hoja__principal .hoja__h::after { content: ""; display: block; width: 24px; height: 1.8px; margin-top: 5px; background: var(--acento); }
.hoja--ejecutivo .hoja__principal .hoja__p { font-size: 9.6px; }
.hoja--ejecutivo .hoja__item { position: relative; padding-left: 16px; }
.hoja--ejecutivo .hoja__item::before { content: ""; position: absolute; left: .7px; top: 2px; width: 6.6px; height: 6.6px; border: 1.3px solid var(--acento); border-radius: 50%; background: #fff; box-sizing: border-box; }
.hoja--ejecutivo .hoja__item::after { content: ""; position: absolute; left: 3.6px; top: 11px; bottom: -11px; width: .8px; background: #dcdce1; }
.hoja--ejecutivo .hoja__item:last-child::after { display: none; }
.hoja--ejecutivo .hoja__item + .hoja__item { margin-top: 12px; }
.hoja--ejecutivo .hoja__fila { flex-direction: column-reverse; align-items: flex-start; gap: 1px; }
.hoja--ejecutivo .hoja__fechas { font-size: 7.8px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--acento); }
.hoja--ejecutivo .hoja__titulo { font-size: 10.6px; }
.hoja--ejecutivo .hoja__sub { font-size: 9.3px; line-height: 13px; }
.hoja--ejecutivo .hoja__item .hoja__p, .hoja--ejecutivo .hoja__item .hoja__vineta { font-size: 9.3px; line-height: 13.4px; }
.hoja--ejecutivo .hoja__pie { left: 226px; right: 46px; }

/* Moderno: cabecera de color con la foto enmarcada en blanco */
.hoja--moderno .hoja__cabecera { display: flex; align-items: flex-start; gap: 26px; min-height: 150px; padding: 36px 54px 30px; background: var(--fondo); color: var(--tinta); }
.hoja--moderno .hoja__foto { flex: none; width: 112px; height: 112px; padding: 4px; border-radius: 50%; background: #fff; }
.hoja--moderno .hoja__foto img { border-radius: 50%; }
.hoja--moderno .hoja__foto--cuadrada { border-radius: 13px; }
.hoja--moderno .hoja__foto--cuadrada img { border-radius: 9.5px; }
.hoja--moderno .hoja__foto--rectangular { width: 97px; height: 127px; border-radius: 10px; }
.hoja--moderno .hoja__foto--rectangular img { border-radius: 6.5px; }
.hoja--moderno .hoja__texto { padding-top: 12px; }
.hoja--moderno .hoja__nombre { font-size: 27px; line-height: 30px; color: var(--tinta); }
.hoja--moderno .hoja__puesto { margin-top: 5px !important; font-size: 9.6px; line-height: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: color-mix(in srgb, var(--fondo), var(--tinta) 72%); }
.hoja--moderno .hoja__contacto { margin-top: 7px !important; font-size: 8.8px; line-height: 12.6px; color: color-mix(in srgb, var(--fondo), var(--tinta) 86%); }
.hoja--moderno .hoja__chips--interes .hoja__chip { background: var(--acento); color: #fff; }
.hoja--moderno .hoja__check, .hoja--moderno .hoja__horario { font-size: 8.6px; line-height: 13.4px; }
.hoja--moderno .hoja__cuerpo { display: grid; grid-template-columns: 318px minmax(0, 1fr); gap: 24px; padding: 0 54px 62px; }
.hoja--moderno .hoja__cuerpo--solo { grid-template-columns: 1fr; }
.hoja--moderno .hoja__sec { margin-top: 18px; }
.hoja--moderno .hoja__h { display: block; margin-bottom: 4px !important; padding-bottom: 6px; border-bottom: .7px solid #dcdce1; font-size: 9.8px; letter-spacing: 1.3px; }
.hoja--moderno .hoja__h::after { display: none; }
.hoja--moderno .hoja__chips { gap: 5px; }
.hoja--moderno .hoja__chip { height: 16px; padding: 0 6.5px; line-height: 16px; font-size: 8.4px; background: color-mix(in srgb, var(--acento) 12%, #fff); color: color-mix(in srgb, var(--acento) 85%, #000); }
.hoja--moderno .hoja__idiomas { grid-template-columns: 1fr; gap: 8px; margin-top: 6px; }
.hoja--moderno .hoja__idioma { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 4px; }
.hoja--moderno .hoja__idioma b { font-size: 9.4px; }
.hoja--moderno .hoja__nivel { font-size: 8px; text-align: right; }
.hoja--moderno .hoja__barra { display: block; grid-column: 1 / -1; height: 4px; border-radius: 2px; background: #ececf0; }
.hoja--moderno .hoja__barra i { display: block; height: 100%; border-radius: 2px; background: var(--acento); }

/* Elegante: letra con serifa, marco dorado y todo centrado arriba */
.hoja--elegante { padding: 50px 54px 72px; font-family: "Times New Roman", Times, serif; }
.hoja--elegante::before { content: ""; position: absolute; inset: 22px; border: .9px solid var(--adorno); pointer-events: none; }
.hoja--elegante::after { content: ""; position: absolute; inset: 26.5px; border: .35px solid var(--adorno); pointer-events: none; }
.hoja--elegante .hoja__foto.hoja__foto--rectangular { width: 72px; height: 96px; }
.hoja--elegante .hoja__chips--interes .hoja__chip { background: none; color: #1d1d1f; font-weight: 700; }
.hoja--elegante .hoja__checks { display: block; margin-top: 1px; font-size: 10.6px; line-height: 15.4px; }
.hoja--elegante .hoja__check { display: inline; padding: 0; white-space: nowrap; }
.hoja--elegante .hoja__check::before { display: none; }
.hoja--elegante .hoja__check:not(:last-child)::after { content: "·"; margin: 0 6px; }
.hoja--elegante .hoja__horario { font-size: 10.6px; line-height: 15.4px; }
.hoja--elegante .hoja__cabecera { text-align: center; }
.hoja--elegante .hoja__foto { width: 84px; height: 84px; margin: 10px auto 0; box-shadow: 0 0 0 2.7px #fff, 0 0 0 4px var(--adorno), 0 0 0 7.8px #fff, 0 0 0 8.3px var(--adorno); }
.hoja--elegante .hoja__nombre { margin-top: 20px; font-size: 25px; line-height: 29px; letter-spacing: 2.4px; text-transform: uppercase; }
.hoja--elegante .hoja__puesto { margin-top: 6px !important; font: 400 8.8px/12px Helvetica, Arial, sans-serif; letter-spacing: 2.6px; text-transform: uppercase; color: var(--adorno); }
.hoja--elegante .hoja__orn { display: block; position: relative; width: 92px; height: 4px; margin: 9px auto 0; }
.hoja--elegante .hoja__orn::before { content: ""; position: absolute; left: 0; right: 0; top: 1.5px; height: 1px; background: linear-gradient(90deg, var(--adorno) 0 41%, transparent 41% 59%, var(--adorno) 59%); }
.hoja--elegante .hoja__orn::after { content: ""; position: absolute; left: 44px; top: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--adorno); }
.hoja--elegante .hoja__contacto { margin-top: 8px !important; font-size: 9.8px; line-height: 13px; color: #6e6e73; }
.hoja--elegante .hoja__sec { display: grid; grid-template-columns: 132px minmax(0, 1fr); margin-top: 13px; padding-top: 5px; border-top: .5px solid var(--adorno); }
.hoja--elegante .hoja__h { display: block; margin: 8px 0 0 !important; font-size: 9.6px; letter-spacing: 1.5px; font-weight: 700; color: var(--acento); }
.hoja--elegante .hoja__h::after { display: none; }
.hoja--elegante .hoja__cont > :first-child { margin-top: 2px; }
.hoja--elegante .hoja__p, .hoja--elegante .hoja__vineta { font-size: 10.6px; line-height: 14.8px; }
.hoja--elegante .hoja__vineta::before { color: var(--adorno); }
.hoja--elegante .hoja__titulo { font-size: 11.2px; line-height: 14px; }
.hoja--elegante .hoja__fechas { font: 400 8.2px/12px Helvetica, Arial, sans-serif; color: var(--adorno); }
.hoja--elegante .hoja__sub { font-size: 10.2px; }
.hoja--elegante .hoja__item .hoja__p, .hoja--elegante .hoja__item .hoja__vineta { font-size: 10.2px; line-height: 14.2px; }
.hoja--elegante .hoja__chips { display: block; margin-top: 1px; font-size: 10.6px; line-height: 15.4px; }
.hoja--elegante .hoja__chip { display: inline; height: auto; padding: 0; background: none; font-size: inherit; line-height: inherit; color: #3a3a3f; white-space: nowrap; }
.hoja--elegante .hoja__chip:not(:last-child)::after { content: "·"; margin: 0 6px; }
.hoja--elegante .hoja__idiomas { grid-template-columns: 1fr 1fr; gap: 1px 0; margin-top: 1px; }
.hoja--elegante .hoja__idioma { font-size: 10.6px; line-height: 15.4px; }
.hoja--elegante .hoja__idioma b, .hoja--elegante .hoja__nivel { display: inline; font-size: 10.6px; line-height: 15.4px; }
.hoja--elegante .hoja__nivel::before { content: " — "; }
.hoja--elegante .hoja__pie { bottom: 33px; text-align: center; font-size: 7px; }

/* ---------- Debajo: pasos, consejos y preguntas ---------- */
.pasos--tres { grid-template-columns: repeat(3, 1fr); }
.cv-pasos { padding-top: 20px; }

@media (max-width: 1060px) {
  .cv__disenos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .cv { grid-template-columns: 1fr; gap: 32px; padding-bottom: 80px; }
  .cv__vista { position: relative; top: 0; }
  .cv__ver { display: inline; }
  .pasos--tres { grid-template-columns: 1fr; }
  .cv__disenos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .cv { padding-top: 24px; }
  .cv__form { padding: 22px 16px; }
  .cv__item { padding: 14px 12px; }
  .cv__fila:not(.cv__fila--fija) { grid-template-columns: 1fr; }
  .cv__item--idioma { grid-template-columns: minmax(0, 1fr) 118px; }
  .cv__item--idioma .cv__quitar { grid-column: 1 / -1; justify-self: end; padding: 0 2px; }
  .cv__disenos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv__foto { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .cv__diseno { transition: none; } .cv__diseno:hover { transform: none; } }
