/* ============================================================================
   /how-many-people-have-my-name/ — «How many people have my name?»

   SISTEMA: el de /surnames/ (assets/surnames.css), que a su vez es el de la
   portada (assets/home-v2.css). Las mismas cinco reglas:
   1. UN SOLO ACENTO DE ACCIÓN: navy. El oro es para filetes, numerales y
      datos — nunca pulsable, salvo el botón --oro sobre fondo oscuro.
   2. UNA SOLA FAMILIA: Montserrat. Display en 300 con tracking negativo.
   3. TRES RADIOS: --pill 100px · --r 3px · 50%.
   4. UNA SOLA SOMBRA, sólo en lo apoyado sobre la mesa.
   5. RITMO ASIMÉTRICO: 7/5 y 5/7, no centrado.

   ⚠️ LOS TOKENS SE COPIAN (en home-v2.css viven bajo `#fc-h3`): esta página
   queda independiente — si mañana se toca la portada o el índice, esto no se
   mueve. Los VALORES son los de surnames.css, línea por línea.
   ⚠️ EL HEADER NO SE TOCA ACÁ: es el de la portada (home-v2.css + la clase
   `fc-h3-page` en el body). Ver la nota larga en surnames.css.
   ========================================================================= */

#fc-hm {
  --papel:   #F4EFE6;
  --papel2:  #E7DCC7;
  --papel3:  #FDFBF7;
  --gris:    #F7F7F7;
  --navy:    #112B3D;
  --noche:   #0A1922;
  --oro:     #C9A84C;
  --oro-osc: #8A6E20;
  --tinta:   #14232E;
  --prosa:   #3D4C58;
  --tenue:   #55606A;
  --filete:  #DBD0BC;
  --filete2: rgba(219,208,188,.5);

  --wrap: 1180px;
  --pill: 100px;
  --r: 3px;

  --sal: cubic-bezier(.23, 1, .32, 1);
  --mov: cubic-bezier(.77, 0, .175, 1);

  --f-h1:   clamp(38px, 3.3vw + 24px, 70px);
  --f-h2:   clamp(29px, 2.3vw + 21px, 48px);
  --f-h3:   clamp(19px, .55vw + 17px, 25px);
  --f-lede: clamp(17.5px, .7vw + 15.4px, 21px);
  --f-body: clamp(16.5px, .3vw + 15.3px, 18px);
  --f-cap:  clamp(13px, .2vw + 12.3px, 14.5px);
  --f-eye:  clamp(11.5px, .1vw + 11.2px, 12.5px);

  --aire:   clamp(62px, 6.4vw, 116px);
  --aire-s: clamp(40px, 4vw, 68px);

  --sombra: 0 1px 2px rgba(20,35,46,.05), 0 8px 24px rgba(20,35,46,.07);

  position: relative;
  background: var(--papel);
  color: var(--tinta);
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--f-body);
  line-height: 1.62;
}

#fc-hm .fc-hm-ancho { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
body.fc-hm-page { overflow-x: clip; }
#fc-hm .fc-hm-wrap { width: min(100% - 2 * clamp(20px, 5vw, 56px), var(--wrap)); margin-inline: auto; }

body.fc-hm-page .entry-content,
body.fc-hm-page .site-content > .ast-container,
body.fc-hm-page #primary { padding: 0 !important; margin: 0 !important; max-width: none !important; }
body.fc-hm-page .entry-header,
body.fc-hm-page .ast-single-post-order,
body.fc-hm-page .post-navigation { display: none !important; }

/* --- TIPOGRAFÍA: el tema le pone serif a toda página que no sea la portada
   (ver surnames.css). Se gana en especificidad, sólo acá adentro. --- */
#fc-hm#fc-hm,
#fc-hm#fc-hm *:not(svg):not(path):not(circle) {
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
#fc-hm#fc-hm h1, #fc-hm#fc-hm h2, #fc-hm#fc-hm h3 {
  color: var(--tinta) !important; letter-spacing: -.012em !important; text-wrap: balance; margin: 0;
}
#fc-hm#fc-hm h1 { font-size: var(--f-h1) !important; line-height: 1.06 !important; font-weight: 300 !important; letter-spacing: -.022em !important; }
#fc-hm#fc-hm h1 strong, #fc-hm#fc-hm h2 strong { font-weight: 700; }
#fc-hm#fc-hm h2 { font-size: var(--f-h2) !important; line-height: 1.14 !important; font-weight: 300 !important; letter-spacing: -.018em !important; }
#fc-hm#fc-hm h3 { font-size: var(--f-h3) !important; line-height: 1.3 !important; font-weight: 600 !important; letter-spacing: -.004em !important; }
#fc-hm#fc-hm p  { font-size: var(--f-body) !important; color: var(--prosa) !important; margin: 0; }
#fc-hm#fc-hm a  { text-decoration: none; }
#fc-hm img { max-width: 100%; display: block; }
#fc-hm :focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: var(--r); }
#fc-hm .fc-hm-oscuro :focus-visible { outline-color: var(--oro); }

/* --- bandas --- */
#fc-hm .fc-hm-banda { padding-block: var(--aire); }
#fc-hm .fc-hm-b-blanca { background: #FFFFFF; }
#fc-hm .fc-hm-b-papel3 { background: var(--papel3); }
#fc-hm .fc-hm-b-papel  { background: var(--papel); }
/* el gris de /pricing («One payment»: .fc-h3-sec--gris = var(--gris)), pedido del owner para el top 10 */
#fc-hm .fc-hm-b-gris   { background: var(--gris); }
#fc-hm .fc-hm-oscuro { background: linear-gradient(160deg, var(--noche) 0%, var(--navy) 100%); color: #EDE7DC; }
/* el cierre: navy PLANO, el color exacto del pie, con la misma junta (ver surnames.css) */
#fc-hm .fc-hm-oscuro--liso { background: var(--navy); border-bottom: 1px solid rgba(209, 213, 219, .22); }
#fc-hm#fc-hm .fc-hm-oscuro h2, #fc-hm#fc-hm .fc-hm-oscuro h3 { color: #F6F1E8 !important; }
#fc-hm#fc-hm .fc-hm-oscuro p  { color: #C3CBD2 !important; }

#fc-hm#fc-hm .fc-hm-eye {
  display: flex; align-items: center; gap: 16px;
  font-size: var(--f-eye) !important; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--oro-osc) !important; margin: 0 0 14px !important;
}
#fc-hm .fc-hm-eye::after { content: ""; flex: 0 1 96px; height: 1px; background: var(--filete); }
#fc-hm#fc-hm .fc-hm-oscuro .fc-hm-eye { color: var(--oro) !important; }
#fc-hm .fc-hm-oscuro .fc-hm-eye::after { background: rgba(201,168,76,.42); }

#fc-hm#fc-hm .fc-hm-lede { font-size: var(--f-lede) !important; color: var(--prosa) !important; line-height: 1.58; max-width: 46ch; margin-top: 18px !important; }
#fc-hm#fc-hm .fc-hm-oscuro .fc-hm-lede { color: #C3CBD2 !important; }

