/* Nexxfon — web de AndroidTransfer. Colores del tema oscuro de la app: grafito, azul del logo y oro de Pro. */
:root {
  --fondo: #13161d;
  --capa: #1a1f29;
  --capa-2: #212836;
  --linea: #2c3445;
  --texto: #eceff5;
  --suave: #a5aec0;
  --tenue: #77829a;
  --azul: #46a2f3;
  --azul-hondo: #1c3e85;
  --oro: #f5c451;
  --oro-claro: #ffd978;
  --verde: #46d590;
  --rojo: #f07373;
  --radio-s: 8px;
  --radio-m: 14px;
  --radio-l: 24px;
  --ancho: 1140px;
  --fuente: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fuente-titulo: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 17px/1.6 var(--fuente);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--azul); text-underline-offset: 3px; }
a:hover { color: #7cbcf7; }
:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--fuente-titulo); margin: 0; text-wrap: balance; }
p { margin: 0; }

.envoltura { width: min(100% - 32px, var(--ancho)); margin-inline: auto; }

/* ---------- cabecera ---------- */
.cabecera { border-bottom: 1px solid var(--linea); }
.cabecera .envoltura { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font: 700 1.2rem/1 var(--fuente-titulo); letter-spacing: -0.01em; }
.marca img { width: 34px; height: 34px; }
.marca:hover { color: var(--texto); }
.menu { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.menu a { color: var(--suave); text-decoration: none; font-size: 0.95rem; }
.menu a:hover { color: var(--texto); }
.menu .boton { color: #1b1606; }

/* ---------- botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: 12px; border: 0;
  background: var(--oro); color: #1b1606; font: 650 1rem/1 var(--fuente); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 24px -10px rgba(245, 196, 81, 0.55);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.boton:hover { background: var(--oro-claro); color: #1b1606; }
.boton:active { transform: translateY(1px); }
.boton svg { width: 20px; height: 20px; }
.boton.grande { min-height: 54px; padding: 0 28px; font-size: 1.08rem; border-radius: 14px; }
.boton.pequeno { min-height: 38px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }
.boton.secundario { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px var(--linea); }
.boton.secundario:hover { background: var(--capa-2); color: var(--texto); }

/* ---------- portada ---------- */
.portada { padding: 64px 0 72px; }
.portada .envoltura { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 56px; align-items: center; }
.portada h1 { font-size: clamp(2.6rem, 5.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 750; }
.portada .entrada { margin-top: 22px; max-width: 34em; color: var(--suave); font-size: 1.15rem; line-height: 1.55; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.requisitos { margin-top: 16px; color: var(--tenue); font-size: 0.92rem; }
.aviso-descarga { display: none; margin-top: 14px; max-width: 34em; padding: 10px 14px; border-radius: 10px; background: rgba(240, 115, 115, 0.1); color: #ffb4b4; font-size: 0.93rem; }
.sin-servidor .aviso-descarga { display: block; }

/* La mudanza: el móvil de antes se vacía mientras el nuevo se llena. */
.mudanza { position: relative; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; padding: 8px 0 0; }
.movil {
  position: relative; aspect-ratio: 9 / 17.5; padding: 7px; border-radius: 34px;
  background: linear-gradient(150deg, #f7f9fc 0%, #c3cedb 38%, #eef2f7 62%, #aebccd 100%);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.pantalla {
  height: 100%; border-radius: 28px; padding: 22px 12px 12px; overflow: hidden;
  background: linear-gradient(180deg, #2a72d6 0%, #17418f 52%, #112c63 100%);
  display: flex; flex-direction: column;
}
.pantalla::before { content: ""; align-self: center; width: 7px; height: 7px; border-radius: 50%; background: #0b1b3d; margin: -12px 0 10px; }
.pantalla h3 { font: 600 0.8rem/1.2 var(--fuente); color: rgba(255, 255, 255, 0.78); margin: 0 4px 8px; }
.filas { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.fila {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  padding: 5px 7px; border-radius: 10px; background: rgba(255, 255, 255, 0.09);
  font-size: 0.78rem; line-height: 1.2; color: #fff;
  transition: opacity 0.35s ease, background-color 0.35s ease;
}
.fila .n { color: rgba(255, 255, 255, 0.7); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fila .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--c, #3b82f6); }
.ico svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico svg .lleno { fill: currentColor; stroke: none; }
.antes .fila.enviando { background: rgba(255, 217, 120, 0.22); }
.nuevo .fila { position: relative; }
.nuevo .fila .n::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -2px; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.2 6.2 5 8l3.8-4' fill='none' stroke='%23062b17' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.js .nuevo .fila { opacity: 0; transform: translateY(4px); transition: opacity 0.3s ease, transform 0.3s ease; }
.js .nuevo .fila.llegada { opacity: 1; transform: none; }
.carril { position: relative; height: 100%; display: grid; place-items: center; }
.carril::before { content: ""; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, rgba(70, 162, 243, 0.65) 0 6px, transparent 6px 12px); }
.ficha { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(255, 255, 255, 0.85); }
.progreso { grid-column: 1 / -1; margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; }
.progreso .barra { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--capa-2); overflow: hidden; }
.progreso .barra span { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--azul), var(--verde)); transition: width 0.45s ease; }
.progreso .estado { color: var(--suave); font-size: 0.93rem; }
.progreso .estado b { color: var(--texto); font-weight: 600; }
.otra-vez { background: none; border: 0; padding: 4px 2px; color: var(--azul); font: inherit; font-size: 0.9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.otra-vez[hidden] { display: none; }

/* ---------- secciones ---------- */
.seccion { padding: 88px 0; border-top: 1px solid var(--linea); }
.seccion h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; max-width: 22em; }
.seccion .entrada { margin-top: 14px; max-width: 40em; color: var(--suave); font-size: 1.08rem; }

/* qué se puede pasar */
.categorias { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.categorias li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.categorias .ico { width: 40px; height: 40px; border-radius: 12px; }
.categorias .ico svg { width: 22px; height: 22px; }
.categorias b { display: block; font-weight: 600; }
.categorias span { color: var(--suave); font-size: 0.95rem; }
.etiqueta { padding: 3px 9px; border-radius: 99px; font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.etiqueta.gratis { background: rgba(70, 213, 144, 0.13); color: var(--verde); }
.etiqueta.pro { background: rgba(245, 196, 81, 0.14); color: var(--oro); }
.nota { margin-top: 22px; color: var(--tenue); font-size: 0.93rem; max-width: 52em; }

/* cómo funciona: es una secuencia de verdad, por eso va numerada */
.pasos { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: paso; }
.pasos li { counter-increment: paso; position: relative; padding-top: 64px; }
.pasos li::before { content: counter(paso); position: absolute; top: 0; left: 0; font: 750 3.4rem/1 var(--fuente-titulo); color: var(--azul); letter-spacing: -0.04em; }
.pasos h3 { font-size: 1.2rem; font-weight: 650; }
.pasos p { margin-top: 8px; color: var(--suave); }

/* herramientas */
.herramientas { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.herramienta { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding: 24px; border-radius: var(--radio-l); background: var(--capa); }
.herramienta .ico { width: 52px; height: 52px; border-radius: 16px; }
.herramienta .ico svg { width: 26px; height: 26px; }
.herramienta h3 { font-size: 1.15rem; font-weight: 650; }
.herramienta p { margin-top: 6px; color: var(--suave); font-size: 0.98rem; }

/* precios */
.precios { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 20px; align-items: stretch; }
.plan { padding: 30px; border-radius: var(--radio-l); background: var(--capa); display: flex; flex-direction: column; }
.plan h3 { font-size: 1.35rem; font-weight: 700; }
.plan .lema { margin-top: 4px; color: var(--suave); }
.plan ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 28px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%; background: rgba(70, 213, 144, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3 7.6 12 13 6.4' fill='none' stroke='%2346d590' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan .cifra { font: 750 2.6rem/1 var(--fuente-titulo); letter-spacing: -0.03em; margin-top: 18px; }
.plan .cifra small { font: 500 1rem/1 var(--fuente); color: var(--suave); letter-spacing: 0; margin-left: 4px; }
.plan .boton { margin-top: auto; align-self: flex-start; }
.plan.pro { background: linear-gradient(160deg, #262a1c 0%, var(--capa) 42%); box-shadow: inset 0 0 0 1px rgba(245, 196, 81, 0.35); }
.plan.pro h3 { color: var(--oro); }
.plan.pro ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.opciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.opcion { position: relative; padding: 18px 16px 16px; border-radius: var(--radio-m); background: var(--capa-2); }
.opcion h4 { margin: 0; font: 600 0.95rem/1.3 var(--fuente); color: var(--suave); }
.opcion .importe { margin-top: 8px; font: 750 1.75rem/1 var(--fuente-titulo); letter-spacing: -0.02em; white-space: nowrap; }
.opcion .importe s { display: block; margin-bottom: 4px; font: 500 0.9rem/1 var(--fuente); color: var(--tenue); }
.opcion .periodo { margin-top: 6px; color: var(--suave); font-size: 0.9rem; }
.opcion.destacada { box-shadow: inset 0 0 0 2px var(--oro); }
.opcion .sello { position: absolute; top: -11px; left: 14px; padding: 3px 10px; border-radius: 99px; background: var(--oro); color: #1b1606; font-size: 0.75rem; font-weight: 700; }
.opcion[hidden] { display: none; }
.como-comprar { margin-top: 20px; color: var(--suave); font-size: 0.95rem; }

/* preguntas */
.preguntas { margin-top: 36px; max-width: 52em; }
.preguntas details { border-bottom: 1px solid var(--linea); }
.preguntas summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.06rem; }
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--suave); border-bottom: 2px solid var(--suave); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.preguntas details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.preguntas details p { padding: 0 0 20px; color: var(--suave); max-width: 46em; }

/* llamada final */
.final { padding: 80px 0; border-top: 1px solid var(--linea); }
.final .envoltura { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.final h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.02em; }

/* pie */
.pie { border-top: 1px solid var(--linea); padding: 36px 0 48px; color: var(--tenue); font-size: 0.92rem; }
.pie .envoltura { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.pie a { color: var(--suave); text-decoration: none; }
.pie a:hover { color: var(--texto); }

/* ---------- páginas legales ---------- */
.legal { padding: 56px 0 80px; }
.legal article { max-width: 46em; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -0.03em; line-height: 1.1; }
.legal .fecha { margin-top: 10px; color: var(--tenue); font-size: 0.95rem; }
.legal h2 { margin-top: 40px; font-size: 1.3rem; letter-spacing: -0.01em; }
.legal p, .legal ul { margin-top: 12px; color: #cfd5e1; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal .resumen { margin-top: 24px; padding: 18px 20px; border-radius: var(--radio-m); background: var(--capa); color: var(--texto); }

/* ---------- móvil ---------- */
@media (max-width: 900px) {
  .portada { padding-top: 40px; }
  .portada .envoltura { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .mudanza { max-width: 520px; }
  .precios { grid-template-columns: minmax(0, 1fr); }
  .pasos { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .herramientas { grid-template-columns: minmax(0, 1fr); }
  .categorias { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .menu a:not(.boton) { display: none; }
  .seccion { padding: 64px 0; }
  .mudanza { grid-template-columns: 1fr 30px 1fr; }
  .movil { border-radius: 26px; padding: 5px; }
  .pantalla { border-radius: 22px; padding: 18px 7px 8px; }
  .fila { grid-template-columns: 20px minmax(0, 1fr); gap: 6px; padding: 4px 5px; font-size: 0.7rem; }
  .fila .n { display: none; }
  .fila .ico { width: 20px; height: 20px; border-radius: 6px; }
  .fila .ico svg { width: 13px; height: 13px; }
  .fila:nth-child(n + 8) { display: none; }
  .opciones { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .plan.pro ul { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 24px; }
  .herramienta { padding: 20px; grid-template-columns: 44px minmax(0, 1fr); }
  .herramienta .ico { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
