/* Página de Inmigración: usa bitcoin.css y agrega el motivo de "ruta". */
body .mig-hero { position: relative; overflow: hidden; }
body .mig-hero .container { position: relative; }
body .mig-mapa { position: absolute; inset: 60px 0 0; width: 100%; height: calc(100% - 60px); pointer-events: none; }
body .mig-hero .mig-linea { opacity: .3; stroke: var(--lime); stroke-width: 2.5; stroke-dasharray: 3 13; stroke-linecap: round; animation: mig-ruta 2.4s linear infinite; }
body .mig-avion, body .mig-avion-fijo { fill: var(--lime); }
body .mig-avion-fijo { display: none; }
@keyframes mig-ruta { to { stroke-dashoffset: -32; } }
@media (prefers-reduced-motion: reduce) { body .mig-hero .mig-linea { animation: none; } body .mig-avion { display: none; } body .mig-avion-fijo { display: block; } }
/* Pestañas con el nombre del servicio */
body .mig .exp-who strong { white-space: normal; font-size: 1.05rem; line-height: 1.15; }
body .mig .btc-folder h3.visually-hidden + p { font-size: 1.15rem; }
@media (max-width: 575.98px) { body .mig .exp-who strong { font-size: .95rem; } body .mig .exp-who small { display: none; } }
/* Dos paneles con muesca abajo, al centro: documentos y foto */
body .mig-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body .mig-panel { --n: 64px; --r: 28px; position: relative; min-height: 620px; }
body .mig-izq::before, body .mig-foto { content: ""; position: absolute; inset: 0; border-radius: 34px 34px 0 34px; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--n) - var(--r) + 1px), linear-gradient(#000 0 0) 0 0 / calc(100% - var(--r) + 1px) calc(100% - var(--n)), linear-gradient(#000 0 0) 0 0 / calc(100% - var(--n)) calc(100% - var(--r) + 1px), linear-gradient(#000 0 0) 0 0 / calc(100% - var(--n) - var(--r) + 1px) 100%, radial-gradient(circle var(--r), #000 98%, transparent) right 0 bottom var(--n) / calc(2 * var(--r)) calc(2 * var(--r)), radial-gradient(circle var(--r), #000 98%, transparent) right var(--n) bottom 0 / calc(2 * var(--r)) calc(2 * var(--r)), radial-gradient(circle var(--r) at 100% 100%, transparent 98%, #000) right calc(var(--n) - var(--r) + 0.5px) bottom calc(var(--n) - var(--r) + 0.5px) / var(--r) var(--r);
  mask: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--n) - var(--r) + 1px), linear-gradient(#000 0 0) 0 0 / calc(100% - var(--r) + 1px) calc(100% - var(--n)), linear-gradient(#000 0 0) 0 0 / calc(100% - var(--n)) calc(100% - var(--r) + 1px), linear-gradient(#000 0 0) 0 0 / calc(100% - var(--n) - var(--r) + 1px) 100%, radial-gradient(circle var(--r), #000 98%, transparent) right 0 bottom var(--n) / calc(2 * var(--r)) calc(2 * var(--r)), radial-gradient(circle var(--r), #000 98%, transparent) right var(--n) bottom 0 / calc(2 * var(--r)) calc(2 * var(--r)), radial-gradient(circle var(--r) at 100% 100%, transparent 98%, #000) right calc(var(--n) - var(--r) + 0.5px) bottom calc(var(--n) - var(--r) + 0.5px) / var(--r) var(--r);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
body .mig-izq::before { background: var(--lime); }
body .mig-foto { transform: scaleX(-1); }
body .mig-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scaleX(-1); }
body .mig-txt { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 44px 48px 30px; color: #0D0D0E; }
body .btc .mig-txt h2 { color: #0D0D0E; text-align: center; font-size: clamp(1.7rem, 2.7vw, 2.4rem); line-height: 1.15; margin-bottom: 28px; }
body .mig-txt ol { list-style: none; counter-reset: d; margin: 0 auto 24px; padding: 0; max-width: 460px; display: grid; gap: 14px; font-size: 1.06rem; font-weight: 600; line-height: 1.4; }
body .mig-txt li { counter-increment: d; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; }
body .mig-txt li::before { content: counter(d); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #0D0D0E; color: var(--lime); font-weight: 800; font-size: .9rem; }
body .mig-txt p { margin: 0 auto; max-width: 460px; text-align: center; font-size: .95rem; }
body .mig-pills { list-style: none; margin: 0; padding: 0; position: absolute; right: 24px; bottom: 24px; left: 100px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
body .mig-pills li { padding: 8px 16px; border: 1px solid var(--lime); border-radius: 999px; background: rgba(7,7,7,.72); color: var(--lime); font-size: .88rem; font-weight: 700; }
@media (max-width: 991.98px) { body .mig-docs { grid-template-columns: 1fr; } body .mig-panel { --n: 46px; --r: 22px; min-height: 0; } body .mig-izq { order: 2; } body .mig-der { aspect-ratio: 1.1; } body .mig-txt { padding: 36px 22px 34px; } body .mig-pills { left: 74px; right: 16px; bottom: 16px; } body .mig-pills li { padding: 6px 12px; font-size: .8rem; } }
body .mig-cta { align-self: center; margin-top: 52px; background: #0D0D0E; border-color: #0D0D0E; color: #fff; }
body .mig-cta:hover { background: #fff; border-color: #fff; color: #0D0D0E; }
body .btc .mig-cta:focus-visible { outline-color: #0D0D0E; }
/* Etiquetas sobre la foto: filas parejas */
@media (min-width: 992px) { body .mig-pills { left: auto; width: 400px; } }
@media (max-width: 359.98px) { body .mig-der { aspect-ratio: .95; } body .mig-pills { left: 70px; right: 12px; bottom: 12px; gap: 5px; } body .mig-pills li { padding: 4px 9px; font-size: .7rem; } }
body .mig-frase { max-width: 820px; margin: 0 auto 44px; text-align: center; color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 700; line-height: 1.35; }
body .mig-sec-frase .mig-frase { margin-bottom: 0; }
body .mig-sec-docs { padding-top: 10px; }
/* Vuelo corto para celular y tablet, debajo de los botones */
body .mig-vuelo { display: none; position: relative; left: 50%; width: 100vw; max-width: none; height: 110px; margin: 22px 0 0 -50vw; }
@media (max-width: 991.98px) { body .mig-vuelo { display: block; } body .mig-hero { padding-bottom: 30px; } }
@media (max-width: 991.98px) { body .mig-mapa { display: none; } }