/* --- el botón: navy macizo, una sola forma en toda la página --- */
#fc-hm#fc-hm .fc-hm-btn {
  flex: none; border: 0; cursor: pointer; border-radius: var(--pill);
  background: var(--navy); color: #fff !important; font-family: inherit; font-weight: 400;
  font-size: clamp(15px, .14vw + 14.4px, 16.5px); padding: 0 28px; height: 48px;
  line-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-align: center; text-decoration: none !important; box-shadow: none; margin: 0;
  -webkit-appearance: none; appearance: none;
  transition: background .2s var(--sal), transform .2s var(--sal), box-shadow .2s var(--sal);
}
#fc-hm#fc-hm .fc-hm-btn:hover, #fc-hm#fc-hm .fc-hm-btn:focus { background: var(--noche); color: #fff !important; }
#fc-hm#fc-hm .fc-hm-btn:active { transform: translateY(1px); }
/* ⚠️ el display del botón (inline-flex, con doble id) le ganaba al [hidden] del navegador: «Download your card»
   seguía a la vista en un resultado sin cifra de nombre completo */
#fc-hm#fc-hm .fc-hm-btn[hidden] { display: none !important; }
#fc-hm .fc-hm-btn svg { width: 18px; height: 18px; flex: none; color: var(--oro); transition: transform .25s var(--sal); }
#fc-hm#fc-hm .fc-hm-btn--grande { height: 56px; line-height: 56px; padding: 0 30px; font-size: clamp(16px, .14vw + 15.4px, 17.5px); }
@media (hover: hover) { #fc-hm .fc-hm-btn:hover svg { transform: translateX(3px); } }
#fc-hm#fc-hm .fc-hm-btn--oro {
  background: var(--oro); color: var(--noche) !important; height: 56px; line-height: 56px;
  padding: 0 30px; font-weight: 500; font-size: clamp(16px,.14vw + 15.4px,17.5px);
}
#fc-hm#fc-hm .fc-hm-btn--oro:hover, #fc-hm#fc-hm .fc-hm-btn--oro:focus { background: #DCBC63; color: var(--noche) !important; }
#fc-hm .fc-hm-btn--oro svg { color: var(--noche); }
@media (hover: hover) {
  #fc-hm#fc-hm .fc-hm-btn--oro:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
}

/* ===========================================================================
   1 · HERO — la foto, el velo y el paso por debajo del header: idénticos a
   /surnames/ (ver allá el porqué de cada valor).
   ======================================================================== */
#fc-hm .fc-hm-foto { position: relative; isolation: isolate; }
/* 🔴 EL BLANCO DEL PAPEL (owner, 2026-10-05: «acá le pusiste un fondo crema; que se acerque a la portada y a /surnames/»).
   El fondo de la sección (lo que asoma a la izquierda de la foto, donde ésta se funde) y el velo van en el blanco del
   papel de la foto (~246/243/237, el de diario.jpg de la portada es 241/238/233), no en el crema --papel del sitio.
   Mismas opacidades que /surnames/: sólo cambia el color. */
#fc-hm .fc-hm-hero { background-color: #F6F4EF; }
#fc-hm .fc-hm-foto > .fc-hm-fondo {
  position: absolute; inset: 0; z-index: 0;
  background-image: var(--img-fondo); background-size: cover;
  background-position: 72% center; background-repeat: no-repeat;
}
#fc-hm .fc-hm-foto > .fc-hm-velo {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg,
    rgba(252,251,248,.40) 0%, rgba(252,251,248,.28) 34%,
    rgba(247,245,240,.10) 56%, rgba(247,245,240,0) 76%);
}
#fc-hm .fc-hm-foto > .fc-hm-wrap { position: relative; z-index: 2; }
/* 🔴 EN COMPUTADORA LA FOTO ARRANCA CORRIDA A LA DERECHA. En esta imagen la mesa
   empieza en el 44% del ancho: a 1440 px los libros caían en x≈636 y el titular
   («How many people / have your name?») les pasaba por encima hasta x≈740.
   Corriendo la capa ~225 px (y fundiendo su borde izquierdo en el papel de la
   sección) la mesa arranca en x≈820 y la columna de texto queda toda sobre
   pared lisa. Medido a 1024, 1280, 1440 y 1920. */
@media (min-width: 941px) {
  #fc-hm .fc-hm-foto > .fc-hm-fondo {
    left: clamp(0px, 24vw - 120px, 360px);
    background-position: left center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 180px);
    mask-image: linear-gradient(90deg, transparent 0, #000 180px);
  }
}

#fc-hm .fc-hm-hero {
  margin-top: calc(-1 * var(--fc-header-height, 0px));
  padding-top: calc(var(--fc-header-height, 72px) + clamp(30px, 4vw, 62px));
  padding-bottom: var(--aire);
  border-bottom: 1px solid var(--filete2);
}
/* `align-items: start`: al cambiar de nombre sólo se mueve el borde de abajo
   de la tarjeta, nunca la columna del formulario (ver surnames.css). */
#fc-hm .fc-hm-hero-g { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
#fc-hm .fc-hm-hero-txt { min-width: 0; }
#fc-hm#fc-hm .fc-hm-hero-txt .fc-hm-lede { max-width: 36ch; }

/* 🔴 EN COMPUTADORA EL HERO MIDE LA PANTALLA (regla del owner para /surnames/,
   2026-09-30). Acá el bloque va CENTRADO en el alto que queda bajo el header,
   y la grilla tiene un alto MÍNIMO fijo (--hm-cmax): como ninguna de las dos
   columnas lo pasa, el bloque mide siempre lo mismo y centrarlo no mueve nada
   cuando la tarjeta cambia de nombre. */
