/* Compra y venta (rubro "compraventa"): landing, formulario por pasos y estado de la solicitud. Se dibuja en #cv-app y deja #app oculto. */
.cv { --ink: #0B2545; --card: #fff; --nav: rgba(255, 255, 255, .94); --navy: #0B2545; --blue: #1760B8; --steel: #5B6B82; --bg: #F2F5F9; --line: #D9E1EC; --ease: cubic-bezier(.23, 1, .32, 1);
  min-height: 100dvh; background: var(--bg); color: var(--ink); font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.cv *, .cv *::before, .cv *::after { box-sizing: border-box; }
:where(.cv) :is(h1, h2, h3, h4, p) { margin: 0; font-family: inherit; color: inherit; }
:where(.cv) button { font: inherit; cursor: pointer; }
:where(.cv) a { color: inherit; text-decoration: none; }
:where(.cv) [hidden] { display: none !important; }
.cv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform 160ms var(--ease), background-color 160ms ease; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.cv-btn:active { transform: scale(.97); }
.cv-btn:focus-visible, .cv-in:focus-visible, .cv-sw:focus-visible { outline: 3px solid rgba(23, 96, 184, .35); outline-offset: 2px; }
.cv-bp { background: var(--blue); color: #fff; }
.cv-bg { background: var(--card); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--line); }
.cv-bn { background: var(--navy); color: #fff; }
.cv-btn:disabled { opacity: .6; cursor: default; }
@media (hover: hover) and (pointer: fine) { .cv-bp:hover { background: #124F98; } .cv-bg:hover { background: #F7FAFE; } }

/* Barra superior */
.cv-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; padding: 6px 64px; background: var(--nav); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cv-marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.cv-marca img { height: 64px; width: 64px; object-fit: contain; }
.cv-links { display: flex; gap: 34px; font-weight: 600; font-size: 15px; color: var(--steel); }
.cv-links a { padding: 8px 0; transition: color 160ms ease; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .cv-links a:hover { color: var(--ink); } }
.cv-nav .cv-btn { height: 46px; }

/* Portada */
.cv-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; max-width: 1360px; margin: 0 auto; padding: 56px 64px 70px; }
.cv-h1 { font-size: 58px; line-height: 1.04; letter-spacing: -.035em; font-weight: 800; max-width: 13ch; }
.cv-bienv { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 46ch; margin: 0 0 18px; padding: 10px 16px; border-radius: 16px; background: #E4EEFB; color: #0F4C8A; font-weight: 600; font-size: 14.5px; line-height: 1.45; }
.cv-bienv svg { flex: none; margin-top: 1px; }
.cv[data-tema="dark"] .cv-bienv { background: #132C52; color: #9CC7FA; }
.cv-sub { font-size: 19px; line-height: 1.55; color: var(--steel); margin: 22px 0 32px; max-width: 42ch; }
.cv-ctas { display: flex; gap: 12px; }
.cv-art { position: relative; background: #fff; border-radius: 32px; padding: 20px 20px 120px; box-shadow: 0 30px 60px -34px rgba(11, 37, 69, .35), 0 0 0 1px var(--line); }
.cv-art-nom { color: #0B2545; }
.cv-art-img { display: grid; place-items: center; min-height: 360px; }
.cv-art-img img { width: 100%; max-height: 440px; object-fit: contain; display: block; }
.cv-art-nom { font-size: 40px; font-weight: 800; letter-spacing: -.03em; text-align: center; padding: 0 20px; }
.cv-pl { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; background: var(--navy); color: #fff; }
.cv-pl > div:first-child { flex: 1; min-width: 0; }
.cv-pl b { display: block; font-size: 16px; }
.cv-pl span { font-size: 13px; color: #A9BAD6; }
.cv-pl form { display: flex; gap: 8px; align-items: center; }
.cv-pl input { width: 132px; height: 46px; border: 0; border-radius: 12px; padding: 0 14px; font: 800 20px 'Barlow Condensed', 'Plus Jakarta Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #0B2545; background: #fff; }
.cv-pl input::placeholder { color: #8B99B2; }
.cv-pl .cv-btn { height: 46px; padding: 0 20px; }

.cv-sec { max-width: 1360px; margin: 0 auto; padding: 30px 64px 56px; }
.cv-sec h2 { font-size: 36px; letter-spacing: -.03em; font-weight: 800; margin-bottom: 30px; }
.cv-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--navy); }
.cv-st { padding: 24px 28px 0 0; }
.cv-st b { display: block; font-size: 44px; font-weight: 800; color: var(--blue); letter-spacing: -.04em; margin-bottom: 8px; }
.cv-st h4 { font-size: 19px; margin-bottom: 8px; }
.cv-st p { font-size: 15px; line-height: 1.55; color: var(--steel); max-width: 30ch; }
.cv-casos { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-casos span { padding: 12px 18px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 15px; }
.cv-band { max-width: 1232px; margin: 10px auto 56px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; padding: 42px 52px; border-radius: 32px; background: var(--navy); color: #fff; }
.cv-band h2 { font-size: 30px; letter-spacing: -.03em; margin-bottom: 6px; }
.cv-band p { color: #A9BAD6; }
.cv-bar { display: flex; gap: 10px; align-items: center; width: 460px; padding: 7px 7px 7px 24px; border-radius: 999px; background: #fff; }
.cv-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 800 22px 'Barlow Condensed', 'Plus Jakarta Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #0B2545; }
.cv-bar input::placeholder { color: #8B99B2; }
.cv-foot { display: flex; justify-content: space-between; gap: 16px; max-width: 1360px; margin: 0 auto; padding: 20px 64px 36px; color: var(--steel); font-size: 14px; font-weight: 500; }

/* Placa */
.cv-placa { display: inline-flex; flex-direction: column; align-items: center; overflow: hidden; line-height: 1; border: 2px solid #1b1f2a; border-radius: 8px; background: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.cv-placa i { display: block; width: 100%; padding: 2.5px 0; background: #1d4fa8; color: #fff; font: 700 7px Inter, sans-serif; font-style: normal; letter-spacing: .14em; text-align: center; }
.cv-placa b { padding: 3px 12px 4px; font: 800 30px 'Barlow Condensed', sans-serif; letter-spacing: .06em; color: #1b1f2a; }
.cv-placa.g { transform: scale(1.35); transform-origin: center; margin: 8px 0; }

/* Formulario por pasos */
.cv-wrap { display: grid; grid-template-columns: 400px 1fr; min-height: 100dvh; }
.cv-side { display: flex; flex-direction: column; padding: 34px 40px; background: var(--navy); color: #fff; position: sticky; top: 0; height: 100dvh; }
.cv-chip { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 34px; border-radius: 18px; background: #fff; }
.cv-chip img { width: 80px; max-height: 80px; object-fit: contain; }
.cv-chip b { font-size: 12px; text-align: center; padding: 4px; line-height: 1.15; }
.cv-side h2 { font-size: 32px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin-bottom: 10px; }
.cv-side > p { color: #A9BAD6; line-height: 1.55; font-size: 15.5px; margin-bottom: 34px; }
.cv-sl { display: flex; flex-direction: column; gap: 6px; }
.cv-sl div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; font-weight: 600; color: #8FA3C4; }
.cv-sl i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-style: normal; font-size: 14px; font-weight: 700; box-shadow: inset 0 0 0 2px #3A5278; }
.cv-sl .on { background: rgba(255, 255, 255, .1); color: #fff; }
.cv-sl .on i { background: #fff; color: #0B2545; box-shadow: none; }
.cv-sl .ok { color: #C9D6EC; }
.cv-sl .ok i { background: #2E7BD6; color: #fff; box-shadow: none; }
.cv-side .cv-volver { margin-top: auto; color: #A9BAD6; font-weight: 600; font-size: 14px; background: none; border: 0; text-align: left; padding: 8px 0; }
.cv-main { display: flex; align-items: flex-start; justify-content: center; padding: 44px 56px; }
.cv-card { width: 100%; max-width: 640px; padding: 36px 38px; border-radius: 30px; background: var(--card); box-shadow: 0 30px 60px -36px rgba(11, 37, 69, .4), 0 0 0 1px var(--line); }
.cv-prog { display: flex; gap: 6px; margin-bottom: 22px; }
.cv-prog i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); transition: background-color 240ms ease; }
.cv-prog i.on { background: var(--blue); }
.cv-k { font-size: 13px; font-weight: 700; color: var(--blue); }
.cv-card h1 { font-size: 34px; letter-spacing: -.035em; font-weight: 800; margin: 6px 0 8px; }
.cv-lead { color: var(--steel); font-size: 16px; line-height: 1.5; margin-bottom: 24px; }
.cv-campo { margin-bottom: 16px; }
.cv-campo label { display: block; margin: 0 0 7px; font-weight: 600; font-size: 13.5px; color: var(--ink); }
.cv-in { display: block; width: 100%; height: 54px; padding: 0 16px; border: 1.5px solid #CBD5E3; border-radius: 14px; background: var(--card); color: var(--ink); font: 500 16px 'Plus Jakarta Sans', sans-serif; transition: border-color 160ms ease, box-shadow 160ms ease; }
textarea.cv-in { height: 112px; padding: 14px 16px; line-height: 1.45; resize: vertical; }
.cv-in:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 96, 184, .14); }
.cv-in[aria-invalid="true"] { border-color: #C23B3B; }
.cv-err { margin-top: 6px; font-size: 13px; color: #B03030; font-weight: 600; }
.cv-hint { margin-top: 6px; font-size: 13px; color: var(--steel); }
.cv-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cv-peso { position: relative; }
.cv-peso b { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--steel); pointer-events: none; }
.cv-peso .cv-in { padding-left: 34px; font-variant-numeric: tabular-nums; }
.cv-platebox { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; padding: 22px; border-radius: 20px; background: var(--bg); }
.cv-platebox input { width: 100%; max-width: 280px; height: 58px; border: 1.5px solid #CBD5E3; border-radius: 14px; text-align: center; font: 800 28px 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--card); }
.cv-platebox input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 96, 184, .14); }
.cv-fotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.cv-foto, .cv-add { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; }
.cv-foto img { width: 100%; height: 100%; object-fit: cover; display: block; animation: cvIn 240ms var(--ease); }
.cv-foto button { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(11, 37, 69, .78); color: #fff; font-size: 16px; line-height: 1; }
.cv-add { display: grid; place-items: center; border: 2px dashed #7FA6D9; color: var(--blue); font-weight: 600; font-size: 12.5px; text-align: center; background: none; width: 100%; }
.cv-add svg { display: block; margin: 0 auto 4px; }
.cv-sw { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin-bottom: 12px; padding: 16px; border: 1.5px solid #CBD5E3; border-radius: 16px; background: var(--card); text-align: left; color: var(--ink); transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease); }
.cv-sw:active { transform: scale(.985); }
.cv-sw.on { border-color: var(--blue); background: #EEF4FC; }
.cv-sw b { display: block; font-size: 15.5px; font-weight: 700; }
.cv-sw span.d { font-size: 13.5px; color: var(--steel); font-weight: 500; }
.cv-tg { position: relative; flex: none; width: 46px; height: 28px; border-radius: 99px; background: #C5CFDD; transition: background-color 200ms ease; }
.cv-tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform 220ms var(--ease); }
.cv-sw.on .cv-tg { background: var(--blue); }
.cv-sw.on .cv-tg::after { transform: translateX(18px); }
.cv-act { display: flex; gap: 12px; margin-top: 26px; }
.cv-act .cv-btn { flex: 1; }
.cv-act .cv-bg { flex: 0 0 130px; }
.cv-paso { animation: cvIn 320ms var(--ease); }
.cv-mtop { display: none; }
@keyframes cvIn { from { opacity: 0; transform: translateY(10px); } }

/* Listo y estado */
.cv-ok { text-align: center; padding: 20px 0 6px; }
.cv-ok .ic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #E3F3EA; color: #157A50; animation: cvPop 420ms var(--ease); }
@keyframes cvPop { from { transform: scale(.7); opacity: 0; } }
.cv-ok h1 { margin-top: 0; }
.cv-ok .cv-placa { margin: 18px 0 4px; }
.cv-est { max-width: 760px; margin: 0 auto; padding: 44px 24px 60px; }
.cv-est h1 { font-size: 34px; letter-spacing: -.035em; font-weight: 800; margin-bottom: 6px; }
.cv-est .cv-lead { margin-bottom: 26px; }
.cv-sbar { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; padding: 7px 7px 7px 22px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.cv-sbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 800 22px 'Barlow Condensed', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.cv-sbar .cv-btn { height: 46px; }
.cv-tarj { padding: 30px; border-radius: 28px; background: var(--card); box-shadow: 0 24px 50px -32px rgba(11, 37, 69, .35), 0 0 0 1px var(--line); animation: cvIn 320ms var(--ease); }
.cv-ch { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 6px; }
.cv-ch small { display: block; margin-top: 6px; color: var(--steel); font-size: 14px; }
.cv-badge { padding: 7px 14px; border-radius: 99px; background: #FCEFD3; color: #8A5A07; font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.cv-badge.ok { background: #E3F3EA; color: #157A50; } .cv-badge.mal { background: #FBE6E6; color: #A52E2E; } .cv-badge.nv { background: #E1ECFA; color: #0F4C8A; }
.cv-tl { position: relative; margin: 26px 0 8px; padding-left: 40px; }
.cv-tl::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 34px; width: 2px; background: var(--line); }
.cv-ti { position: relative; padding-bottom: 22px; }
.cv-ti i { position: absolute; left: -40px; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #C5CFDD; color: #fff; }
.cv-ti.ok i { background: var(--navy); box-shadow: none; }
.cv-ti.now i { background: var(--blue); box-shadow: 0 0 0 7px rgba(23, 96, 184, .16); }
.cv-ti.fin-ok i { background: #157A50; box-shadow: none; } .cv-ti.fin-mal i { background: #B93434; box-shadow: none; }
.cv-ti b { display: block; font-size: 16px; }
.cv-ti span { font-size: 14px; color: var(--steel); }
.cv-ti.off b { color: #93A0B5; }
.cv-ase { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 14px 16px; border-radius: 18px; background: var(--bg); }
.cv-ase i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-style: normal; font-weight: 700; flex: none; }
.cv-ase b { display: block; font-size: 15px; } .cv-ase span { font-size: 13.5px; color: var(--steel); }
.cv-msg { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #EEF4FC; font-size: 14.5px; line-height: 1.5; }
.cv-nota { display: flex; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--steel); }
.cv-vacio { padding: 26px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: center; color: var(--steel); }
.cv-vacio b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

@media (max-width: 760px) {
  .cv-btn { height: 50px; padding: 0 20px; }
  .cv-nav { height: 64px; padding: 4px 16px; }
  .cv-links { display: none; } .cv-marca img { height: 54px; width: 54px; }
  .cv-nav .cv-btn { padding: 0; width: 46px; } .cv-nav .cv-btn span { display: none; }
  .cv-hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 40px; }
  .cv-h1 { font-size: 38px; max-width: 12ch; } .cv-sub { font-size: 16.5px; margin: 16px 0 24px; }
  .cv-ctas { flex-direction: column; } .cv-ctas .cv-btn { width: 100%; }
  .cv-art { padding: 14px 14px 150px; border-radius: 26px; } .cv-art-img { min-height: 260px; }
  .cv-pl { left: 14px; right: 14px; bottom: 14px; flex-direction: column; align-items: stretch; gap: 12px; }
  .cv-pl form { width: 100%; } .cv-pl input { flex: 1; width: auto; min-width: 0; }
  .cv-sec { padding: 22px 20px 36px; } .cv-sec h2 { font-size: 28px; margin-bottom: 20px; }
  .cv-steps { grid-template-columns: 1fr; border-top: 0; }
  .cv-st { display: grid; grid-template-columns: 52px 1fr; gap: 0 10px; padding: 16px 0; border-top: 1.5px solid var(--navy); }
  .cv-st b { font-size: 38px; grid-row: span 2; margin: 0; } .cv-st h4 { margin-bottom: 2px; }
  .cv-band { margin: 6px 16px 36px; grid-template-columns: 1fr; padding: 28px 22px; border-radius: 26px; }
  .cv-bar { width: 100%; flex-direction: column; background: none; padding: 0; gap: 10px; }
  .cv-bar input { flex: none; width: 100%; height: 54px; background: #fff; border-radius: 999px; padding: 0 22px; } .cv-bar .cv-btn { width: 100%; }
  .cv-foot { flex-direction: column; gap: 6px; padding: 10px 20px 28px; }
  .cv-wrap { display: block; } .cv-side { display: none; }
  .cv-mtop { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
  .cv-mtop img { width: 50px; max-height: 50px; object-fit: contain; } .cv-mtop span { font-size: 13.5px; font-weight: 600; color: var(--steel); }
  .cv-main { padding: 0; }
  .cv-card { display: flex; flex-direction: column; min-height: calc(100dvh - 66px); padding: 20px 18px 24px; border-radius: 0; box-shadow: none; background: var(--bg); }
  .cv-card h1 { font-size: 30px; } .cv-in { background: var(--card); }
  .cv-fotos { gap: 8px; } .cv-add span { font-size: 0; } .cv-add svg { margin: 0; }
  .cv-act { position: sticky; bottom: 0; margin-top: auto; padding: 16px 0 4px; background: linear-gradient(180deg, transparent, var(--bg) 30%); }
  .cv-fila { gap: 10px; }
  .cv-est { padding: 22px 16px 40px; } .cv-est h1 { font-size: 28px; } .cv-tarj { padding: 22px 18px; border-radius: 24px; } .cv-ch { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .cv *, .cv *::before, .cv *::after { animation: none !important; transition-duration: .01ms !important; } }

/* ---------- Modo oscuro ---------- */
.cv[data-tema="dark"] { color-scheme: dark; --ink: #E8EEF8; --card: #111F36; --nav: rgba(10, 20, 36, .92); --bg: #0A1424; --steel: #9DB0CB; --line: #25395B; --navy: #17325C; --blue: #2F6FCB; }
.cv[data-tema="dark"] .cv-bg { color: #8DBBF7; }
.cv[data-tema="dark"] .cv-in, .cv[data-tema="dark"] .cv-platebox input, .cv[data-tema="dark"] .cv-sw { border-color: #2A4066; }
.cv[data-tema="dark"] .cv-in::placeholder { color: #6F85A6; }
.cv[data-tema="dark"] .cv-sw.on { background: #132C52; border-color: #2F6FCB; }
.cv[data-tema="dark"] .cv-tg { background: #3A4F73; } .cv[data-tema="dark"] .cv-sw.on .cv-tg { background: var(--blue); }
.cv[data-tema="dark"] .cv-badge { background: #3A2E12; color: #F0C26A; } .cv[data-tema="dark"] .cv-badge.ok { background: #12392B; color: #5BD39F; } .cv[data-tema="dark"] .cv-badge.mal { background: #43202A; color: #F59AA0; } .cv[data-tema="dark"] .cv-badge.nv { background: #173A66; color: #9CC7FA; }
.cv[data-tema="dark"] .cv-msg { background: #132C52; } .cv[data-tema="dark"] .cv-ok .ic { background: #12392B; color: #5BD39F; }
.cv[data-tema="dark"] .cv-ti i { background: var(--card); box-shadow: inset 0 0 0 2px #3A5278; } .cv[data-tema="dark"] .cv-ti.ok i { background: #2E7BD6; } .cv[data-tema="dark"] .cv-ti.now i { background: var(--blue); } .cv[data-tema="dark"] .cv-ti.off b { color: #6F85A6; }
.cv[data-tema="dark"] .cv-ase i { background: #2E7BD6; }
.cv[data-tema="dark"] .cv-marca img { background: #fff; border-radius: 12px; padding: 2px; }
.cv[data-tema="dark"] .cv-st b { color: #5AA2F0; }
.cv[data-tema="dark"] .cv-err { color: #F59AA0; }
.cv-tema { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--steel); transition: transform 160ms var(--ease), color 160ms ease; }
.cv-tema:active { transform: scale(.94); } .cv-tema .luna { display: none; } .cv[data-tema="dark"] .cv-tema .sol { display: none; } .cv[data-tema="dark"] .cv-tema .luna { display: block; }
.cv-nav-der { display: flex; align-items: center; gap: 10px; }
.cv-side .cv-tema { background: rgba(255, 255, 255, .08); box-shadow: none; color: #C9D6EC; width: 42px; height: 42px; }
.cv-mtop .cv-tema { width: 40px; height: 40px; }
.cv.cambia, .cv.cambia * { transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease !important; }

/* ---------- Movimiento ---------- */
@keyframes cvArt { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes cvSlideF { from { opacity: 0; transform: translateX(18px); } } @keyframes cvSlideB { from { opacity: 0; transform: translateX(-18px); } }
@keyframes cvDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .cv-hero > div:first-child > * { animation: cvIn 420ms var(--ease) backwards; }
  .cv-hero > div:first-child > :nth-child(2) { animation-delay: 60ms; } .cv-hero > div:first-child > :nth-child(3) { animation-delay: 120ms; }
  .cv-art { animation: cvArt 520ms var(--ease) 100ms backwards; }
  .rev-ok .cv-rev { opacity: 0; transform: translateY(14px); transition: opacity 420ms var(--ease), transform 420ms var(--ease); }
  .rev-ok .cv-rev.vis { opacity: 1; transform: none; }
  .cv-paso.fwd { animation: cvSlideF 300ms var(--ease); } .cv-paso.back { animation: cvSlideB 300ms var(--ease); }
  .cv-ok .ic svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: cvDraw 420ms var(--ease) 160ms forwards; }
  .cv-ti { animation: cvIn 320ms var(--ease) backwards; animation-delay: calc(var(--k, 0) * 70ms); }
  .cv-sl > div { transition: background-color 200ms ease, color 200ms ease; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .cv-bp:hover { transform: translateY(-1px); } .cv-bp:active { transform: scale(.97); } .cv-tema:hover { color: var(--ink); } }
