/* ════════════════════════════════════════════════════════════════════════════════════════════════════════
   HERITAILS · LA PORTADA v2 (2026-12-02)
   El chasis del otro negocio (cargador, revelado [data-rev] → .htl-h3-visto, header, cajón, pie) con la portada
   rehecha alrededor del REPORTE, las técnicas medidas de la referencia (revelado 550 ms, CTA con canto y
   brillo, papel rasgado, barra fija en el teléfono, globo de alambre con horizonte de papel, bucles en pausa
   fuera de pantalla) y la muestra animada del reporte al estilo de las demos de la competencia.
   Tipografía: Bricolage Grotesque (títulos) + Rethink Sans (texto). Sin fondos crema.
   ════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ── La portada a todo lo ancho dentro de Astra ── */
body.htl-h3-page { overflow-x: clip; }
body.htl-portada #content.site-content { padding: 0 !important; }
body.htl-portada .site-content > .ast-container { max-width: none !important; padding: 0 !important; display: block; }
body.htl-portada #primary { margin: 0 !important; padding: 0 !important; width: 100%; }
body.htl-portada article.page, body.htl-portada .ast-article-single { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; }
body.htl-portada .entry-header { display: none; }
body.htl-portada .entry-content { margin: 0 !important; max-width: none !important; padding: 0 !important; }