@media (min-width: 941px) {
  #fc-hm .fc-hm-hero {
    --hm-vh: 100vh;
    --hm-cab: var(--fc-header-height, 72px);
    /* el piso: la tarjeta más alta medida (James Smith visto desde Canadá, 2026-10-05) */
    --hm-cmax: 792px;
    min-height: max(var(--hm-vh), calc(var(--hm-cab) + var(--hm-cmax) + 56px));
    display: flex; flex-direction: column; justify-content: center;
    padding-top: calc(var(--hm-cab) + 22px);
    padding-bottom: 34px;
  }
  #fc-hm .fc-hm-hero-g { min-height: var(--hm-cmax); }
}
@supports (height: 100svh) { @media (min-width: 941px) { #fc-hm .fc-hm-hero { --hm-vh: 100svh; } } }
/* 🔴 COMPUTADORAS ANGOSTAS (941–1279 px, medido 2026-10-05): con 7:5 la tarjeta quedaba de 367 px a 1024, el texto
   se partía en más renglones y el cuerpo se desplazaba por dentro (66 px de más un visitante de Alemania, 72 uno del
   Reino Unido). Mitad y mitad: la tarjeta pasa a 440–558 px y el formulario sigue entrando entero. Debajo de 1100 la
   sección ya es más alta que la pantalla, así que el piso puede crecer 20 px sin esconder nada. */
@media (min-width: 941px) and (max-width: 1279px) { #fc-hm .fc-hm-hero-g { grid-template-columns: 1fr 1fr; } }
@media (min-width: 941px) and (max-width: 1099px) { #fc-hm .fc-hm-hero { --hm-cmax: 812px; } }
@media (min-width: 941px) {
  #fc-hm#fc-hm .fc-hm-tarj-cuerpo { padding: 18px 26px 18px; }
  #fc-hm#fc-hm .fc-hm-cifra { padding-bottom: 16px; margin-bottom: 14px; }
  #fc-hm#fc-hm .fc-hm-blq { margin-bottom: 14px; }
  #fc-hm#fc-hm .fc-hm-fuente { margin-top: 12px !important; }
  #fc-hm#fc-hm .fc-hm-num { margin-bottom: 5px !important; }
  #fc-hm#fc-hm .fc-hm-unoen { margin-top: 10px !important; }
  #fc-hm .fc-hm-tarj-top { padding: 18px 26px 14px; }
  /* ⚠️ LA RED, no el diseño (el mismo criterio que /surnames/): ningún resultado medido la usa a 900 px de alto;
     si alguno trae más, se desplaza adentro de la tarjeta en vez de estirar la primera sección */
  #fc-hm .fc-hm-tarj { max-height: calc(max(var(--hm-vh, 100vh), var(--hm-cab, 72px) + var(--hm-cmax, 760px) + 56px) - var(--hm-cab, 72px) - 50px); }
  #fc-hm .fc-hm-tarj-cuerpo { overflow-y: auto; min-height: 0; }
}

/* -- el formulario: dos campos y un botón, en UNA píldora --
   ⚠️ CADA CAMPO LLEVA SU RÓTULO A LA VISTA, chico y arriba (no sólo el
   placeholder): el placeholder desaparece al escribir y una persona que
   vuelve al campo ya no sabe cuál era cuál. */
#fc-hm .fc-hm-form { margin-top: clamp(26px, 3vw, 38px); max-width: 560px; }
#fc-hm .fc-hm-campos {
  display: flex; align-items: stretch;
  background: #fff; border: 1px solid var(--filete); border-radius: var(--pill);
  padding: 6px; box-shadow: var(--sombra);
  transition: border-color .22s var(--sal), box-shadow .22s var(--sal);
}
#fc-hm .fc-hm-campos:focus-within { border-color: var(--navy); box-shadow: 0 1px 2px rgba(20,35,46,.05), 0 10px 30px rgba(17,43,61,.14); }
#fc-hm .fc-hm-campo { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 3px 18px 3px 22px; border-radius: var(--pill); transition: background .2s var(--sal); }
#fc-hm .fc-hm-campo--ap { border-left: 1px solid var(--filete); border-radius: 0; padding-left: 18px; }
#fc-hm#fc-hm .fc-hm-campo label {
  display: block; margin: 0; padding: 0; cursor: text;
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tenue); line-height: 1.5;
}
#fc-hm .fc-hm-campo:focus-within label { color: var(--oro-osc); }
/* ⚠️ RESET DEL <input>: Astra le pone borde, fondo, padding y sombra a todo
   campo de texto. 17px mínimo: por debajo de 16 iOS hace zoom al enfocar. */
#fc-hm#fc-hm .fc-hm-campo input {
  width: 100%; min-width: 0; border: 0 !important; background: none !important; outline: none !important;
  box-shadow: none !important; padding: 2px 0 4px !important; margin: 0; border-radius: 0; height: auto; min-height: 0;
  font-family: inherit; font-weight: 500; color: var(--tinta);
  font-size: clamp(17px, .4vw + 15.5px, 19px); line-height: 1.3;
}
#fc-hm .fc-hm-campo input::placeholder { color: #9AA4AC; font-weight: 300; opacity: 1; }
/* El CELESTE del autocompletar del navegador (pedido del owner, 2026-10-05): Chrome, Edge y Safari lo pintan con un
   !important de su hoja propia, que le gana a cualquier !important nuestro → se tapa con una sombra interior del
   blanco del campo (los dos diseños, escritorio y teléfono, son #fff) y se fija el color del texto. Firefox lo pinta
   con `filter`. Van en reglas SEPARADAS: un selector que el navegador no conoce invalida toda la lista. */
#fc-hm#fc-hm .fc-hm-campo input:-webkit-autofill,
#fc-hm#fc-hm .fc-hm-campo input:-webkit-autofill:hover,
#fc-hm#fc-hm .fc-hm-campo input:-webkit-autofill:focus,
#fc-hm#fc-hm .fc-hm-campo input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important; box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--tinta) !important; caret-color: var(--tinta);
  transition: background-color 100000s 0s, color 100000s 0s;
}
#fc-hm#fc-hm .fc-hm-campo input:autofill { filter: none !important; box-shadow: 0 0 0 1000px #fff inset !important; }
#fc-hm .fc-hm-campos:has(input:focus) { outline: 1px solid var(--navy); outline-offset: 0; }
#fc-hm .fc-hm-campos .fc-hm-btn { height: 56px; line-height: 56px; padding: 0 30px; align-self: center; }
#fc-hm .fc-hm-campo.mal label { color: var(--oro-osc); }
#fc-hm#fc-hm .fc-hm-aviso {
  min-height: 0; margin: 10px 0 0 22px !important; font-size: var(--f-cap) !important;
  color: var(--tinta) !important; display: none; align-items: center; gap: 9px;
}
#fc-hm#fc-hm .fc-hm-aviso.on { display: flex; }
#fc-hm .fc-hm-aviso::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--oro); flex: none; }

/* las sugerencias del apellido — las del índice */
#fc-hm .fc-hm-sug {
  position: absolute; z-index: 40; left: 0; top: calc(100% + 14px); width: max(100%, 300px);
  background: #fff; border: 1px solid var(--filete); border-radius: var(--r);
  box-shadow: 0 2px 6px rgba(20,35,46,.06), 0 18px 44px rgba(20,35,46,.16);
  max-height: 336px; overflow-y: auto; display: none;
}
#fc-hm .fc-hm-sug.on { display: block; }
#fc-hm#fc-hm .fc-hm-sug button {
  display: flex; align-items: baseline; gap: 10px; width: 100%; text-align: left; margin: 0;
  padding: 11px 18px; border: 0; border-bottom: 1px solid var(--filete2); border-radius: 0; background: none; cursor: pointer;
  font: inherit; color: var(--tinta); box-shadow: none;
}
#fc-hm#fc-hm .fc-hm-sug button:last-child { border-bottom: 0; }
#fc-hm#fc-hm .fc-hm-sug button:hover, #fc-hm#fc-hm .fc-hm-sug button.sel { background: var(--papel); color: var(--tinta); }
#fc-hm .fc-hm-sug .nm { font-weight: 600; font-size: 16px; letter-spacing: -.004em; }
#fc-hm .fc-hm-sug .dt { margin-left: auto; font-size: 12.5px; color: var(--tenue); font-variant-numeric: tabular-nums; white-space: nowrap; }

#fc-hm .fc-hm-probar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; min-height: 34px; }
/* los atajos son del país del visitante: aparecen cuando llegan (fc-hm/v1/inicio), no antes con los de otro país */
#fc-hm.js .fc-hm-probar > button { opacity: 0; transition: opacity .35s var(--sal); }
#fc-hm.js .fc-hm-probar.listo > button { opacity: 1; }
#fc-hm#fc-hm .fc-hm-probar > span { font-size: var(--f-cap) !important; color: var(--tenue) !important; margin-right: 2px; }
#fc-hm#fc-hm .fc-hm-probar button {
  border: 1px solid var(--filete); background: rgba(255,255,255,.66); border-radius: var(--pill);
  padding: 5px 15px; margin: 0; font: inherit; font-size: 13.5px; line-height: 1.5; color: var(--prosa); cursor: pointer; box-shadow: none;
  transition: background .18s var(--sal), border-color .18s var(--sal), color .18s var(--sal);
}
#fc-hm#fc-hm .fc-hm-probar button:hover { background: #fff; border-color: var(--navy); color: var(--tinta); }

#fc-hm#fc-hm .fc-hm-libre { display: flex; align-items: center; gap: 9px; margin-top: 20px !important; font-size: var(--f-cap) !important; color: var(--tenue) !important; }
#fc-hm .fc-hm-libre i { width: 5px; height: 5px; border-radius: 50%; background: var(--oro-osc); flex: none; }

/* -- las acciones: la tarjeta para descargar y compartir -- */
#fc-hm .fc-hm-acciones {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 26px;
  margin-top: clamp(26px, 2.6vw, 34px); padding-top: clamp(22px, 2.2vw, 28px);
  border-top: 1px solid var(--filete2); max-width: 560px;
}
#fc-hm .fc-hm-btn--accion svg.ic { color: var(--oro); width: 19px; height: 19px; }

/* compartir — los círculos de los blogs (fc_ba_compartir), mismas medidas */
#fc-hm .fc-hm-comp { position: relative; }
#fc-hm#fc-hm .fc-hm-comp__eye {
  margin: 0 0 9px !important; font-size: 10.5px !important; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--tenue) !important;
}
#fc-hm#fc-hm .fc-hm-comp__lista { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
#fc-hm#fc-hm .fc-hm-comp__lista li { margin: 0; padding: 0; }
#fc-hm#fc-hm .fc-hm-comp__b {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0;
  border-radius: 50%; background: rgba(255,255,255,.78); border: 1px solid var(--filete);
  cursor: pointer; color: var(--tenue); text-decoration: none !important; padding: 0;
  box-shadow: none !important;
  transition: background .2s var(--sal), color .2s var(--sal), transform .2s var(--sal), border-color .2s var(--sal);
}
#fc-hm .fc-hm-comp__b svg { width: 17px; height: 17px; display: block; }
#fc-hm#fc-hm .fc-hm-comp__b:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
#fc-hm#fc-hm .fc-hm-comp__b.ok { background: var(--navy); border-color: var(--navy); color: #fff; }
#fc-hm#fc-hm .fc-hm-comp__aviso {
  position: absolute; left: 0; top: 100%; margin: 6px 0 0 !important; white-space: nowrap;
  font-size: 12.5px !important; color: var(--tenue) !important; opacity: 0; transition: opacity .2s var(--sal);
}
#fc-hm#fc-hm .fc-hm-comp__aviso.on { opacity: 1; }

/* ===========================================================================
   LA TARJETA DEL RESULTADO
   ======================================================================== */
#fc-hm .fc-hm-tarj {
  position: relative;
  background: #fff; border: 1px solid var(--filete); border-radius: var(--r);
  box-shadow: var(--sombra); overflow: hidden; display: flex; flex-direction: column;
}
/* 🔴 MIENTRAS SE CUENTA, LA TARJETA NO SE APAGA (owner, 2026-10-05: «el globo se queda medio transparente unos
   microsegundos hasta que se actualiza»). Se queda el resultado anterior entero y una línea dorada fina recorre el
   borde de arriba: se ve que algo pasa sin que nada parpadee. */
#fc-hm .fc-hm-tarj::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, rgba(201,168,76,0), var(--oro) 50%, rgba(201,168,76,0));
  transform: translateX(-100%); opacity: 0; transition: opacity .2s var(--sal);
}
#fc-hm .fc-hm-tarj.cargando::after { opacity: 1; animation: fc-hm-carga .9s var(--sal) infinite; }
@keyframes fc-hm-carga { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
#fc-hm .fc-hm-tarj:empty { min-height: 640px; }
@media (max-width: 940px) { #fc-hm .fc-hm-tarj:empty { min-height: 720px; } }
@keyframes fc-hm-entra { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#fc-hm .fc-hm-tarj [data-entra] { animation: fc-hm-entra .46s var(--sal) both; }
/* con reduced-motion se ATENÚA, no se apaga (la PC del owner la tiene activa) */
@media (prefers-reduced-motion: reduce) { #fc-hm .fc-hm-tarj [data-entra] { animation-duration: .2s !important; } }

#fc-hm .fc-hm-tarj-top { padding: 20px 26px 16px; border-bottom: 1px solid var(--filete2); background: linear-gradient(180deg, #fff, var(--papel3)); }
#fc-hm#fc-hm .fc-hm-tarj-eye {
  display: flex; align-items: center; gap: 8px;
  font-size: 10.5px !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tenue) !important; margin-bottom: 8px !important;
}
#fc-hm .fc-hm-tarj-eye svg { width: 15px; height: 15px; color: var(--oro-osc); flex: none; }
/* la bandera del país del titular: 11 × 8, con un filete fino para que la blanca no se pierda sobre el papel */
#fc-hm .fc-hm-tarj-eye svg[viewBox="0 0 12 8"], #fc-hm .fc-hm-pb .pn svg, #fc-hm .fc-hm-visita svg { width: 16px; height: 11px; border-radius: 1.5px; box-shadow: 0 0 0 .5px rgba(20,35,46,.18); flex: none; }

/* 🔴 EL AVISO AL VISITANTE DE UN PAÍS SIN DATOS: lo primero de la tarjeta, con su bandera. No es un error: es la
   página diciéndole que sabe dónde está y por qué le muestra otro país. */
#fc-hm#fc-hm .fc-hm-visita {
  display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 0 !important; padding-top: 10px;
  border-top: 1px solid var(--filete2);
  font-size: 13px !important; line-height: 1.45; color: var(--prosa) !important;
}
#fc-hm .fc-hm-visita svg { margin-top: 3px; }

/* el apellido país por país — el «Where it lives» de /surnames/ (fc-sn-barra), mismas proporciones */
#fc-hm .fc-hm-pb { display: grid; grid-template-columns: 128px 1fr auto; align-items: center; gap: 11px; margin-bottom: 10px; }
#fc-hm .fc-hm-pb:last-of-type { margin-bottom: 0; }
#fc-hm .fc-hm-pb .pn { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; color: var(--prosa); }
#fc-hm .fc-hm-pb .pn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#fc-hm .fc-hm-pb.es .pn span { color: var(--tinta); font-weight: 600; }
#fc-hm .fc-hm-pb .pv { height: 8px; background: var(--papel2); border-radius: var(--pill); overflow: hidden; }
#fc-hm .fc-hm-pb .pv i { display: block; height: 100%; width: 0; border-radius: var(--pill); background: linear-gradient(90deg, #E8D08A, var(--oro), var(--oro-osc)); transition: width .8s var(--sal); }
#fc-hm .fc-hm-pb .pc { font-size: 12.5px; color: var(--tinta); font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; text-align: right; }
#fc-hm .fc-hm-pb .pc s { text-decoration: none; font-weight: 400; font-size: 11px; color: var(--tenue); }
#fc-hm#fc-hm .fc-hm-mas { margin-top: 10px !important; font-size: 12px !important; color: var(--tenue) !important; }
@media (prefers-reduced-motion: reduce) { #fc-hm .fc-hm-pb .pv i { transition-duration: .55s; } }
#fc-hm#fc-hm .fc-hm-tarj-nom {
  font-size: clamp(26px, 1.5vw + 20px, 34px) !important; font-weight: 300; letter-spacing: -.02em;
  line-height: 1.12 !important; color: var(--tinta) !important; overflow-wrap: anywhere;
}
#fc-hm .fc-hm-tarj-cuerpo { padding: 22px 26px 22px; }

/* la cifra grande */
#fc-hm .fc-hm-cifra { padding-bottom: 20px; margin-bottom: 18px; border-bottom: 1px solid var(--filete2); }
#fc-hm#fc-hm .fc-hm-num-pre { font-size: var(--f-cap) !important; color: var(--tenue) !important; margin-bottom: 2px !important; }
#fc-hm#fc-hm .fc-hm-num {
  font-size: clamp(56px, 3.4vw + 26px, 78px) !important; font-weight: 300; letter-spacing: -.04em;
  line-height: 1 !important; color: var(--navy) !important; font-variant-numeric: tabular-nums;
  margin: 0 0 8px -3px !important;
}
#fc-hm#fc-hm .fc-hm-num-l { font-size: var(--f-body) !important; color: var(--prosa) !important; line-height: 1.45; }
#fc-hm .fc-hm-num-l b { color: var(--tinta); font-weight: 600; }
#fc-hm#fc-hm .fc-hm-unoen {
  display: inline-flex; align-items: baseline; gap: 9px; margin-top: 12px !important;
  font-size: var(--f-cap) !important; color: var(--prosa) !important;
  background: rgba(201,168,76,.10); border-radius: var(--pill); padding: 5px 13px 5px 11px;
}
#fc-hm .fc-hm-unoen b { color: var(--tinta); font-weight: 600; font-variant-numeric: tabular-nums; }
#fc-hm .fc-hm-unoen i { width: 5px; height: 5px; border-radius: 50%; background: var(--oro-osc); flex: none; align-self: center; }
/* la cifra de bebés del país del visitante (pildoraBebes): la misma píldora; si ocupa dos renglones, el punto arriba */
#fc-hm .fc-hm-bebes i { align-self: flex-start; margin-top: .55em; }