.htl-hp {
  --hp-navy: #112b3d; --hp-navy-2: #0a1c29; --hp-navy-3: #1d4a68; --hp-oro: #c9a84c; --hp-oro-2: #a8873a; --hp-oro-claro: #ecd9a3;
  --hp-tinta: #10202c; --hp-gris: #56636f; --hp-gris-2: #8a96a2; --hp-linea: #e2e7ed; --hp-niebla: #f2f4f7; --hp-cielo: #e6eef5;
  --hp-f-tit: "Bricolage Grotesque", "Rethink Sans", system-ui, sans-serif; --hp-f-txt: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hp-ease: cubic-bezier(0, 0, .58, 1); --hp-ease-cae: cubic-bezier(.28, .75, .3, 1); --hp-ease-ui: cubic-bezier(.4, 0, .2, 1); --hp-ease-out: cubic-bezier(.16, 1, .3, 1);
  --hp-ancho: 1200px;
  color: var(--hp-tinta); font: 400 16px/1.6 var(--hp-f-txt); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.htl-hp *, .htl-hp *::before, .htl-hp *::after { box-sizing: border-box; }
.htl-hp :is(h1, h2, h3, h4, p, ul, dl, dd, dt) { margin: 0; padding: 0; font-weight: 400; letter-spacing: normal; }
.htl-hp :is(h1, h2, h3) { text-wrap: balance; }
.htl-hp p { text-wrap: pretty; }
.htl-hp ul { list-style: none; }
.htl-hp img { max-width: 100%; height: auto; display: block; }
.htl-hp a, .htl-hp a:hover, .htl-hp a:focus { text-decoration: none !important; }
.htl-hp code { font: 600 .92em/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--hp-cielo); color: var(--hp-navy); padding: 2px 6px; border-radius: 6px; }
.htl-hp .hp-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.htl-hp .hp-env { max-width: var(--hp-ancho); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.htl-hp section[id] { scroll-margin-top: 72px; }
.htl-hp :focus-visible { outline: 2px solid var(--hp-oro); outline-offset: 3px; border-radius: 8px; }

/* ── Tipografía ── */
.htl-hp h1 { font: 700 clamp(44px, 5.4vw, 78px)/.98 var(--hp-f-tit); letter-spacing: -.035em; }
.htl-hp h2 { font: 650 clamp(34px, 4.4vw, 58px)/1.03 var(--hp-f-tit); letter-spacing: -.03em; color: var(--hp-navy); }
.htl-hp h3 { font: 650 clamp(21px, 2vw, 26px)/1.15 var(--hp-f-tit); letter-spacing: -.02em; color: var(--hp-navy); }
.htl-hp :is(h1, h2) em { font-style: normal; color: var(--hp-oro); }
.htl-hp .hp-bajada { font-size: clamp(16px, 1.45vw, 18.5px); line-height: 1.6; color: var(--hp-gris); max-width: 58ch; }
.htl-hp .hp-rot { font: 700 12.5px/1.3 var(--hp-f-txt); letter-spacing: .14em; text-transform: uppercase; color: #836728; display: inline-flex; align-items: center; gap: 10px; }
.htl-hp .hp-rot::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
/* el rótulo sobre blanco o gris claro va en #836728 (5,3:1 sobre blanco y ≥ 4,7:1 sobre los grises, WCAG AA; el #a8873a daba 3,39:1: FC 03-12); sobre navy, el claro */
.htl-hp .hp-rot--claro { color: var(--hp-oro-claro); }
/* subrayado de marcador que se dibuja al revelarse */
.htl-hp .hp-subraya { background: linear-gradient(transparent 62%, rgba(201,168,76,.42) 62%, rgba(201,168,76,.42) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size .9s var(--hp-ease-out) .35s; padding: 0 .04em; }
.htl-hp .htl-h3-visto .hp-subraya { background-size: 100% 100%; }
.htl-hp .hp-cab { display: grid; gap: 16px; max-width: 780px; margin-bottom: 44px; }
.htl-hp .hp-cab--centro { text-align: center; justify-items: center; margin-inline: auto; }
.htl-hp .hp-cab--centro .hp-bajada { margin-inline: auto; }

/* ── Botones (la referencia: canto 3D y brillo; acá con relieve, elevación y flecha que avanza) ── */
.htl-hp .hp-btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 15px; cursor: pointer;
  font: 650 17px/1 var(--hp-f-txt); letter-spacing: -.005em; text-transform: none; white-space: nowrap; -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--hp-ease-ui), box-shadow .18s var(--hp-ease-ui), background-color .25s, color .25s; }
.htl-hp .hp-flecha { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--hp-ease-out); }
.htl-hp .hp-btn--oro { background: linear-gradient(180deg, #dcbd63 0%, #c9a84c 55%, #c3a145 100%); color: var(--hp-navy);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,0,0,.08), 0 4px 0 var(--hp-oro-2), 0 14px 28px -12px rgba(201,168,76,.7); }
.htl-hp .hp-btn--oro::after { content: ""; position: absolute; z-index: -1; inset: 0; width: 38%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: translateX(-180%) skewX(-16deg); animation: hp-brillo 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes hp-brillo { 70%, 100% { transform: translateX(360%) skewX(-16deg); } }
.htl-hp .hp-btn--linea { background: transparent; color: var(--hp-navy); box-shadow: inset 0 0 0 1.5px var(--hp-navy); }
.htl-hp .hp-btn--claro { background: #fff; color: var(--hp-navy); box-shadow: 0 4px 0 rgba(255,255,255,.28), 0 14px 28px -14px rgba(0,0,0,.5); }
.htl-hp .hp-btn--ancho { width: 100%; }
@media (hover: hover) {
  .htl-hp .hp-btn--oro:hover { transform: translateY(-2px); color: var(--hp-navy); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.08), 0 6px 0 var(--hp-oro-2), 0 20px 34px -12px rgba(201,168,76,.75); }
  .htl-hp .hp-btn--linea:hover { background: var(--hp-navy); color: #fff; }
  .htl-hp .hp-btn--claro:hover { transform: translateY(-2px); color: var(--hp-navy); }
  .htl-hp .hp-btn:hover .hp-flecha { transform: translateX(4px); }
}
.htl-hp .hp-btn--oro:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 1px 0 var(--hp-oro-2), 0 6px 12px -6px rgba(201,168,76,.6); }
.htl-hp .hp-btn--linea:active, .htl-hp .hp-btn--claro:active { transform: translateY(1px); }

/* ── Papel rasgado ── */
.htl-hp .hp-rasgo { display: block; width: 100%; height: 22px; margin: -21px 0 -1px; position: relative; z-index: 2; }

/* ═══ S1 · HERO ═══ */
.htl-hp .hp-hero { position: relative; background: var(--hp-navy); color: #fff; overflow: hidden; isolation: isolate; }
.htl-hp .hp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .55; background-image: radial-gradient(rgba(236,217,163,.16) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 90% at 76% 50%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 76% 50%, #000, transparent 75%); }
.htl-hp .hp-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(44% 60% at 76% 54%, rgba(201,168,76,.24), transparent 70%), radial-gradient(90% 70% at 0% 0%, rgba(29,74,104,.85), transparent 60%), linear-gradient(180deg, transparent 72%, rgba(10,28,41,.6)); }
.htl-hp .hp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 36px; align-items: center; min-height: min(760px, 88vh); padding-block: 56px 80px; }
.htl-hp .hp-hero__texto { display: flex; flex-direction: column; align-items: flex-start; }
.htl-hp .hp-hero__texto > * { max-width: 100%; }
.htl-hp .hp-pastilla { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: var(--hp-oro-claro); font: 650 13px/1.2 var(--hp-f-txt); letter-spacing: .02em; }
.htl-hp .hp-pastilla__punto { width: 8px; height: 8px; border-radius: 50%; background: var(--hp-oro); animation: hp-late 2s infinite; }
@keyframes hp-late { 0% { box-shadow: 0 0 0 0 rgba(201,168,76,.6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(201,168,76,0); } }
.htl-hp .hp-hero h1 { color: #fff; margin-top: 20px; }
.htl-hp .hp-hero .hp-bajada { color: rgba(255,255,255,.78); margin-top: 20px; }
.htl-hp .hp-form { margin-top: 30px; display: grid; gap: 10px; width: 100%; max-width: 500px; padding: 14px; border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.htl-hp .hp-esp { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0,0,0,.24); }
.htl-hp .hp-esp button { border: 0; border-radius: 11px; padding: 12px 0; min-height: 0; background: transparent; color: rgba(255,255,255,.78); font: 650 15px/1.2 var(--hp-f-txt); cursor: pointer; box-shadow: none; transition: background-color .25s, color .25s; }
.htl-hp .hp-esp button[aria-pressed="true"] { background: #fff; color: var(--hp-navy); box-shadow: 0 2px 8px -2px rgba(0,0,0,.3); }
.htl-hp .hp-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.htl-hp .hp-campo { position: relative; display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--hp-tinta); text-align: left; transition: box-shadow .2s; }
.htl-hp .hp-campo[hidden] { display: none; }
.htl-hp .hp-campo label { font: 650 12px/1.2 var(--hp-f-txt); letter-spacing: .07em; text-transform: uppercase; color: var(--hp-gris); margin: 0; }
.htl-hp .hp-campo :is(input, select) { border: 0 !important; outline: 0; padding: 0 !important; margin: 0; height: auto; min-height: 24px; box-shadow: none !important; background: transparent !important; border-radius: 0;
  font: 500 16px/1.4 var(--hp-f-txt); color: var(--hp-tinta); width: 100%; -webkit-appearance: none; appearance: none; }
.htl-hp .hp-campo select { cursor: pointer; padding-right: 22px !important; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23112b3d' stroke-width='1.6'/%3E%3C/svg%3E") right center / 12px no-repeat !important; }
.htl-hp .hp-campo:focus-within { box-shadow: 0 0 0 3px rgba(201,168,76,.65); }
.htl-hp .hp-viva { min-height: 20px; font-size: 13.5px; color: var(--hp-oro-claro); text-align: center; }
.htl-hp .hp-viva b { color: #fff; font-weight: 650; }
.htl-hp .hp-micro { font-size: 13px; color: rgba(255,255,255,.66); display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; }
.htl-hp .hp-micro span::before { content: "✓"; color: var(--hp-oro); margin-right: 6px; font-weight: 700; }
.htl-hp .hp-tira { display: none; }
/* la escena */
.htl-hp .hp-escena { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 580px; justify-self: end; }
.htl-js .htl-hp .hp-escena[data-rev] { transform: none; }
.htl-hp .hp-pz { position: absolute; will-change: transform; filter: drop-shadow(0 12px 18px rgba(4,14,22,.42)); }
.htl-hp .hp-escena .hp-pz { transform: rotate(var(--r)); }
.htl-hp .hp-pz--mapa { width: 64%; left: -2%; top: 8%; --r: -7deg; }
.htl-hp .hp-pz--lamina { width: 40%; right: 2%; top: 3%; --r: 8deg; }
.htl-hp .hp-pz--lupa { width: 30%; left: 18%; top: 15%; --r: -18deg; z-index: 1; }
/* ⚠️ Las unidades cqw de la propia tarjeta se medirían contra un contenedor ANCESTRO (y no hay: caen al viewport,
   115 px de relleno a 1440 y el texto queda afuera). La tarjeta usa %; sus hijos sí usan cqw de la tarjeta. */
.htl-hp .hp-pz--reporte { width: 33%; left: 1%; bottom: 7%; --r: -9deg; z-index: 2; container-type: inline-size; display: grid; gap: 2px; padding: 8% 8% 7%; border-radius: 16px; background: #fff; color: var(--hp-navy); }
.htl-hp .hp-rep__marca { font: 700 5.4cqw/1.2 var(--hp-f-txt); letter-spacing: .12em; text-transform: uppercase; color: #836728; }
.htl-hp .hp-rep__n { font: 700 15cqw/1 var(--hp-f-tit); letter-spacing: -.03em; margin-top: 3cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htl-hp .hp-rep__r { font: 500 6.6cqw/1.2 var(--hp-f-txt); color: var(--hp-gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htl-hp .hp-rep__caps { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1.8cqw; margin-top: 5cqw; }
.htl-hp .hp-rep__caps i { height: 2.4cqw; border-radius: 2cqw; background: var(--hp-linea); }
.htl-hp .hp-escena.htl-h3-visto .hp-rep__caps i { animation: hp-cap-lleno 3.6s var(--hp-ease-ui) infinite; }
.htl-hp .hp-rep__caps i:nth-child(2) { animation-delay: .15s; } .htl-hp .hp-rep__caps i:nth-child(3) { animation-delay: .3s; } .htl-hp .hp-rep__caps i:nth-child(4) { animation-delay: .45s; }
.htl-hp .hp-rep__caps i:nth-child(5) { animation-delay: .6s; } .htl-hp .hp-rep__caps i:nth-child(6) { animation-delay: .75s; } .htl-hp .hp-rep__caps i:nth-child(7) { animation-delay: .9s; } .htl-hp .hp-rep__caps i:nth-child(8) { animation-delay: 1.05s; }
@keyframes hp-cap-lleno { 0%, 8% { background: var(--hp-linea); } 20%, 82% { background: var(--hp-oro); } 100% { background: var(--hp-linea); } }
.htl-hp .hp-rep__pie { font: 500 5.4cqw/1.3 var(--hp-f-txt); color: #5f6b76; margin-top: 2cqw; }
.htl-hp .hp-pz--mascota { width: 58%; left: 24%; bottom: 0; --r: 0deg; z-index: 3; }
.htl-hp .hp-pz--etiqueta { width: 33%; right: -1%; bottom: 17%; --r: 14deg; z-index: 4; container-type: inline-size; }
.htl-hp .hp-pz--e1 { container-type: inline-size; }
.htl-hp .hp-tag { position: absolute; left: 61%; top: 60%; width: 58%; text-align: center; font: 650 calc(12cqw * var(--tag-k, 1))/1.1 var(--hp-f-tit); letter-spacing: -.02em; color: var(--hp-navy); transform: translate(-50%, -50%) rotate(54deg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htl-hp .hp-pin { position: absolute; z-index: 5; left: 47%; top: 31%; display: flex; align-items: center; gap: 8px; padding: 8px 13px 8px 10px; border-radius: 999px; background: #fff; color: var(--hp-navy); font: 650 13px/1 var(--hp-f-txt); box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); white-space: nowrap; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .45s var(--hp-ease), transform .45s var(--hp-ease); }
.htl-hp .hp-pin.is-on { opacity: 1; transform: none; }
.htl-hp .hp-pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--hp-oro); animation: hp-late 1.8s infinite; }
.htl-hp .hp-escena.htl-h3-visto .hp-pz { opacity: 0; animation: hp-cae 1s var(--hp-ease-cae) forwards, hp-flota 7s ease-in-out infinite alternate; }
.htl-hp .hp-escena.htl-h3-visto .hp-pz--mapa { animation-delay: 0s, 1.1s; } .htl-hp .hp-escena.htl-h3-visto .hp-pz--lamina { animation-delay: .15s, 1.3s; }
.htl-hp .hp-escena.htl-h3-visto .hp-pz--reporte { animation-delay: .42s, 1.6s; } .htl-hp .hp-escena.htl-h3-visto .hp-pz--mascota { animation-delay: .62s, 2s; } .htl-hp .hp-escena.htl-h3-visto .hp-pz--etiqueta { animation-delay: .9s, 2.3s; }
.htl-hp .hp-escena.htl-h3-visto .hp-pz--lupa { animation: hp-cae 1s var(--hp-ease-cae) .3s forwards, hp-lupa 9s ease-in-out 1.4s infinite; }
.htl-hp .hp-escena .hp-pz--mascota.is-nueva { animation: hp-cae .8s var(--hp-ease-cae) both, hp-flota 7s ease-in-out .8s infinite alternate !important; }
@keyframes hp-cae { 0% { opacity: 0; transform: translateY(-110%) rotate(calc(var(--r) - 16deg)); } 55% { opacity: 1; } 78% { transform: translateY(2.5%) rotate(var(--r)); } 100% { opacity: 1; transform: translateY(0) rotate(var(--r)); } }
@keyframes hp-flota { from { transform: translateY(0) rotate(var(--r)); } to { transform: translateY(-6px) rotate(calc(var(--r) + .8deg)); } }
@keyframes hp-lupa { 0%, 100% { opacity: 1; transform: translate(0, 0) rotate(var(--r)); } 33% { opacity: 1; transform: translate(36%, 22%) rotate(calc(var(--r) + 6deg)); } 66% { opacity: 1; transform: translate(8%, 44%) rotate(calc(var(--r) - 4deg)); } }

/* ═══ S2 · FUENTES ═══ */
.htl-hp .hp-fuentes { background: var(--hp-niebla); padding-block: 44px; border-bottom: 1px solid var(--hp-linea); }
.htl-hp .hp-fuentes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.htl-hp .hp-cifra { display: grid; gap: 6px; align-content: start; padding: 4px 26px; border-left: 1px solid var(--hp-linea); }
.htl-hp .hp-cifra:first-child { border-left: 0; padding-left: 0; }
.htl-hp .hp-cifra b { font: 650 clamp(30px, 3.2vw, 42px)/1 var(--hp-f-tit); letter-spacing: -.03em; color: var(--hp-navy); font-variant-numeric: tabular-nums; }
.htl-hp .hp-cifra span { font-size: 14.5px; line-height: 1.4; color: var(--hp-tinta); }
.htl-hp .hp-cifra i { font-style: normal; font-size: 12.5px; color: var(--hp-gris); }

/* ═══ S3 · LA MUESTRA DEL REPORTE ═══ */
.htl-hp .hp-reporte { padding-block: 104px 96px; background: #fff; position: relative; }
.htl-hp .hp-reporte::before { content: ""; position: absolute; inset: 0 0 auto; height: 520px; pointer-events: none; background: radial-gradient(60% 100% at 85% 0%, var(--hp-cielo), transparent 70%); }
.htl-hp .hp-reporte .hp-env { position: relative; }
.htl-hp .hp-visor { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 28px; align-items: start; }
.htl-hp .hp-caps { display: grid; gap: 4px; position: sticky; top: 96px; }
.htl-hp .hp-cap-btn { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; width: 100%; text-align: left; padding: 13px 14px 15px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: var(--hp-tinta); cursor: pointer; box-shadow: none; min-height: 0; font: inherit; transition: background-color .25s, border-color .25s, box-shadow .25s; overflow: hidden; }
.htl-hp .hp-cap-btn__n { font: 650 14px/1.6 var(--hp-f-tit); color: var(--hp-gris-2); transition: color .25s; }
.htl-hp .hp-cap-btn__t { display: grid; gap: 2px; }
.htl-hp .hp-cap-btn__t b { font: 650 15.5px/1.3 var(--hp-f-txt); color: var(--hp-navy); }
.htl-hp .hp-cap-btn__t small { font-size: 13px; line-height: 1.35; color: var(--hp-gris); }
.htl-hp .hp-cap-btn__barra { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.htl-hp .hp-cap-btn__barra i { display: block; height: 100%; width: 0; background: var(--hp-oro); }
.htl-hp .hp-cap-btn[aria-selected="true"] { background: #fff; border-color: var(--hp-linea); box-shadow: 0 14px 30px -20px rgba(17,43,61,.45); }
.htl-hp .hp-cap-btn[aria-selected="true"] .hp-cap-btn__n { color: #836728; }
.htl-hp .hp-cap-btn[aria-selected="true"] .hp-cap-btn__barra { background: var(--hp-niebla); }
.htl-hp .hp-cap-btn.is-corre .hp-cap-btn__barra i { animation: hp-progreso var(--hp-dur, 6s) linear forwards; }
@keyframes hp-progreso { from { width: 0; } to { width: 100%; } }
@media (hover: hover) { .htl-hp .hp-cap-btn:hover { background: var(--hp-niebla); } .htl-hp .hp-cap-btn[aria-selected="true"]:hover { background: #fff; } }
.htl-hp .hp-doc { border-radius: 28px; background: #fff; border: 1px solid var(--hp-linea); box-shadow: 0 50px 90px -50px rgba(17,43,61,.5), 0 2px 6px rgba(17,43,61,.05); overflow: hidden; }
.htl-hp .hp-doc__top { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--hp-linea); background: linear-gradient(180deg, #fbfcfd, #fff); }
.htl-hp .hp-doc__av { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--hp-niebla); border: 2px solid var(--hp-oro); overflow: hidden; display: grid; place-items: center; }
.htl-hp .hp-doc__av img { width: 112%; max-width: none; margin-top: 18%; }
.htl-hp .hp-doc__q { display: grid; gap: 1px; min-width: 0; }
.htl-hp .hp-doc__q b { font: 650 20px/1.1 var(--hp-f-tit); letter-spacing: -.02em; color: var(--hp-navy); }
.htl-hp .hp-doc__q small { font-size: 13px; color: var(--hp-gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htl-hp .hp-doc__sello { margin-left: auto; flex: none; padding: 6px 11px; border-radius: 999px; border: 1.5px dashed var(--hp-oro); color: var(--hp-oro-2); font: 700 12px/1 var(--hp-f-txt); letter-spacing: .1em; text-transform: uppercase; }
.htl-hp .hp-doc__cuerpo { position: relative; padding: 28px 30px 26px; min-height: var(--hp-alto-cap, 480px); }
.htl-hp .hp-cap[hidden] { display: none; }
.htl-hp .hp-cap { display: grid; gap: 18px; align-content: start; }
.htl-hp .hp-cap.is-on > * { animation: hp-sube .6s var(--hp-ease-out) both; }
.htl-hp .hp-cap.is-on > :nth-child(2) { animation-delay: .05s; } .htl-hp .hp-cap.is-on > :nth-child(3) { animation-delay: .14s; } .htl-hp .hp-cap.is-on > :nth-child(4) { animation-delay: .24s; } .htl-hp .hp-cap.is-on > :nth-child(5) { animation-delay: .34s; } .htl-hp .hp-cap.is-on > :nth-child(6) { animation-delay: .44s; }
@keyframes hp-sube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.htl-hp .hp-cap__k { font: 700 12px/1 var(--hp-f-txt); letter-spacing: .14em; text-transform: uppercase; color: #836728; margin-bottom: -10px; }
.htl-hp .hp-cap h3 { font-size: clamp(24px, 2.4vw, 32px); }
.htl-hp .hp-cap__f { font-size: 12.5px; line-height: 1.45; color: var(--hp-gris); padding-top: 12px; border-top: 1px dashed var(--hp-linea); }
.htl-hp .hp-cap__t { color: var(--hp-gris); max-width: 52ch; }
/* mapita de puntos */
.htl-hp .hp-mapita { position: relative; border-radius: 18px; background: linear-gradient(180deg, #f6f8fa, #eef2f6); overflow: hidden; }
.htl-hp .hp-mapita canvas { display: block; width: 100%; height: auto; }
.htl-hp .hp-mapita__pin { position: absolute; left: var(--x, 50%); top: var(--y, 50%); display: flex; align-items: center; gap: 6px; transform: translate(-7px, -50%); opacity: 0; }
.htl-hp .hp-cap.is-on .hp-mapita__pin { animation: hp-sube .5s var(--hp-ease-out) .5s both; }
.htl-hp .hp-cap.is-on .hp-mapita__pin--casa { animation-delay: 1.6s; }
.htl-hp .hp-mapita__pin i { width: 14px; height: 14px; border-radius: 50%; background: var(--hp-oro); border: 2.5px solid #fff; animation: hp-late 1.8s infinite; flex: none; }
.htl-hp .hp-mapita__pin b { font: 650 12.5px/1 var(--hp-f-txt); color: var(--hp-navy); background: #fff; padding: 6px 9px; border-radius: 8px; box-shadow: 0 6px 16px -8px rgba(17,43,61,.45); white-space: nowrap; }
.htl-hp .hp-mapita__pin--casa i { background: var(--hp-navy); animation: none; }
.htl-hp .hp-mapita__pin--izq { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.htl-hp .hp-datos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.htl-hp .hp-datos > div { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--hp-linea); }
.htl-hp .hp-datos dt { font: 650 12px/1.3 var(--hp-f-txt); letter-spacing: .09em; text-transform: uppercase; color: var(--hp-gris); }
.htl-hp .hp-datos dd { font: 600 16px/1.35 var(--hp-f-txt); color: var(--hp-navy); }
.htl-hp .hp-grande { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font: 650 18px/1.3 var(--hp-f-tit); color: var(--hp-navy); }
.htl-hp .hp-grande b { font: 700 clamp(44px, 5vw, 64px)/1 var(--hp-f-tit); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.htl-hp .hp-grande span { flex-basis: 100%; font: 400 15px/1.5 var(--hp-f-txt); color: var(--hp-gris); }
/* árbol */
.htl-hp .hp-arbol { position: relative; aspect-ratio: 520 / 150; max-width: 560px; }
.htl-hp .hp-arbol svg { width: 100%; height: 100%; overflow: visible; }
.htl-hp .hp-arbol__r { fill: none; stroke: var(--hp-navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.htl-hp .hp-arbol__r--gris { stroke: #c9d2dc; stroke-width: 2; }
.htl-hp .hp-arbol__r--oro { stroke: var(--hp-oro); stroke-width: 3.5; }
.htl-hp .hp-cap.is-on .hp-arbol__r { animation: hp-traza 1.2s var(--hp-ease-out) .2s forwards; }
.htl-hp .hp-cap.is-on .hp-arbol__r--oro { animation-delay: .6s; animation-duration: 1.4s; }
@keyframes hp-traza { to { stroke-dashoffset: 0; } }
.htl-hp .hp-arbol__n { fill: #fff; stroke: var(--hp-navy); stroke-width: 2.5; }
.htl-hp .hp-arbol__n--oro { fill: var(--hp-oro); stroke: #fff; stroke-width: 3; }
.htl-hp .hp-arbol__e { position: absolute; left: var(--x); top: var(--y); font: 650 12.5px/1.2 var(--hp-f-txt); color: var(--hp-navy); white-space: nowrap; }
.htl-hp .hp-arbol__e--oro { font: 700 14px/1.2 var(--hp-f-tit); color: #836728; }
.htl-hp .hp-arbol__e--gris { color: var(--hp-gris-2); font-weight: 500; }
.htl-hp .hp-barras { display: grid; gap: 10px; padding: 16px 18px; border-radius: 16px; background: var(--hp-niebla); }
.htl-hp .hp-barras__t { font: 650 12px/1.3 var(--hp-f-txt); letter-spacing: .08em; text-transform: uppercase; color: var(--hp-gris); }
.htl-hp .hp-barra { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) 56px; align-items: center; gap: 12px; font-size: 13.5px; color: var(--hp-tinta); }
.htl-hp .hp-barra i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--hp-oro-2), var(--hp-oro)); width: 0; transition: width 1.2s var(--hp-ease-out) .5s; }
.htl-hp .hp-cap.is-on .hp-barra i { width: calc(var(--v) / 50 * 100%); }
.htl-hp .hp-barra--gris i { background: #b9c4cf; }
.htl-hp .hp-barra b { font: 650 14px/1 var(--hp-f-tit); color: var(--hp-navy); text-align: right; font-variant-numeric: tabular-nums; }
/* rasgos */
.htl-hp .hp-rasgos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.htl-hp .hp-rasgo-c { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 18px; border: 1px solid var(--hp-linea); background: #fff; font-size: 14px; line-height: 1.5; color: var(--hp-gris); }
.htl-hp .hp-rasgo-c b { font: 650 16px/1.25 var(--hp-f-tit); color: var(--hp-navy); letter-spacing: -.01em; }
.htl-hp .hp-rasgo-c em { font-style: italic; color: var(--hp-navy); font-weight: 600; }
.htl-hp .hp-rasgo-c__m { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 4px; }
.htl-hp .hp-rasgo-c__m--color { background: conic-gradient(from 200deg, #f1d58a, #d9a441, #b8792a, #e8c370, #f1d58a); }
.htl-hp .hp-rasgo-c__m--pelo { background: repeating-linear-gradient(115deg, #e8c370 0 5px, #c99436 5px 9px); }
.htl-hp .hp-rasgo-c__m--alto { background: linear-gradient(90deg, var(--hp-navy) 0 3px, transparent 3px) 0 0 / 8px 100%, linear-gradient(var(--hp-cielo), var(--hp-cielo)); }
/* oficio */
.htl-hp .hp-cita { font: 600 clamp(20px, 2.2vw, 26px)/1.3 var(--hp-f-tit); letter-spacing: -.015em; color: var(--hp-navy); padding-left: 18px; border-left: 3px solid var(--hp-oro); max-width: 34ch; }
.htl-hp .hp-habitos { display: grid; gap: 10px; }
.htl-hp .hp-habitos li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: var(--hp-niebla); }
.htl-hp .hp-habitos li::before { content: ""; grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: var(--hp-oro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.4L12 5.4' fill='none' stroke='%23112b3d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.htl-hp .hp-habitos b { font: 650 15.5px/1.3 var(--hp-f-txt); color: var(--hp-navy); }
.htl-hp .hp-habitos span { font-size: 13.5px; color: var(--hp-gris); }
/* línea de vida */
.htl-hp .hp-linea { position: relative; padding: 38px 0 28px; }
.htl-hp .hp-linea__eje { height: 12px; border-radius: 8px; background: linear-gradient(90deg, #e6eef5 0 7.6%, #d3e0eb 7.6% 22.7%, #b9cddd 22.7% 60.6%, #9fb5c8 60.6%); overflow: hidden; }
.htl-hp .hp-linea__eje i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hp-oro-2), var(--hp-oro)); transition: width 1.4s var(--hp-ease-out) .4s; }
.htl-hp .hp-cap.is-on .hp-linea__eje i { width: var(--hp-edad, 28%); }
.htl-hp .hp-linea__e { position: absolute; left: var(--x); bottom: 0; font-size: 12.5px; color: var(--hp-gris); white-space: nowrap; }
.htl-hp .hp-linea__yo { position: absolute; left: var(--hp-edad, 28%); top: 0; transform: translateX(-50%); display: grid; justify-items: center; }
.htl-hp .hp-linea__yo b { font: 650 12.5px/1 var(--hp-f-txt); background: var(--hp-navy); color: #fff; padding: 6px 9px; border-radius: 8px; white-space: nowrap; }
.htl-hp .hp-linea__yo i { width: 3px; height: 16px; border-radius: 2px; background: var(--hp-navy); order: 2; }
.htl-hp .hp-cuidados { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.htl-hp .hp-cuidados span { display: grid; gap: 4px; padding: 14px; border-radius: 14px; background: var(--hp-niebla); font-size: 13.5px; line-height: 1.4; color: var(--hp-gris); }
.htl-hp .hp-cuidados b { font: 650 15px/1.2 var(--hp-f-txt); color: var(--hp-navy); }
/* libro */
.htl-hp .hp-libro { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 24px; align-items: center; }
.htl-hp .hp-libro__pag { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 30px 20px; aspect-ratio: 3 / 4; align-content: center; border-radius: 4px 12px 12px 4px; background: #fff; border: 1px solid var(--hp-linea); box-shadow: inset 8px 0 14px -10px rgba(17,43,61,.35), 0 20px 34px -22px rgba(17,43,61,.5); transform: rotate(-2deg); }
.htl-hp .hp-libro__pag small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--hp-gris); }
.htl-hp .hp-libro__pag b { font: 600 13px/1 var(--hp-f-txt); letter-spacing: .2em; text-transform: uppercase; color: #836728; margin-top: 6px; }
.htl-hp .hp-libro__pag strong { font: 700 28px/1.05 var(--hp-f-tit); letter-spacing: -.02em; color: var(--hp-navy); }
.htl-hp .hp-libro__pag span { font-size: 12.5px; color: var(--hp-gris); border-top: 1px solid var(--hp-linea); padding-top: 8px; }
.htl-hp .hp-libro p { color: var(--hp-gris); }
/* tapa */
.htl-hp .hp-tapa { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: 20px; background: var(--hp-navy); color: #fff; box-shadow: 0 24px 40px -26px rgba(17,43,61,.8); }
.htl-hp .hp-tapa__foto { width: 104px; height: 104px; flex: none; border-radius: 50%; background: rgba(255,255,255,.1); border: 3px solid var(--hp-oro); overflow: hidden; display: grid; place-items: center; }
.htl-hp .hp-tapa__foto img { width: 112%; max-width: none; margin-top: 18%; }
.htl-hp .hp-tapa small { font-size: 12.5px; letter-spacing: .06em; color: var(--hp-oro-claro); }
.htl-hp .hp-tapa b { display: block; font: 700 clamp(34px, 4vw, 48px)/1 var(--hp-f-tit); letter-spacing: -.035em; margin: 4px 0 6px; }
.htl-hp .hp-tapa div span { font-size: 14px; color: rgba(255,255,255,.75); }
.htl-hp .hp-cab__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ═══ S4 · PASOS ═══ */
.htl-hp .hp-pasos { padding-block: 100px 84px; background: var(--hp-niebla); }
.htl-hp .hp-paso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; padding-block: 24px; }
.htl-hp .hp-paso:nth-of-type(odd) .hp-lienzo { order: 2; }
.htl-hp .hp-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--hp-navy); color: var(--hp-oro-claro); font: 700 16px/1 var(--hp-f-tit); margin-bottom: 16px; }
.htl-hp .hp-paso h3 { font-size: clamp(25px, 2.6vw, 34px); margin-bottom: 12px; }
.htl-hp .hp-paso p { color: var(--hp-gris); max-width: 46ch; }
.htl-hp .hp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.htl-hp .hp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--hp-linea); background: #fff; font-size: 14px; color: var(--hp-tinta); box-shadow: 0 1px 2px rgba(0,0,0,.04); white-space: nowrap; }
.htl-hp .hp-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hp-oro); flex: none; }
.htl-hp .hp-lienzo { position: relative; aspect-ratio: 5 / 4; border-radius: 30px; background: #fff; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(17,43,61,.4); }
.htl-hp .hp-lienzo .hp-pz { filter: drop-shadow(0 10px 14px rgba(17,43,61,.22)); }
.htl-hp .hp-pz--m1 { width: 50%; left: 7%; bottom: -3%; --r: -3deg; transform: rotate(var(--r)); }
.htl-hp .hp-pz--e1 { width: 32%; right: 9%; top: 7%; --r: 10deg; transform: rotate(var(--r)); }
.htl-hp .hp-tecla { position: absolute; left: 50%; bottom: 8%; display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--hp-linea); box-shadow: 0 16px 30px -18px rgba(17,43,61,.5); width: 44%; }
.htl-hp .hp-tecla small { font: 650 12px/1 var(--hp-f-txt); letter-spacing: .06em; text-transform: uppercase; color: var(--hp-gris); }
.htl-hp .hp-tecla b { font-weight: 550; font-size: 16px; color: var(--hp-tinta); min-height: 24px; }
.htl-hp .hp-tecla b::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--hp-navy); vertical-align: -2px; animation: hp-cursor 1s steps(2) infinite; }
@keyframes hp-cursor { 50% { opacity: 0; } }
.htl-hp .hp-mix { position: absolute; left: 50%; top: 36%; display: flex; flex-wrap: wrap; gap: 6px; width: 46%; }
.htl-hp .hp-papel { position: absolute; filter: drop-shadow(0 6px 9px rgba(17,43,61,.28)); transform: rotate(var(--r)); }
.htl-hp .hp-d1 { width: 46%; left: 5%; top: 9%; --r: -8deg; } .htl-hp .hp-d2 { width: 40%; right: 6%; top: 7%; --r: 7deg; }
.htl-hp .hp-d3 { left: 8%; bottom: 9%; --r: 3deg; } .htl-hp .hp-d4 { left: 44%; top: 44%; --r: -5deg; } .htl-hp .hp-d5 { width: 26%; right: 7%; bottom: 7%; --r: -6deg; }
.htl-hp .hp-ficha { padding: 12px 14px; border-radius: 12px; background: #fff; width: 40%; display: grid; gap: 3px; font-size: 12.5px; line-height: 1.35; color: var(--hp-gris); }
.htl-hp .hp-ficha small { font: 650 12px/1.2 var(--hp-f-txt); letter-spacing: .08em; text-transform: uppercase; color: #836728; }
.htl-hp .hp-ficha b { font: 700 24px/1 var(--hp-f-tit); letter-spacing: -.03em; color: var(--hp-navy); }
.htl-hp .hp-l2.is-vivo .hp-papel { animation: hp-cae-una 1.1s var(--hp-ease-cae) both; }
.htl-hp .hp-l2.is-vivo .hp-d2 { animation-delay: .27s; } .htl-hp .hp-l2.is-vivo .hp-d3 { animation-delay: .54s; } .htl-hp .hp-l2.is-vivo .hp-d4 { animation-delay: .81s; }
.htl-hp .hp-l2.is-vivo .hp-d5 { animation: hp-cae-una 1.1s var(--hp-ease-cae) 1.08s both, hp-lupa2 7s ease-in-out 2.4s infinite; }
@keyframes hp-cae-una { 0% { opacity: 0; transform: translateY(-140%) rotate(calc(var(--r) - 20deg)); } 55% { opacity: 1; } 78% { transform: translateY(3%) rotate(var(--r)); } 100% { opacity: 1; transform: translateY(0) rotate(var(--r)); } }
@keyframes hp-lupa2 { 0%, 100% { transform: translate(0, 0) rotate(var(--r)); } 33% { transform: translate(-60%, -40%) rotate(calc(var(--r) + 8deg)); } 66% { transform: translate(-120%, -10%) rotate(calc(var(--r) - 4deg)); } }
/* paso 3: las hojas del reporte y el teléfono */
.htl-hp .hp-hoja { position: absolute; left: 12%; top: 12%; width: 38%; aspect-ratio: 3 / 4; padding: 16px; border-radius: 10px; background: #fff; border: 1px solid var(--hp-linea); box-shadow: 0 18px 30px -18px rgba(17,43,61,.5); display: grid; align-content: start; gap: 8px; transform-origin: 50% 100%; }
.htl-hp .hp-hoja b { font: 650 14px/1.2 var(--hp-f-tit); color: var(--hp-navy); }
.htl-hp .hp-hoja i { display: block; height: 7px; border-radius: 4px; background: var(--hp-niebla); }
.htl-hp .hp-hoja i:nth-of-type(2) { width: 82%; } .htl-hp .hp-hoja i:nth-of-type(3) { width: 64%; }
.htl-hp .hp-hoja--1 { z-index: 3; background: var(--hp-navy); border-color: var(--hp-navy); justify-items: start; align-content: end; color: #fff; }
.htl-hp .hp-hoja--1 small { font-size: 10px; letter-spacing: .06em; color: var(--hp-oro-claro); }
.htl-hp .hp-hoja .hp-hoja__n { font: 700 26px/1 var(--hp-f-tit); color: #fff; letter-spacing: -.03em; }
.htl-hp .hp-hoja--1 > span:last-child { font-size: 11px; color: rgba(255,255,255,.72); }
.htl-hp .hp-hoja__foto { position: absolute; top: 12%; left: 50%; width: 48%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--hp-oro); background: rgba(255,255,255,.1); overflow: hidden; transform: translateX(-50%); display: grid; place-items: center; }
.htl-hp .hp-hoja__foto img { width: 112%; max-width: none; margin-top: 18%; }
.htl-hp .hp-hoja--2 { z-index: 2; } .htl-hp .hp-hoja--3 { z-index: 1; }
.htl-hp .hp-l3.is-vivo .hp-hoja--2 { animation: hp-abanico2 1s var(--hp-ease-out) .3s both; }
.htl-hp .hp-l3.is-vivo .hp-hoja--3 { animation: hp-abanico3 1s var(--hp-ease-out) .45s both; }
@keyframes hp-abanico2 { to { transform: translateX(22%) rotate(7deg); } }
@keyframes hp-abanico3 { to { transform: translateX(42%) rotate(14deg); } }
.htl-hp .hp-movil { position: absolute; right: 9%; bottom: -8%; width: 30%; aspect-ratio: 9 / 18; border-radius: 26px; background: #0d1a24; padding: 7px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.6); z-index: 4; }
.htl-hp .hp-movil__pan { height: 100%; border-radius: 20px; background: #fff; padding: 22px 12px 12px; display: grid; align-content: start; gap: 8px; position: relative; }
.htl-hp .hp-movil__barra { position: absolute; top: 8px; left: 50%; width: 34%; height: 5px; border-radius: 4px; background: #0d1a24; transform: translateX(-50%); }
.htl-hp .hp-movil__pan b { font: 650 13px/1.2 var(--hp-f-tit); color: var(--hp-navy); }
.htl-hp .hp-movil__pan i { display: block; height: 6px; border-radius: 4px; background: var(--hp-niebla); }
.htl-hp .hp-movil__btn { margin-top: 6px; padding: 8px 6px; border-radius: 8px; background: var(--hp-oro); color: var(--hp-navy); font: 650 12px/1 var(--hp-f-txt); text-align: center; }
.htl-hp .hp-l3.is-vivo .hp-movil { animation: hp-sube-movil 1s var(--hp-ease-out) .6s both; }
@keyframes hp-sube-movil { from { transform: translateY(30%); opacity: 0; } to { transform: none; opacity: 1; } }

/* ═══ S5 · PERSONALIZACIÓN ═══ */
.htl-hp .hp-personal { background: var(--hp-navy); color: #fff; padding-block: 104px; position: relative; overflow: hidden; isolation: isolate; }
.htl-hp .hp-personal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 30%, rgba(201,168,76,.18), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(29,74,104,.9), transparent 60%); }
.htl-hp .hp-personal__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 60px; align-items: center; }
.htl-hp .hp-personal h2 { color: #fff; margin: 16px 0 18px; }
.htl-hp .hp-personal .hp-bajada { color: rgba(255,255,255,.76); }
.htl-hp .hp-personal__demo { display: grid; gap: 14px; }
.htl-hp .hp-ficha-pet { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 22px; background: #fff; color: var(--hp-tinta); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.htl-hp .hp-ficha-pet__foto { width: 92px; height: 92px; flex: none; border-radius: 22px; background: var(--hp-niebla); overflow: hidden; display: grid; place-items: center; }
.htl-hp .hp-ficha-pet__foto img { width: 108%; max-width: none; margin-top: 14%; }
.htl-hp .hp-ficha-pet__campos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; flex: 1; min-width: 0; }
.htl-hp .hp-ficha-pet__campos span { display: grid; gap: 2px; min-width: 0; }
.htl-hp .hp-ficha-pet__campos small { font: 650 11px/1.2 var(--hp-f-txt); letter-spacing: .08em; text-transform: uppercase; color: var(--hp-gris); }
.htl-hp .hp-ficha-pet__campos b { font: 600 16px/1.3 var(--hp-f-txt); color: var(--hp-navy); min-height: 21px; white-space: nowrap; }
.htl-hp .hp-ficha-pet__campos b.is-escribiendo::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--hp-navy); vertical-align: -2px; animation: hp-cursor 1s steps(2) infinite; }
.htl-hp .hp-frases { display: grid; gap: 10px; }
.htl-hp .hp-frase { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.5; opacity: 0; transform: translateY(12px); transition: opacity .6s var(--hp-ease-out), transform .6s var(--hp-ease-out); }
.htl-hp .hp-frase.is-on { opacity: 1; transform: none; }
.htl-hp .hp-frase b { color: var(--hp-navy); background: var(--hp-oro-claro); padding: 1px 6px; border-radius: 6px; font-weight: 650; }

/* ═══ S6 · ORÍGENES: globo de alambre + horizonte de papel ═══ */
.htl-hp .hp-origen { background: #fff; padding-top: 100px; position: relative; overflow: hidden; }
.htl-hp .hp-origen__cab { text-align: center; display: grid; gap: 16px; justify-items: center; }
.htl-hp .hp-origen h2 { max-width: 20ch; }
.htl-hp .hp-origen .hp-bajada { margin-inline: auto; }
.htl-hp .hp-globo { position: relative; width: min(1100px, 100%); aspect-ratio: 1167 / 1032; margin: 30px auto 0; }
.htl-hp .hp-globo canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.htl-hp .hp-flot { position: absolute; z-index: 2; display: grid; gap: 2px; padding: 16px 20px; border-radius: 14px; background: #fff; border: 1px solid #eef1f4; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 20px 40px -24px rgba(17,43,61,.35); text-align: left; font-size: 13px; color: var(--hp-gris); max-width: 254px; will-change: transform; }
.htl-hp .hp-flot b { font: 700 clamp(20px, 2vw, 28px)/1.05 var(--hp-f-tit); letter-spacing: -.025em; color: var(--hp-navy); }
.htl-hp .hp-flot--1 { left: 6%; top: 12%; } .htl-hp .hp-flot--2 { right: 7%; top: 8%; } .htl-hp .hp-flot--3 { left: 18%; top: 33%; } .htl-hp .hp-flot--4 { right: 14%; top: 30%; }
.htl-hp .hp-horizonte { position: relative; z-index: 3; margin-top: calc(min(1100px, 100vw) * -.37); background: var(--hp-niebla); padding: 50px 0 100px; }
.htl-hp .hp-horizonte .hp-rasgo { position: absolute; top: 0; left: 0; margin: -21px 0 0; }
.htl-hp .hp-horizonte__t { font: 650 clamp(22px, 2.4vw, 30px)/1.2 var(--hp-f-tit); letter-spacing: -.02em; color: var(--hp-navy); text-align: center; margin-bottom: 26px; }
.htl-hp .hp-razas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.htl-hp .hp-razas li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--hp-linea); transition: transform .3s var(--hp-ease-ui), box-shadow .3s; }
.htl-hp .hp-razas img { width: 46px; height: 46px; border-radius: 12px; background: var(--hp-niebla); object-fit: contain; flex: none; }
.htl-hp .hp-razas span { display: grid; min-width: 0; }
.htl-hp .hp-razas b { font: 650 15px/1.25 var(--hp-f-txt); color: var(--hp-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.htl-hp .hp-razas small { font-size: 12.5px; color: var(--hp-gris); }
@media (hover: hover) { .htl-hp .hp-razas li:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(17,43,61,.5); } }
.htl-hp .hp-horizonte__n { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--hp-gris); }

/* ═══ S7 · PARA CADA MASCOTA ═══ */
.htl-hp .hp-quien { padding-block: 96px; background: #fff; }
.htl-hp .hp-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.htl-hp .hp-carta { border-radius: 24px; background: var(--hp-niebla); padding: 18px 18px 22px; display: grid; gap: 10px; align-content: start; transition: transform .35s var(--hp-ease-ui), box-shadow .35s; }
.htl-hp .hp-carta__img { aspect-ratio: 1; display: grid; place-items: center; }
.htl-hp .hp-carta__img img { width: 86%; transition: transform .5s var(--hp-ease-out); }
.htl-hp .hp-carta h3 { font-size: 20px; }
.htl-hp .hp-carta p { font-size: 14.5px; color: var(--hp-gris); line-height: 1.5; }
@media (hover: hover) { .htl-hp .hp-carta:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -30px rgba(17,43,61,.5); } .htl-hp .hp-carta:hover .hp-carta__img img { transform: scale(1.05) rotate(-2deg); } }

/* ═══ S8 · KIT ═══ */
.htl-hp .hp-kit { background: var(--hp-niebla); padding-block: 96px; }
.htl-hp .hp-kit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.htl-hp .hp-kit h2 { margin: 16px 0; }
.htl-hp .hp-tabla { position: relative; border-radius: 24px; background: #fff; border: 1px solid var(--hp-linea); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(17,43,61,.45); }
.htl-hp .hp-tabla::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 36%; background: var(--hp-navy); }
.htl-hp .hp-tabla__f { position: relative; display: grid; grid-template-columns: 28% 36% 36%; align-items: center; border-top: 1px solid var(--hp-linea); }
.htl-hp .hp-tabla__f:first-child { border-top: 0; }
.htl-hp .hp-tabla__f > * { padding: 16px 18px; font-size: 14.5px; line-height: 1.4; }
.htl-hp .hp-tabla__f span { font: 650 12px/1.3 var(--hp-f-txt); letter-spacing: .07em; text-transform: uppercase; color: var(--hp-gris); }
.htl-hp .hp-tabla__f em { font-style: normal; color: var(--hp-gris); }
.htl-hp .hp-tabla__f b { font: 650 15px/1.2 var(--hp-f-tit); color: var(--hp-navy); }
.htl-hp .hp-tabla__f .hp-tabla__yo { color: #fff; font-weight: 600; }
.htl-hp .hp-tabla__f b.hp-tabla__yo { color: var(--hp-oro-claro); }
.htl-hp .hp-tabla__f--cab > * { padding-block: 20px; }

/* ═══ S9 · PREGUNTAS ═══ */
.htl-hp .hp-faq { padding-block: 90px 100px; background: #fff; }
.htl-hp .hp-promesa { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 80px; }
.htl-hp .hp-promesa li { display: grid; gap: 6px; padding: 20px; border-radius: 18px; background: var(--hp-niebla); align-content: start; }
.htl-hp .hp-promesa b { font: 650 18px/1.2 var(--hp-f-tit); letter-spacing: -.01em; color: var(--hp-navy); }
.htl-hp .hp-promesa span { font-size: 14px; color: var(--hp-gris); line-height: 1.45; }
.htl-hp .hp-faq__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 56px; }
.htl-hp .hp-faq h2 { margin-top: 14px; }
.htl-hp details { border-top: 1px solid var(--hp-linea); }
.htl-hp details:last-child { border-bottom: 1px solid var(--hp-linea); }
.htl-hp summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 650 18px/1.35 var(--hp-f-txt); color: var(--hp-navy); }
.htl-hp summary::-webkit-details-marker { display: none; }
.htl-hp summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--hp-niebla) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 5v12M5 11h12' stroke='%23112b3d' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--hp-ease-out), background-color .25s; }
.htl-hp details[open] summary::after { transform: rotate(45deg); background-color: var(--hp-oro-claro); }
.htl-hp details[open] .hp-faq__a { animation: hp-abre .45s var(--hp-ease-out); }
@keyframes hp-abre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.htl-hp .hp-faq__a p { padding: 0 48px 22px 0; color: var(--hp-gris); }

/* ═══ S10 · CIERRE ═══ */
.htl-hp .hp-cierre { background: var(--hp-navy); color: #fff; padding-block: 130px 140px; position: relative; overflow: hidden; isolation: isolate; }
.htl-hp .hp-cierre__foto { position: absolute; inset: 0; z-index: -2; background: url(img/hero.webp) 70% 32% / cover no-repeat; }
.htl-hp .hp-cierre::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,43,61,.97) 0%, rgba(17,43,61,.9) 34%, rgba(17,43,61,.35) 62%, rgba(17,43,61,.12) 100%); }
.htl-hp .hp-cierre h2 { color: #fff; max-width: 14ch; margin: 0 0 18px; }
.htl-hp .hp-cierre .hp-bajada { color: rgba(255,255,255,.8); margin: 0 0 32px; }
.htl-hp .hp-cierre__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── barra fija (teléfono) y aviso ── */
.htl-hp .hp-barra { position: fixed; inset: auto 0 0; z-index: 40; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--hp-linea); box-shadow: 0 -10px 30px -20px rgba(17,43,61,.4); transform: translateY(110%); transition: transform .3s var(--hp-ease-ui); display: none; }
.htl-hp .hp-barra.is-on { transform: none; }
.htl-hp .hp-aviso { position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; max-width: min(92vw, 440px); padding: 14px 18px; border-radius: 14px; background: var(--hp-navy); color: #fff; font-size: 14.5px; line-height: 1.45; text-align: center; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }

/* ── revelado al hacer scroll ([data-rev] → .htl-h3-visto; 550 ms, 24 px) ── */
.htl-js .htl-hp [data-rev] { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--hp-ease), transform .55s var(--hp-ease); transition-delay: var(--rev-d, 0ms); }
.htl-js .htl-hp [data-rev].htl-h3-visto { opacity: 1; transform: none; }
.htl-hp .is-pausa, .htl-hp .is-pausa * { animation-play-state: paused !important; }

/* ═══ TABLET ═══ */
@media (max-width: 1100px) {
  .htl-hp .hp-visor { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); }
  .htl-hp .hp-cap-btn__t small { display: none; }
  .htl-hp .hp-razas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .htl-hp .hp-grid4, .htl-hp .hp-promesa { grid-template-columns: 1fr 1fr; }
  .htl-hp .hp-fuentes__grid { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .htl-hp .hp-cifra:nth-child(3) { border-left: 0; padding-left: 0; }
  .htl-hp .hp-rasgos { grid-template-columns: 1fr; }
}

/* ═══ TELÉFONO ═══ */
@media (max-width: 860px) {
  .htl-hp .hp-hero__grid { grid-template-columns: 1fr; gap: 20px; min-height: 0; padding-block: 26px 44px; }
  .htl-hp .hp-escena { display: none; }
  .htl-hp .hp-hero h1 { font-size: clamp(36px, 9.6vw, 48px); margin-top: 14px; }
  .htl-hp .hp-hero .hp-bajada { order: 1; font-size: 16px; margin-top: 18px; }
  .htl-hp .hp-form { margin-top: 20px; padding: 12px; max-width: none; }
  .htl-hp .hp-dos { grid-template-columns: 1fr; }
  .htl-hp .hp-tira { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 12px; height: 92px; padding-right: 4px; }
  .htl-hp .hp-tira__foto { width: 88px; height: 104px; object-fit: contain; margin-top: -22px; filter: drop-shadow(0 8px 12px rgba(4,14,22,.45)); }
  .htl-hp .hp-tira__foto.is-nueva { animation: hp-cae .7s var(--hp-ease-cae) both; --r: 0deg; }
  .htl-hp .hp-tira__txt { display: grid; gap: 3px; min-width: 0; }
  .htl-hp .hp-tira__txt b { font: 700 27px/1.02 var(--hp-f-tit); letter-spacing: -.03em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .htl-hp .hp-tira__txt > span:not(.hp-tira__p) { font-size: 13px; color: rgba(255,255,255,.74); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .htl-hp .hp-tira__p { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; margin-top: 3px; padding: 5px 10px 5px 8px; border-radius: 999px; background: #fff; color: var(--hp-navy); font: 650 12px/1 var(--hp-f-txt); }
  .htl-hp .hp-tira__p.is-off { display: none; }
  .htl-hp .hp-tira__p i { width: 8px; height: 8px; border-radius: 50%; background: var(--hp-oro); flex: none; animation: hp-late 1.8s infinite; }
  .htl-hp .hp-tira__p em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .htl-hp .hp-fuentes { padding-block: 34px; }
  .htl-hp .hp-cifra { padding: 0 0 0 16px; }
  .htl-hp .hp-cifra:nth-child(odd) { border-left: 0; padding-left: 0; }

  .htl-hp .hp-reporte { padding-block: 72px 64px; }
  .htl-hp .hp-cab { margin-bottom: 26px; }
  .htl-hp .hp-visor { grid-template-columns: 1fr; gap: 14px; }
  .htl-hp .hp-caps { position: relative; top: 0; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 4px; }
  .htl-hp .hp-caps::-webkit-scrollbar { display: none; }
  .htl-hp .hp-cap-btn { flex: none; width: auto; scroll-snap-align: start; grid-template-columns: auto auto; gap: 8px; align-items: center; padding: 10px 14px 12px; border-radius: 999px; border-color: var(--hp-linea); background: #fff; min-height: 44px; }
  .htl-hp .hp-cap-btn__t b { font-size: 14px; white-space: nowrap; }
  .htl-hp .hp-cap-btn__n { font-size: 13px; line-height: 1; }
  .htl-hp .hp-cap-btn[aria-selected="true"] { background: var(--hp-navy); border-color: var(--hp-navy); box-shadow: none; }
  .htl-hp .hp-cap-btn[aria-selected="true"] .hp-cap-btn__t b { color: #fff; }
  .htl-hp .hp-cap-btn[aria-selected="true"] .hp-cap-btn__barra { background: rgba(255,255,255,.18); }
  .htl-hp .hp-cap-btn__barra { left: 16px; right: 16px; bottom: 4px; }
  .htl-hp .hp-doc { border-radius: 22px; }
  .htl-hp .hp-doc__top { padding: 14px 16px; gap: 10px; }
  .htl-hp .hp-doc__av { width: 42px; height: 42px; }
  .htl-hp .hp-doc__q b { font-size: 18px; }
  .htl-hp .hp-doc__sello { font-size: 12px; letter-spacing: .04em; padding: 5px 8px; }
  .htl-hp .hp-doc__cuerpo { padding: 20px 16px 18px; }
  .htl-hp .hp-datos { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .htl-hp .hp-datos dd { font-size: 14.5px; }
  .htl-hp .hp-barra { grid-template-columns: 1fr 54px; row-gap: 6px; }
  .htl-hp .hp-barra span { grid-column: 1 / -1; }
  .htl-hp .hp-libro { grid-template-columns: 1fr; }
  .htl-hp .hp-libro__pag { max-width: 220px; justify-self: center; }
  .htl-hp .hp-cuidados { grid-template-columns: 1fr; }
  .htl-hp .hp-tapa { padding: 18px; gap: 14px; }
  .htl-hp .hp-tapa__foto { width: 78px; height: 78px; }
  .htl-hp .hp-cab__ctas { margin-top: 26px; }
  .htl-hp .hp-cab__ctas .hp-btn { width: 100%; }

  .htl-hp .hp-pasos { padding-block: 70px 50px; }
  .htl-hp .hp-paso { grid-template-columns: 1fr; gap: 22px; padding-block: 20px; }
  .htl-hp .hp-paso:nth-of-type(odd) .hp-lienzo { order: 0; }

  .htl-hp .hp-personal { padding-block: 72px; }
  .htl-hp .hp-personal__grid { grid-template-columns: 1fr; gap: 30px; }
  .htl-hp .hp-ficha-pet { padding: 14px; gap: 14px; }
  .htl-hp .hp-ficha-pet__foto { width: 72px; height: 72px; border-radius: 18px; }
  .htl-hp .hp-ficha-pet__campos b { font-size: 14.5px; }
  .htl-hp .hp-frase { font-size: 15px; padding: 14px 16px; }

  .htl-hp .hp-origen { padding-top: 72px; }
  .htl-hp .hp-globo { width: 130%; margin-left: -15%; margin-top: 18px; }
  .htl-hp .hp-flot { padding: 10px 12px; font-size: 12px; max-width: 160px; }
  .htl-hp .hp-flot b { font-size: 17px; }
  .htl-hp .hp-flot--1 { left: 14%; top: 10%; } .htl-hp .hp-flot--2 { right: 14%; top: 3%; } .htl-hp .hp-flot--3 { left: 15%; top: 29%; } .htl-hp .hp-flot--4 { right: 14%; top: 24%; }
  .htl-hp .hp-horizonte { margin-top: calc(130vw * -.42); padding: 40px 0 72px; }
  .htl-hp .hp-razas { grid-template-columns: 1fr 1fr; gap: 8px; }
  .htl-hp .hp-razas li { padding: 10px; gap: 10px; border-radius: 14px; }
  .htl-hp .hp-razas img { width: 38px; height: 38px; }
  .htl-hp .hp-razas b { font-size: 13.5px; }
  .htl-hp .hp-razas small { font-size: 12px; }

  .htl-hp .hp-quien { padding-block: 70px; }
  .htl-hp .hp-grid4 { gap: 10px; }
  .htl-hp .hp-carta { padding: 14px 14px 18px; border-radius: 20px; }
  .htl-hp .hp-carta h3 { font-size: 17px; }
  .htl-hp .hp-carta p { font-size: 13.5px; }

  .htl-hp .hp-kit { padding-block: 70px; }
  .htl-hp .hp-kit__grid { grid-template-columns: 1fr; gap: 26px; }
  .htl-hp .hp-tabla__f { grid-template-columns: 30% 35% 35%; }
  .htl-hp .hp-tabla::before { width: 35%; }
  .htl-hp .hp-tabla__f > * { padding: 12px 10px; font-size: 13px; }
  .htl-hp .hp-tabla__f span { font-size: 12px; letter-spacing: .02em; }
  .htl-hp .hp-tabla__f b { font-size: 13.5px; }

  .htl-hp .hp-faq { padding-block: 64px 72px; }
  .htl-hp .hp-promesa { gap: 8px; margin-bottom: 52px; }
  .htl-hp .hp-promesa li { padding: 14px; border-radius: 14px; }
  .htl-hp .hp-promesa b { font-size: 15.5px; }
  .htl-hp .hp-promesa span { font-size: 13px; }
  .htl-hp .hp-faq__grid { grid-template-columns: 1fr; gap: 18px; }
  .htl-hp summary { font-size: 16.5px; padding: 18px 0; }
  .htl-hp .hp-faq__a p { padding-right: 0; }

  .htl-hp .hp-cierre { padding-block: 80px 96px; text-align: center; }
  .htl-hp .hp-cierre h2, .htl-hp .hp-cierre .hp-bajada { margin-inline: auto; }
  .htl-hp .hp-cierre__ctas { justify-content: center; }
  .htl-hp .hp-cierre__ctas .hp-btn { width: 100%; }
  .htl-hp .hp-cierre__foto { background-image: url(img/hero-800.webp); background-position: 78% 30%; }
  .htl-hp .hp-cierre::after { background: linear-gradient(180deg, rgba(17,43,61,.78), rgba(17,43,61,.66) 55%, rgba(17,43,61,.84)); }
  .htl-hp .hp-barra { display: block; }
  body.htl-portada .htl-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 380px) {
  .htl-hp .hp-ficha-pet__campos { grid-template-columns: 1fr; }
  .htl-hp .hp-razas { grid-template-columns: 1fr; }
}

/* REDUCIR MOVIMIENTO: atenúa, no apaga (la PC del owner lo tiene activo). Se van las caídas, los desplazamientos
   y el giro del globo; quedan los fundidos, los contadores, el teclado, los capítulos y los brillos chicos. */
@keyframes hp-aparece { from { opacity: 0; transform: rotate(var(--r, 0deg)); } to { opacity: 1; transform: rotate(var(--r, 0deg)); } }
@media (prefers-reduced-motion: reduce) {
  .htl-js .htl-hp [data-rev] { transform: none !important; transition: opacity .45s ease; transition-delay: var(--rev-d, 0ms); }
  .htl-hp .hp-escena.htl-h3-visto .hp-pz { animation-name: hp-aparece !important; animation-duration: .7s !important; animation-iteration-count: 1 !important; animation-timing-function: ease !important; animation-fill-mode: both !important; }
  .htl-hp .hp-escena.htl-h3-visto .hp-pz--mascota.is-nueva { animation: hp-aparece .5s ease both !important; }
  .htl-hp .hp-l2.is-vivo .hp-papel, .htl-hp .hp-l2.is-vivo .hp-d5 { animation: none !important; opacity: 1; transform: rotate(var(--r)); }
  .htl-hp .hp-cap.is-on > * { animation: hp-aparece .4s ease both !important; }
  .htl-hp .hp-carta:hover, .htl-hp .hp-razas li:hover { transform: none; }
}
@media (pointer: coarse) { .htl-hp .hp-campo :is(input, select) { font-size: 16px; } }
/* capítulo 5: la marca de lo que el dueño contó */
.htl-hp .hp-habitos b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.htl-hp .hp-marca { font: 650 12px/1 var(--hp-f-txt); font-style: normal; letter-spacing: .02em; color: var(--hp-navy); background: var(--hp-oro-claro); padding: 5px 8px; border-radius: 999px; }
.htl-hp .hp-habitos span { line-height: 1.45; }

/* ═══ /pricing/ (mismo sistema; el cargador es heritails-pricing.php) ═══ */
.htl-hp .hp-pr-hero { background: var(--hp-navy); color: #fff; padding-block: 72px 150px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.htl-hp .hp-pr-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 0%, rgba(201,168,76,.2), transparent 70%), radial-gradient(70% 90% at 0% 100%, rgba(29,74,104,.85), transparent 60%); }
.htl-hp .hp-pr-hero .hp-env { display: grid; justify-items: center; gap: 18px; }
.htl-hp .hp-pr-hero h1 { color: #fff; max-width: 16ch; font-size: clamp(40px, 5vw, 68px); }
.htl-hp .hp-pr-hero .hp-bajada { color: rgba(255,255,255,.78); margin-inline: auto; }
.htl-hp .hp-pr-tiers { margin-top: -96px; position: relative; z-index: 2; padding-bottom: 40px; }
.htl-hp .hp-pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.htl-hp .hp-pr-tier { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; padding: 30px 26px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--hp-linea); box-shadow: 0 40px 70px -46px rgba(17,43,61,.55); transition: transform .35s var(--hp-ease-ui), box-shadow .35s; }
.htl-hp .hp-pr-tier--rec { border: 2px solid var(--hp-oro); box-shadow: 0 50px 80px -44px rgba(17,43,61,.65); }
@media (hover: hover) { .htl-hp .hp-pr-tier:hover { transform: translateY(-4px); } }
.htl-hp .hp-pr-tier__marca { position: absolute; top: -14px; left: 26px; background: var(--hp-oro); color: var(--hp-navy); font: 700 12px/1 var(--hp-f-txt); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(201,168,76,.8); }
.htl-hp .hp-pr-tier h2 { font-size: 30px; }
.htl-hp .hp-pr-tier__bajo { font-size: 15px; color: var(--hp-gris); line-height: 1.45; }
.htl-hp .hp-pr-tier__pr { display: flex; align-items: flex-start; gap: 2px; font: 700 64px/1 var(--hp-f-tit); letter-spacing: -.04em; color: var(--hp-navy); }
.htl-hp .hp-pr-tier__pr sup { font-size: 26px; line-height: 1.4; }
.htl-hp .hp-pr-tier__pr small { align-self: flex-end; margin: 0 0 8px 10px; font: 500 13.5px/1.2 var(--hp-f-txt); letter-spacing: 0; color: var(--hp-gris); }
.htl-hp .hp-pr-tier ul { display: grid; gap: 10px; align-content: start; padding-top: 16px; border-top: 1px solid var(--hp-linea); }
.htl-hp .hp-pr-tier li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--hp-tinta); }
.htl-hp .hp-pr-tier li::before, .htl-hp .hp-pr-si { content: ""; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--hp-oro-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.4L12 5.4' fill='none' stroke='%23112b3d' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.htl-hp .hp-pr-tier--rec li::before { background-color: var(--hp-oro); }
.htl-hp .hp-pr-nota { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--hp-gris); max-width: 70ch; margin-inline: auto; }
.htl-hp .hp-pr-comp { padding-block: 80px 60px; background: #fff; }
.htl-hp .hp-pr-tabla { max-width: 920px; margin: 0 auto; border-radius: 24px; border: 1px solid var(--hp-linea); overflow: hidden; background: #fff; box-shadow: 0 30px 60px -44px rgba(17,43,61,.45); }
.htl-hp .hp-pr-fila { display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr)); align-items: center; border-top: 1px solid var(--hp-linea); }
.htl-hp .hp-pr-fila:first-child { border-top: 0; }
.htl-hp .hp-pr-fila > * { padding: 14px 18px; text-align: center; font-style: normal; }
.htl-hp .hp-pr-fila > span { text-align: left; font-size: 15px; color: var(--hp-tinta); }
.htl-hp .hp-pr-fila--cab b { font: 650 16px/1.2 var(--hp-f-tit); color: var(--hp-navy); padding-block: 18px; }
.htl-hp .hp-pr-fila--pie b { font: 700 20px/1.2 var(--hp-f-tit); color: var(--hp-navy); }
.htl-hp .hp-pr-fila--pie span { font-weight: 650; }
.htl-hp .hp-pr-col-rec { background: rgba(201,168,76,.1); }
.htl-hp .hp-pr-no { color: var(--hp-gris-2); }
.htl-hp .hp-pr-todos { padding-block: 30px 10px; background: #fff; }
.htl-hp .hp-pr-todos .hp-promesa { margin-bottom: 0; }
.htl-hp .hp-cierre--pr { padding-block: 110px 120px; }
@media (max-width: 860px) {
  .htl-hp .hp-pr-hero { padding-block: 44px 110px; }
  .htl-hp .hp-pr-tiers { margin-top: -80px; }
  .htl-hp .hp-pr-grid { grid-template-columns: 1fr; gap: 24px; }
  .htl-hp .hp-pr-tier--rec { order: -1; }
  .htl-hp .hp-pr-tier { padding: 28px 20px 22px; }
  .htl-hp .hp-pr-tier__pr { font-size: 56px; }
  .htl-hp .hp-pr-comp { padding-block: 60px 40px; }
  .htl-hp .hp-pr-fila { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .7fr)); }
  .htl-hp .hp-pr-fila > * { padding: 12px 6px; }
  .htl-hp .hp-pr-fila > span { padding-left: 12px; font-size: 13.5px; }
  .htl-hp .hp-pr-fila--cab b { font-size: 12px; white-space: nowrap; letter-spacing: -.01em; }
  .htl-hp .hp-pr-fila--pie b { font-size: 16px; }
  .htl-hp .hp-pr-si { width: 20px; height: 20px; }
}

/* capítulo 5 tocable: tres respuestas por conducta (patrón del cuestionario de la competencia, sin ADN) */
.htl-hp .hp-habitos--toca li { grid-template-columns: 28px 1fr; row-gap: 8px; }
.htl-hp .hp-habitos--toca li::before { grid-row: span 3; }
.htl-hp .hp-resp { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: #fff; border: 1px solid var(--hp-linea); width: max-content; max-width: 100%; }
.htl-hp .hp-resp button { border: 0; min-height: 0; padding: 7px 12px; border-radius: 999px; background: transparent; color: var(--hp-gris); font: 650 12.5px/1 var(--hp-f-txt); cursor: pointer; box-shadow: none; transition: background-color .2s, color .2s; }
.htl-hp .hp-resp button[aria-pressed="true"] { background: var(--hp-navy); color: #fff; }
@media (hover: hover) { .htl-hp .hp-resp button:not([aria-pressed="true"]):hover { background: var(--hp-niebla); color: var(--hp-navy); } }
.htl-hp .hp-hab-txt { font-size: 13.5px; line-height: 1.45; color: var(--hp-gris); transition: opacity .25s; }
.htl-hp .hp-hab-txt.is-cambia { opacity: 0; }
/* el pie del documento (sólo en el teléfono: ahí los capítulos se pasan a mano) */
.htl-hp .hp-doc__pie { display: none; }
@media (max-width: 860px) {
  .htl-hp .hp-doc__cuerpo { min-height: 0; }
  .htl-hp .hp-doc__pie { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--hp-linea); background: #fbfcfd; }
  .htl-hp .hp-doc__pie span { font-size: 13px; color: var(--hp-gris); }
  .htl-hp .hp-doc__sig { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--hp-navy); color: #fff; font: 650 14px/1 var(--hp-f-txt); cursor: pointer; box-shadow: none; }
  .htl-hp .hp-doc__sig .hp-flecha { width: 16px; height: 16px; }
  .htl-hp .hp-hoja small { display: none; }
  .htl-hp .hp-hoja__foto { top: 10%; width: 42%; }
  .htl-hp .hp-resp button { padding: 8px 11px; font-size: 12.5px; }
}

/* ═══ S5b · ¿RECIÉN ADOPTADO? (la dona de los porcentajes que el dueño ya tiene) ═══ */
.htl-hp .hp-adopta { background: #fff; padding-block: 100px; }
.htl-hp .hp-adopta__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.htl-hp .hp-adopta h2 { margin: 16px 0 18px; }
.htl-hp .hp-adopta .hp-btn { margin-top: 28px; }
.htl-hp .hp-adopta__dona { position: relative; width: min(460px, 100%); aspect-ratio: 1; justify-self: center; }
.htl-js .htl-hp .hp-adopta__dona[data-rev] { transform: scale(.94); }
.htl-js .htl-hp .hp-adopta__dona[data-rev].htl-h3-visto { transform: none; }
.htl-hp .hp-adopta__dona svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.htl-hp .hp-dona__fondo { fill: none; stroke: var(--hp-niebla); stroke-width: 16; }
.htl-hp .hp-dona__t { fill: none; stroke-width: 16; stroke-linecap: round; stroke-dasharray: 0 100; stroke-dashoffset: calc(var(--d, 0) * -1); transition: stroke-dasharray 1.4s var(--hp-ease-out) .3s; }
.htl-hp .hp-dona__t--1 { stroke: var(--hp-oro); }
.htl-hp .hp-dona__t--2 { stroke: var(--hp-navy-3); transition-delay: .9s; }
.htl-hp .hp-adopta__dona.htl-h3-visto .hp-dona__t { stroke-dasharray: calc(var(--v) - 1.5) 100; }
.htl-hp .hp-adopta__foto { position: absolute; inset: 15%; border-radius: 50%; background: var(--hp-niebla); overflow: hidden; display: grid; place-items: center; }
.htl-hp .hp-adopta__foto img { width: 92%; margin-top: 16%; }
.htl-hp .hp-dona__e { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--hp-linea); box-shadow: 0 16px 30px -18px rgba(17,43,61,.45); font: 600 14px/1 var(--hp-f-txt); color: var(--hp-navy); white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--hp-ease-out), transform .5s var(--hp-ease-out); }
.htl-hp .hp-dona__e b { font: 700 15px/1 var(--hp-f-tit); }
.htl-hp .hp-dona__e i { width: 10px; height: 10px; border-radius: 50%; background: var(--hp-oro); }
.htl-hp .hp-dona__e--2 i { background: var(--hp-navy-3); }
.htl-hp .hp-dona__e--1 { right: -6%; top: 14%; transition-delay: 1.1s; }
.htl-hp .hp-dona__e--2 { left: -8%; bottom: 18%; transition-delay: 1.7s; }
.htl-hp .hp-adopta__dona.htl-h3-visto .hp-dona__e { opacity: 1; transform: none; }
.htl-hp .hp-dona__nota { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); font: 650 12px/1 var(--hp-f-txt); letter-spacing: .06em; text-transform: uppercase; color: var(--hp-gris); white-space: nowrap; }
@media (max-width: 860px) {
  .htl-hp .hp-adopta { padding-block: 70px; }
  .htl-hp .hp-adopta__grid { grid-template-columns: 1fr; gap: 40px; }
  .htl-hp .hp-adopta__dona { width: min(300px, 82%); }
  .htl-hp .hp-dona__e { font-size: 12.5px; padding: 7px 10px; }
  .htl-hp .hp-dona__e b { font-size: 13px; }
  .htl-hp .hp-dona__e--1 { right: -12%; } .htl-hp .hp-dona__e--2 { left: -12%; }
  .htl-hp .hp-adopta .hp-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .htl-hp .hp-dona__t, .htl-hp .hp-dona__e { transition-duration: .01s !important; transition-delay: 0s !important; } }

/* capítulo 7: el archivo REAL de dominio público (Wellcome Collection), con la fuente a la vista */
.htl-hp .hp-archivo { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding-right: 22%; }
.htl-hp .hp-archivo__lamina { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 40px -24px rgba(17,43,61,.55); transform: rotate(-1.2deg); }
.htl-hp .hp-archivo__pag { position: absolute; right: 0; bottom: -14px; width: 30%; margin: 0; border-radius: 3px; overflow: hidden; border: 1px solid var(--hp-linea); box-shadow: 0 20px 34px -18px rgba(17,43,61,.55); transform: rotate(4deg); background: #fff; }
.htl-hp .hp-archivo img { width: 100%; height: auto; display: block; }
.htl-hp .hp-archivo__cita { margin: 10px 0 0; padding-left: 16px; border-left: 3px solid var(--hp-oro); font: 600 17px/1.4 var(--hp-f-tit); letter-spacing: -.01em; color: var(--hp-navy); max-width: 46ch; }
.htl-hp .hp-archivo__cita cite { display: block; margin-top: 6px; font: 500 12.5px/1.3 var(--hp-f-txt); font-style: normal; color: var(--hp-gris); }
.htl-hp .hp-cap.is-on .hp-archivo__pag { animation: hp-sube .7s var(--hp-ease-out) .5s both; }
@media (max-width: 860px) { .htl-hp .hp-archivo { padding-right: 16%; } .htl-hp .hp-archivo__cita { font-size: 15.5px; } }

/* ═══ /contact/ (mismo sistema; cargador heritails-contact.php) ═══ */
.htl-hp .hp-ct-hero { padding-bottom: 80px; }
.htl-hp .hp-ct-mail { display: grid; justify-items: center; gap: 10px; margin-top: 10px; }
.htl-hp .hp-ct-mail small { font-size: 14px; color: rgba(255,255,255,.7); }
.htl-hp .hp-ct-antes { padding-block: 84px 60px; background: #fff; }
.htl-hp .hp-ct-grid { margin-bottom: 0; }
.htl-hp .hp-ct-quien { padding-block: 40px 100px; background: #fff; }
.htl-hp .hp-ct-quien__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: end; padding-top: 48px; border-top: 1px solid var(--hp-linea); }
.htl-hp .hp-ct-quien h2 { margin-top: 14px; }
@media (max-width: 860px) { .htl-hp .hp-ct-quien__grid { grid-template-columns: 1fr; gap: 16px; } .htl-hp .hp-ct-mail .hp-btn { width: 100%; font-size: 16px; } }
/* /about/ (2026-12-03): los dos botones del cierre */.htl-hp .hp-ab-acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }@media (max-width: 860px) { .htl-hp .hp-ab-acciones .hp-btn { width: 100%; } }