#fc-hm .fc-hm-blq { margin-bottom: 18px; }
#fc-hm .fc-hm-blq:last-child { margin-bottom: 0; }
#fc-hm .fc-hm-blq-t {
  font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tenue); margin-bottom: 11px; display: flex; align-items: center; gap: 10px;
}
#fc-hm .fc-hm-blq-t::after { content: ""; flex: 1; height: 1px; background: var(--filete2); }

/* la escala de rareza: cinco tramos y un marcador.
   ⚠️ El marcador se mueve con `transform`, no con `left`: animar `left` se
   congela en Safari a mitad de camino (ya pasó en el sitio). */
#fc-hm#fc-hm .fc-hm-veredicto { font-size: 15.5px !important; color: var(--prosa) !important; margin-bottom: 12px !important; line-height: 1.45; }
#fc-hm .fc-hm-veredicto b { color: var(--tinta); font-weight: 600; }
#fc-hm .fc-hm-esc { position: relative; padding: 5px 0; }
#fc-hm .fc-hm-esc-tr { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
#fc-hm .fc-hm-esc-tr span { height: 8px; background: var(--papel2); border-radius: 2px; position: relative; overflow: hidden; }
#fc-hm .fc-hm-esc-tr span:first-child { border-radius: var(--pill) 2px 2px var(--pill); }
#fc-hm .fc-hm-esc-tr span:last-child  { border-radius: 2px var(--pill) var(--pill) 2px; }
#fc-hm .fc-hm-esc-tr span::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #E8D08A, var(--oro));
  transform: scaleX(0); transform-origin: left center; transition: transform .45s var(--sal);
}
#fc-hm .fc-hm-esc-tr span.on::after { transform: scaleX(1); }
#fc-hm .fc-hm-esc-tr span.on + span.on::after { transition-delay: .08s; }
#fc-hm .fc-hm-esc-m { position: absolute; left: 0; right: 0; top: 50%; height: 0; transform: translateX(0); transition: transform .9s var(--sal); pointer-events: none; }
#fc-hm .fc-hm-esc-m i {
  position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy); border: 3px solid #fff; box-shadow: 0 1px 2px rgba(20,35,46,.2), 0 4px 12px rgba(17,43,61,.28);
}
#fc-hm .fc-hm-esc-l { display: flex; justify-content: space-between; margin-top: 9px; font-size: 12px; color: var(--tenue); }
@media (prefers-reduced-motion: reduce) {
  #fc-hm .fc-hm-esc-m { transition-duration: .35s; }
  #fc-hm .fc-hm-esc-tr span::after { transition-duration: .2s; }
}

/* los dos nombres, por separado */
#fc-hm .fc-hm-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#fc-hm .fc-hm-dato { background: var(--gris); border-radius: var(--r); padding: 12px 14px; border-left: 2px solid var(--oro); min-width: 0; }
#fc-hm .fc-hm-dato .v { font-size: 21px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; color: var(--tinta); }
#fc-hm .fc-hm-dato .l { font-size: 12.5px; color: var(--tenue); margin-top: 4px; line-height: 1.4; }
#fc-hm .fc-hm-dato .l b { color: var(--prosa); font-weight: 600; }

#fc-hm#fc-hm .fc-hm-nota {
  font-size: var(--f-cap) !important; color: var(--prosa) !important; line-height: 1.55;
  padding: 13px 16px; border-left: 2px solid var(--oro); background: rgba(201,168,76,.07); border-radius: 0 var(--r) var(--r) 0;
}
#fc-hm .fc-hm-nota b { color: var(--tinta); font-weight: 600; }

#fc-hm#fc-hm .fc-hm-fuente {
  font-size: 11.5px !important; color: var(--tenue) !important; line-height: 1.5;
  margin-top: 16px !important; padding-top: 12px; border-top: 1px solid var(--filete2);
}
#fc-hm#fc-hm .fc-hm-fuente a { color: var(--tenue); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--filete); }
#fc-hm#fc-hm .fc-hm-fuente a:hover { color: var(--navy); text-decoration-color: currentColor; }

/* el enlace a la página del apellido: el pie de la tarjeta */
#fc-hm#fc-hm .fc-hm-ficha {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 26px; border-top: 1px solid var(--filete2); background: var(--papel3);
  color: var(--tinta) !important; font-size: 15px; font-weight: 600; letter-spacing: -.004em;
  transition: background .2s var(--sal);
}
#fc-hm .fc-hm-ficha small { display: block; font-size: 12.5px; font-weight: 400; color: var(--tenue); margin-top: 1px; letter-spacing: 0; }
#fc-hm .fc-hm-ficha svg { width: 18px; height: 18px; color: var(--oro-osc); flex: none; transition: transform .25s var(--sal); }
#fc-hm#fc-hm .fc-hm-ficha:hover { background: var(--papel); }
#fc-hm .fc-hm-ficha:hover svg { transform: translateX(3px); }

/* ===========================================================================
   2 · EL VOLUMEN — el puente al Heritage Volume, justo después del resultado
   La foto (el reporte en el teléfono, recortada) se apoya en el borde de abajo de la banda: la banda no lleva
   aire abajo en la columna de la foto, sí en la del texto. Entra deslizándose desde la derecha atada al scroll
   (name-count.js, [data-hm-desliza]) — el patrón de la portada: reversible y atenuado, no apagado.
   ======================================================================== */
#fc-hm .fc-hm-tomo { padding-bottom: 0; overflow: hidden; }
#fc-hm .fc-hm-tomo-g { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(26px, 4vw, 64px); align-items: end; }
#fc-hm .fc-hm-tomo-txt { padding-bottom: var(--aire); }
#fc-hm#fc-hm .fc-hm-tomo-cuantos {
  font-size: clamp(19px, .8vw + 15.5px, 25px) !important; font-weight: 300; letter-spacing: -.01em; line-height: 1.35;
  color: var(--prosa) !important; margin: 0 0 10px !important;
}
#fc-hm .fc-hm-tomo-cuantos span { color: var(--tinta); font-weight: 600; font-variant-numeric: tabular-nums; }
#fc-hm#fc-hm .fc-hm-tomo-txt .fc-hm-lede { max-width: 44ch; }
#fc-hm .fc-hm-tomo-txt .fc-hm-lede b { color: var(--tinta); font-weight: 600; }
#fc-hm .fc-hm-tomo-acc { margin-top: clamp(26px, 2.6vw, 34px); }
#fc-hm#fc-hm .fc-hm-tomo-nota { display: flex; align-items: center; gap: 9px; margin-top: 14px !important; font-size: var(--f-cap) !important; color: var(--tenue) !important; }
#fc-hm .fc-hm-tomo-nota i { width: 5px; height: 5px; border-radius: 50%; background: var(--oro-osc); flex: none; }
#fc-hm .fc-hm-tomo-img { align-self: end; justify-self: end; width: min(100%, 470px); will-change: transform; }
#fc-hm .fc-hm-tomo-img img { width: 100%; height: auto; display: block; }

/* ===========================================================================
   3 · LOS DIEZ MÁS COMUNES
   ======================================================================== */
#fc-hm .fc-hm-top-g { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 5vw, 84px); align-items: start; }
#fc-hm .fc-hm-top-txt { position: sticky; top: calc(var(--fc-header-height, 72px) + 28px); }
#fc-hm#fc-hm .fc-hm-top-txt .fc-hm-lede { max-width: 30ch; }
#fc-hm#fc-hm .fc-hm-lista { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--filete); counter-reset: none; }
#fc-hm#fc-hm .fc-hm-lista li { margin: 0; padding: 0; border-bottom: 1px solid var(--filete2); }
#fc-hm#fc-hm .fc-hm-fila {
  display: grid; grid-template-columns: 40px 1fr auto 22px; grid-template-areas: "pos nm ct fl" "pos br br br";
  align-items: center; column-gap: 14px; row-gap: 9px; padding: 15px 14px 16px 6px;
  color: var(--tinta) !important; transition: background .2s var(--sal);
}
#fc-hm .fc-hm-fila .pos { grid-area: pos; align-self: start; padding-top: 3px; font-size: 13px; font-weight: 600; color: var(--oro-osc); font-variant-numeric: tabular-nums; }
#fc-hm .fc-hm-fila .nm { grid-area: nm; font-size: clamp(16.5px, .3vw + 15.3px, 18.5px); font-weight: 600; letter-spacing: -.008em; color: var(--tinta); }
#fc-hm .fc-hm-fila .ct { grid-area: ct; font-size: 15px; font-weight: 500; color: var(--prosa); font-variant-numeric: tabular-nums; }
#fc-hm .fc-hm-fila .fl { grid-area: fl; width: 18px; height: 18px; color: var(--oro-osc); opacity: 0; transform: translateX(-6px); transition: opacity .2s var(--sal), transform .25s var(--sal); }
#fc-hm .fc-hm-fila .br { grid-area: br; height: 4px; background: var(--papel2); border-radius: var(--pill); overflow: hidden; }
#fc-hm .fc-hm-fila .br i {
  display: block; height: 100%; width: var(--p); border-radius: var(--pill);
  background: linear-gradient(90deg, #E8D08A, var(--oro), var(--oro-osc));
  transform: scaleX(1); transform-origin: left center;
}
/* 🔴 CADA BARRA SE LLENA CUANDO SU FILA ENTRA EN PANTALLA, no todas juntas al asomar la lista: con el disparo único
   las de abajo ya estaban llenas cuando la persona llegaba a verlas, y parecía que no había animación (owner,
   2026-10-05). El retardo lo pone el JS (--d) para que las que entran juntas se llenen en cascada. */
#fc-hm.js .fc-hm-lista .fc-hm-fila .br i { transform: scaleX(0); transition: transform 1.15s var(--sal) var(--d, 0s); }
#fc-hm.js .fc-hm-lista .fc-hm-fila.vis .br i { transform: scaleX(1); }
#fc-hm.js .fc-hm-lista .fc-hm-fila .nm, #fc-hm.js .fc-hm-lista .fc-hm-fila .ct, #fc-hm.js .fc-hm-lista .fc-hm-fila .pos { opacity: 0; transform: translateY(8px); transition: opacity .55s var(--sal) var(--d, 0s), transform .55s var(--sal) var(--d, 0s); }
#fc-hm.js .fc-hm-lista .fc-hm-fila.vis .nm, #fc-hm.js .fc-hm-lista .fc-hm-fila.vis .ct, #fc-hm.js .fc-hm-lista .fc-hm-fila.vis .pos { opacity: 1; transform: none; }
#fc-hm#fc-hm .fc-hm-fila:hover, #fc-hm#fc-hm .fc-hm-fila:focus-visible { background: var(--papel3); }
#fc-hm#fc-hm .fc-hm-top-fuente { grid-column: 2; margin-top: 14px !important; font-size: 12px !important; line-height: 1.5; color: var(--tenue) !important; }
#fc-hm .fc-hm-top-fuente[hidden] { display: none; }
#fc-hm .fc-hm-fila:hover .nm { color: var(--navy); }
#fc-hm .fc-hm-fila:hover .fl, #fc-hm .fc-hm-fila:focus-visible .fl { opacity: 1; transform: none; }

/* ===========================================================================
   3 · CÓMO CONTAMOS — tres pasos que se TRAZAN al entrar
   El filete de arriba de cada paso se dibuja de izquierda a derecha, uno
   detrás del otro, y el icono se traza como el sello de la portada
   (fc-ab-traza: stroke-dashoffset a 0). `pathLength="1"` en cada trazo deja
   el largo en 1 sin medir nada.
   ======================================================================== */
#fc-hm#fc-hm .fc-hm-pasos {
  list-style: none; margin: clamp(34px, 3.8vw, 52px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 46px);
}
#fc-hm#fc-hm .fc-hm-paso { margin: 0; padding: 22px 0 0; position: relative; }
#fc-hm .fc-hm-paso::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(201,168,76,.42); transform-origin: left center; }
#fc-hm .fc-hm-ico { width: 46px; height: 46px; display: block; margin-bottom: 18px; fill: none; stroke: var(--oro); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#fc-hm .fc-hm-paso-n { font-size: clamp(30px, 2.5vw + 18px, 46px); font-weight: 300; letter-spacing: -.03em; color: var(--oro); font-variant-numeric: tabular-nums; line-height: 1.04; }
#fc-hm#fc-hm .fc-hm-paso h3 { font-size: clamp(17px, .3vw + 16px, 19.5px) !important; margin: 6px 0 8px; }
#fc-hm#fc-hm .fc-hm-paso p { font-size: var(--f-cap) !important; color: #AEB8C0 !important; line-height: 1.55; max-width: 34ch; }

#fc-hm.js .fc-hm-pasos .fc-hm-paso::before { transform: scaleX(0); }
#fc-hm.js .fc-hm-pasos .fc-hm-ico path, #fc-hm.js .fc-hm-pasos .fc-hm-ico circle { stroke-dasharray: 1; stroke-dashoffset: 1; }
#fc-hm.js .fc-hm-pasos .fc-hm-paso > :not(svg):not(.fc-hm-paso-n) { opacity: 0; transform: translateY(10px); }
#fc-hm.js .fc-hm-pasos.vis .fc-hm-paso::before { transform: scaleX(1); transition: transform .8s var(--mov) calc(var(--k) * 260ms); }
#fc-hm.js .fc-hm-pasos.vis .fc-hm-ico path, #fc-hm.js .fc-hm-pasos.vis .fc-hm-ico circle { animation: fc-hm-traza 1.1s var(--sal) calc(var(--k) * 260ms + .25s) forwards; }
#fc-hm.js .fc-hm-pasos.vis .fc-hm-paso > :not(svg):not(.fc-hm-paso-n) { opacity: 1; transform: none; transition: opacity .6s var(--sal) calc(var(--k) * 260ms + .45s), transform .6s var(--sal) calc(var(--k) * 260ms + .45s); }
#fc-hm .fc-hm-paso:nth-child(1) { --k: 0; }
#fc-hm .fc-hm-paso:nth-child(2) { --k: 1; }
#fc-hm .fc-hm-paso:nth-child(3) { --k: 2; }
@keyframes fc-hm-traza { to { stroke-dashoffset: 0; } }

/* la comparación con un ejemplo real */
#fc-hm .fc-hm-compara {
  margin-top: clamp(40px, 4.4vw, 64px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 3.4vw, 56px); align-items: center;
  border: 1px solid rgba(219,208,188,.15); border-radius: var(--r); background: rgba(255,255,255,.028);
  padding: clamp(24px, 2.8vw, 40px);
}
#fc-hm#fc-hm .fc-hm-compara-eye { font-size: var(--f-eye) !important; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--oro) !important; margin-bottom: 10px !important; }
#fc-hm#fc-hm .fc-hm-compara-t { font-size: clamp(17px, .5vw + 15.5px, 20px) !important; color: #E4DED3 !important; line-height: 1.5; font-weight: 300; }
#fc-hm#fc-hm .fc-hm-compara-nom { font-size: 13px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #F6F1E8 !important; margin-bottom: 14px !important; }
#fc-hm .fc-hm-cb { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "l v" "b b"; row-gap: 8px; margin-bottom: 16px; }
#fc-hm .fc-hm-cb .l { grid-area: l; font-size: 14px; color: #C3CBD2; }
#fc-hm .fc-hm-cb .v { grid-area: v; font-size: 19px; font-weight: 600; color: #F6F1E8; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
#fc-hm .fc-hm-cb .b { grid-area: b; height: 10px; background: rgba(255,255,255,.07); border-radius: var(--pill); overflow: hidden; }
#fc-hm .fc-hm-cb .b i { display: block; height: 100%; width: var(--p); border-radius: var(--pill); background: rgba(195,203,210,.42); transform-origin: left center; }
#fc-hm .fc-hm-cb--nuestra .b i { background: linear-gradient(90deg, #E8D08A, var(--oro)); }
#fc-hm .fc-hm-cb--nuestra .l { color: #F6F1E8; font-weight: 600; }
#fc-hm.js .fc-hm-compara .fc-hm-cb .b i { transform: scaleX(0); }
#fc-hm.js .fc-hm-compara.vis .fc-hm-cb .b i { transform: scaleX(1); transition: transform 1.1s var(--sal) .3s; }
#fc-hm.js .fc-hm-compara.vis .fc-hm-cb + .fc-hm-cb .b i { transition-delay: .55s; }
#fc-hm#fc-hm .fc-hm-compara-pie { font-size: var(--f-cap) !important; color: var(--oro) !important; margin-top: 4px !important; }

/* LAS FUENTES: UN RENGLÓN QUE SE DESPLIEGA (owner, 2026-10-05). El mismo acordeón que las preguntas de la
   portada —grid-template-rows 0fr → 1fr, la cruz dorada que se vuelve guion— sobre fondo oscuro. */
#fc-hm .fc-hm-fuentes { margin-top: clamp(28px, 3vw, 42px); border-top: 1px solid rgba(201,168,76,.22); border-bottom: 1px solid rgba(201,168,76,.22); }
#fc-hm#fc-hm .fc-hm-fuentes-b {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 56px; padding: 14px 2px; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer;
  text-align: left; font-family: inherit; font-weight: 400; font-size: var(--f-cap); line-height: 1.4; color: #93A0AA;
  transition: color .2s var(--sal);
}
#fc-hm .fc-hm-fuentes-b b { color: #C3CBD2; font-weight: 600; transition: color .2s var(--sal); }
#fc-hm#fc-hm .fc-hm-fuentes-b:hover, #fc-hm#fc-hm .fc-hm-fuentes-b:focus { background: none; color: #C3CBD2; }
#fc-hm .fc-hm-fuentes-b:hover b { color: var(--oro); }
#fc-hm .fc-hm-fuentes .fc-hm-faq-cruz::before, #fc-hm .fc-hm-fuentes .fc-hm-faq-cruz::after { background: var(--oro); }
#fc-hm .fc-hm-fuentes-b[aria-expanded="true"] .fc-hm-faq-cruz::after { transform: rotate(0deg); }
#fc-hm.js .fc-hm-fuentes-r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 360ms var(--mov); }
#fc-hm.js .fc-hm-fuentes[data-abierto="1"] .fc-hm-fuentes-r { grid-template-rows: 1fr; }
#fc-hm .fc-hm-fuentes-r > div { overflow: hidden; }
#fc-hm#fc-hm .fc-hm-fuentes-r ul { list-style: none; margin: 0; padding: 2px 0 6px; max-width: 96ch; }
#fc-hm#fc-hm .fc-hm-fuentes-r li {
  margin: 0; padding: 9px 0; border-top: 1px solid rgba(219,208,188,.08);
  font-size: 13px; line-height: 1.55; color: #93A0AA;
}
#fc-hm .fc-hm-fuentes-r li:first-child { border-top: 0; }
#fc-hm .fc-hm-fuentes-r li b { color: #C3CBD2; font-weight: 600; }
#fc-hm#fc-hm .fc-hm-fuentes-r p { font-size: 12.5px !important; color: #7F8C96 !important; padding: 4px 0 18px; max-width: 96ch; }

/* ===========================================================================
   4 · FAQ — el acordeón de la portada (grid-template-rows 0fr → 1fr)
   ======================================================================== */
#fc-hm .fc-hm-faq-g { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(26px, 5vw, 84px); align-items: start; }
#fc-hm .fc-hm-faq-lista { border-top: 1px solid var(--filete); }
#fc-hm .fc-hm-faq-item { border-bottom: 1px solid var(--filete); }
#fc-hm#fc-hm .fc-hm-faq-h { margin: 0; font-size: inherit !important; font-weight: inherit !important; line-height: inherit !important; }
#fc-hm#fc-hm .fc-hm-faq-b {
  width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 4px; margin: 0; background: none; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; text-align: left;
  font-family: inherit; font-weight: 400; font-size: clamp(17.5px, .4vw + 16px, 21px); line-height: 1.3; color: var(--tinta);
}
#fc-hm#fc-hm .fc-hm-faq-b:hover, #fc-hm#fc-hm .fc-hm-faq-b:focus { background: none; color: var(--navy); }
#fc-hm .fc-hm-faq-cruz { flex: 0 0 auto; width: 18px; height: 18px; position: relative; }
#fc-hm .fc-hm-faq-cruz::before, #fc-hm .fc-hm-faq-cruz::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.5px; background: var(--oro-osc); transition: transform 260ms var(--sal);
}
#fc-hm .fc-hm-faq-cruz::after { transform: rotate(90deg); }
#fc-hm .fc-hm-faq-b[aria-expanded="true"] .fc-hm-faq-cruz::after { transform: rotate(0deg); }
#fc-hm.js .fc-hm-faq-r { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--mov); }
#fc-hm.js .fc-hm-faq-item[data-abierto="1"] .fc-hm-faq-r { grid-template-rows: 1fr; }
#fc-hm .fc-hm-faq-r > div { overflow: hidden; }
#fc-hm#fc-hm .fc-hm-faq-r p { padding: 0 44px 22px 4px; max-width: 64ch; line-height: 1.62; }

/* ===========================================================================
   5 · EL CIERRE
   ======================================================================== */
#fc-hm .fc-hm-cierre-g { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(26px, 4vw, 64px); align-items: center; }
#fc-hm .fc-hm-cierre-b { display: flex; justify-content: flex-start; }

/* ===========================================================================
   APARICIÓN — visible por defecto; la clase que esconde la pone el JS, y con
   reduced-motion no se esconde nada (lo que comunica se atenúa, no se apaga).
   ======================================================================== */
#fc-hm.js .fc-hm-rev { opacity: 0; transform: translateY(16px); }
#fc-hm.js .fc-hm-rev.vis { opacity: 1; transform: none; transition: opacity .66s var(--sal), transform .66s var(--sal); }
/* 🔴 CON REDUCED-MOTION SE ATENÚA, NUNCA SE APAGA. La PC del owner la tiene activa (y buena parte del público 55+):
   la versión anterior, copiada de surnames.css, ponía todo visible de entrada — para él la página no tenía NINGUNA
   animación. Regla del proyecto (reference_reduced_motion_owner): menos recorrido y algo más corto, mismas
   apariciones, mismos retardos en cascada. */
@media (prefers-reduced-motion: reduce) {
  #fc-hm.js .fc-hm-rev { transform: translateY(8px); }
  #fc-hm.js .fc-hm-rev.vis { transform: none; transition: opacity .55s var(--sal), transform .55s var(--sal); }
  #fc-hm.js .fc-hm-pasos .fc-hm-paso > :not(svg):not(.fc-hm-paso-n) { transform: translateY(5px); }
  #fc-hm.js .fc-hm-pasos.vis .fc-hm-ico path, #fc-hm.js .fc-hm-pasos.vis .fc-hm-ico circle { animation-duration: .8s; }
  #fc-hm.js .fc-hm-lista .fc-hm-fila .br i { transition-duration: .8s; }
  #fc-hm.js .fc-hm-lista .fc-hm-fila .nm, #fc-hm.js .fc-hm-lista .fc-hm-fila .ct, #fc-hm.js .fc-hm-lista .fc-hm-fila .pos { transform: translateY(4px); }
  #fc-hm.js .fc-hm-compara.vis .fc-hm-cb .b i { transition-duration: .8s; }
}

/* ===========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1080px) {
  #fc-hm .fc-hm-compara { grid-template-columns: 1fr; }
}
@media (max-width: 940px) {
  #fc-hm .fc-hm-hero-g { grid-template-columns: 1fr; gap: 30px; }
  #fc-hm .fc-hm-form, #fc-hm .fc-hm-acciones { max-width: none; }
  /* las píldoras de ejemplo se van en el teléfono (ver surnames.css) */
  #fc-hm .fc-hm-probar { display: none; }

  /* 🔴 LAS ACCIONES, DESPUÉS DE LA TARJETA: las baja name-count.js a este
     mismo corte. Acá sólo se visten. */
  #fc-hm .fc-hm-acciones { margin-top: -6px; padding-top: 0; border-top: 0; flex-direction: column; align-items: stretch; gap: 22px; }
  #fc-hm#fc-hm .fc-hm-btn--accion { width: 100%; height: 54px; line-height: 54px; }
  #fc-hm .fc-hm-comp { display: flex; flex-direction: column; align-items: center; }
  #fc-hm#fc-hm .fc-hm-comp__lista { gap: 10px; justify-content: center; }
  #fc-hm#fc-hm .fc-hm-comp__b { width: 46px; height: 46px; }
  #fc-hm .fc-hm-comp__b svg { width: 19px; height: 19px; }
  #fc-hm#fc-hm .fc-hm-comp__aviso { left: 50%; transform: translateX(-50%); }

  #fc-hm .fc-hm-top-g, #fc-hm .fc-hm-faq-g, #fc-hm .fc-hm-cierre-g { grid-template-columns: 1fr; gap: 28px; }
  #fc-hm .fc-hm-tomo-g { grid-template-columns: 1fr; gap: 6px; }
  #fc-hm .fc-hm-tomo-txt { padding-bottom: 0; }
  #fc-hm .fc-hm-tomo-img { justify-self: center; width: min(84%, 380px); }
  #fc-hm .fc-hm-top-txt { position: static; }
  #fc-hm#fc-hm .fc-hm-top-fuente { grid-column: 1; }
  #fc-hm#fc-hm .fc-hm-pasos { grid-template-columns: 1fr; gap: 34px; }
  #fc-hm#fc-hm .fc-hm-paso { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding-top: 24px; }
  #fc-hm .fc-hm-ico { grid-row: 1 / span 3; margin: 2px 0 0; width: 42px; height: 42px; }

  /* el fondo del teléfono son DOS fotos solapadas con un fundido (ver surnames.css) */
  #fc-hm .fc-hm-foto > .fc-hm-fondo { background-image: var(--img-fondo-movil); background-position: center bottom; background-size: auto 56%; }
  #fc-hm .fc-hm-foto > .fc-hm-fondo::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 56%;
    background-image: var(--img-fondo-movil-alto, var(--img-fondo-movil)); background-size: cover; background-position: center top; background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 80%, transparent 100%);
  }
  #fc-hm .fc-hm-foto > .fc-hm-velo {
    background:
      radial-gradient(520px 170px at 50% 0%, rgba(252,251,248,.72), rgba(252,251,248,0) 78%),
      linear-gradient(180deg, rgba(247,245,240,.86) 0%, rgba(247,245,240,.86) 5%, rgba(247,245,240,.72) 15%,
        rgba(247,245,240,.74) 30%, rgba(247,245,240,.80) 55%, rgba(247,245,240,.62) 100%);
  }
}
/* EL FORMULARIO EN TELÉFONO: dos píldoras, una debajo de la otra, y el botón
   a lo ancho. En una sola píldora de 350 px los dos campos quedaban de 110 px
   y el apellido no entraba. */
@media (max-width: 600px) {
  #fc-hm .fc-hm-campos { display: grid; gap: 10px; background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; }
  #fc-hm .fc-hm-campos:has(input:focus) { outline: 0; }
  #fc-hm .fc-hm-campos:focus-within { box-shadow: none; }
  #fc-hm .fc-hm-campo, #fc-hm .fc-hm-campo--ap {
    background: #fff; border: 1px solid var(--filete); border-radius: var(--pill); box-shadow: var(--sombra);
    padding: 9px 24px 8px; transition: border-color .22s var(--sal), box-shadow .22s var(--sal);
  }
  #fc-hm .fc-hm-campo:focus-within { border-color: var(--navy); outline: 1px solid var(--navy); box-shadow: 0 1px 2px rgba(20,35,46,.05), 0 10px 30px rgba(17,43,61,.14); }
  #fc-hm#fc-hm .fc-hm-campos .fc-hm-btn { width: 100%; height: 54px; line-height: 54px; margin-top: 4px; }
  #fc-hm .fc-hm-sug { top: calc(100% + 8px); width: 100%; }
  #fc-hm .fc-hm-tarj-cuerpo, #fc-hm .fc-hm-tarj-top { padding-inline: 20px; }
  #fc-hm#fc-hm .fc-hm-ficha { padding-inline: 20px; }
  #fc-hm .fc-hm-cierre-b { justify-content: stretch; }
  #fc-hm#fc-hm .fc-hm-btn--oro, #fc-hm#fc-hm .fc-hm-btn--grande { width: 100%; }
  #fc-hm#fc-hm .fc-hm-fila { grid-template-columns: 30px 1fr auto; grid-template-areas: "pos nm ct" "pos br br"; padding-right: 6px; column-gap: 10px; }
  #fc-hm .fc-hm-fila .fl { display: none; }
  #fc-hm#fc-hm .fc-hm-faq-r p { padding-right: 8px; }
}
@media (max-width: 400px) {
  #fc-hm .fc-hm-duo { grid-template-columns: 1fr; }
  #fc-hm .fc-hm-pb { grid-template-columns: 122px 1fr auto; gap: 8px; }
  #fc-hm .fc-hm-pb .pn { font-size: 12.5px; gap: 6px; }
}
