/* ==========================================================================
   VARIABLES Y ESTILOS BASE - VOCES Y CREACIONES
   ========================================================================== */
:root {
    --background: #898b47;
    --foreground: #fffdf0;
    --primary: #b7d900;
    --primary-foreground: #2d2e14;
    --orange-accent: #ff8350;
    --border: rgba(183, 217, 0, 0.45);
    --muted: #6e7033;
    --muted-foreground: #e4e2cc;

    /* Fondos Temáticos */
    --olive: #898b47;
    --bark: #585a2b;
    --clay: #6e7033;
    --ochre: #7a7c38;
    --moss: #4a4d23;
    --ink: #3d3f1d;
    --wine: #523023;

    --font-main: 'Jost', sans-serif;
    --fs-body: clamp(1.05rem, 1.96vw, 1.4rem);
    --fs-h1: clamp(1.96rem, 3.85vw, 3.15rem);
    --fs-h2: clamp(1.96rem, 3.5vw, 2.94rem);
    --fs-h3: clamp(1.1rem, 1.8vw, 1.5rem);
    --fs-eyebrow: clamp(0.77rem, 1.4vw, 1.05rem);
    --fs-small: clamp(0.85rem, 1.3vw, 1.05rem);
    --lh-body: 1.35;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-main);
    font-weight: 300;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    overflow-x: hidden;
}

a {
    color: inherit;
}

/* ==========================================================================
   ESTILOS DE BOTONES
   ========================================================================== */
button,
.btn,
.listen,
.habitat-video-link {
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: opacity .2s ease, transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn-primary,
.habitat-video-link {
    font-family: var(--font-main);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: opacity .2s ease, transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
    font-size: var(--fs-small);
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.habitat-video-link:hover,
.habitat-video-link:focus-visible {
    background: var(--foreground);
    border-color: var(--foreground);
    color: var(--primary-foreground);
    transform: translateY(-2px);
}

.btn-outline,
.boton-mapa {
    display: inline-block;
    border: 1px solid var(--primary);
    border-radius: 40px;
    padding: 0.85rem 1.8rem;
    font-weight: 500;
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover,
.boton-mapa:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.action-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 22px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease, background-color .25s ease, color .25s ease;
}

.action-link:hover {
    background: var(--foreground);
    color: var(--primary-foreground);
    transform: translateY(-1px);
}

/* ==========================================================================
   CONTENEDOR DE VIDEO HERO Y TÍTULO CENTRADO
   ========================================================================== */
.video-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: rgba(22, 26, 18, 0.6);
}

.video-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 16, 12, 0.38);
    z-index: 1;
}

.video-container .bg-videobio {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 1;
    isolation: isolate;
    filter: saturate(.92) contrast(.98) brightness(.72);
    animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .video-container .bg-videobio {
        animation: none;
    }
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 3;
    width: 100%;
    padding: 0 20px;
    text-align: center;
    color: #ffffff;
    box-sizing: border-box;
}

.hero-title h1 {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0 auto;
    color: #ffffff;
    font-size: var(--fs-h1);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: 5px;
    justify-content: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.hero-title h1::before,
.hero-title h1::after {
    content: "";
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    flex: 1;
    max-width: 200px;
}

.hero-title p {
    font-size: var(--fs-eyebrow);
    font-weight: 500;
    letter-spacing: 4px;
    margin: 14px 0 0;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

@media (max-width: 760px) {
    .video-container {
        height: 40vh;
    }

    .video-container .bg-videobio {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-title h1::before,
    .hero-title h1::after {
        display: none;
    }

    .voces-creaciones-hero .hero-title {
        top: calc(50% - 21px);
    }
}

/* ==========================================================================
   ESTRUCTURA DE LÍNEA DIVISORA Y FILA DE ENCABEZADO (.hrow y .rule)
   ========================================================================== */
.hrow {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 8px;
}

.rule {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    margin: 0;
}

/* ==========================================================================
   BANDAS Y CONTENIDOS INTERNOS
   ========================================================================== */
.band {
    position: relative;
    padding: 90px 24px;
    overflow: hidden;
}

.band > * {
    position: relative;
    z-index: 1;
}

.olive { background: var(--olive); }
.bark { background: var(--bark); }
.clay { background: var(--clay); }
.ochre { background: var(--ochre); }
.moss { background: var(--moss); }
.ink { background: var(--ink); }
.wine { background: var(--wine); }

.content-grid {
    width: min(100%, 980px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(44px, 8vw, 110px);
}

.content-grid + .content-grid {
    margin-top: 90px;
}

.intro-grid {
    align-items: start;
}

.narrow {
    width: min(100%, 790px);
    margin: 0 auto 58px;
    text-align: center;
}

.header-titles {
    margin-top: 4px;
}

/* ==========================================================================
   REAJUSTE DE ESCALA TIPOGRÁFICA PROPORCIONAL
   ========================================================================== */

/* h2: Título principal de bloque (antes span.category-tag o h2 previo) */
h2 {
    margin: 0;
    font-size: var(--fs-h2); /* Tamaño grande proporcional: clamp(1.96rem, 3.5vw, 2.94rem) */
    font-weight: 300;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.1;
    white-space: normal; /* Permite salto de línea fluido si el título es largo */
}

/* h3: Subtítulo complementario */
h3 {
    margin: 0 0 6px 0;
    font-size: var(--fs-h3); /* Tamaño mediano proporcional: clamp(1.1rem, 1.8vw, 1.5rem) */
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.25;
}

/* Subtítulos secundarios o bajadas cortas en el header-titles */
.header-titles p {
    font-size: var(--fs-eyebrow); /* Tamaño pequeño de apoyo: clamp(0.77rem, 1.4vw, 1.05rem) */
    font-weight: 400;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

/* Párrafos y texto descriptivo general */
p, .body-copy p {
    font-size: var(--fs-body); /* Tamaño de lectura base (16px a 17px) */
    font-weight: 300;
    line-height: 1.55;
    color: var(--foreground);
    margin: 0 0 20px 0;
}

p {
    margin: 0 0 20px;
    line-height: 1.5;
    color: var(--foreground);
}

.credit{
    font-size: var(--fs-small);
    font-style: italic;
    color: var(--cream);
    border-top: 1px dashed var(--line-accent-soft);
    padding-top: 15px;
    margin-top: 25px;
}

.body-copy {
    font-size: 17px;
}

.body-copy p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.portrait-media {
    justify-self: center;
}

.portrait-media img {
    display: block;
    width: min(100%, 360px);
    max-width: 100%;
    border-radius: 7px;
    transition: transform 0.3s ease;
}

.portrait-media img:hover {
    transform: scale(1.02);
}

.wide-photo {
    display: block;
    width: min(100%, 1000px);
    max-height: 470px;
    object-fit: cover;
    margin: 0 auto 65px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.square-photo,
.landscape-photo,
.podcast-cover {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 14px 16px 0 rgba(45, 46, 20, 0.35);
}

.square-photo { aspect-ratio: 1; }
.landscape-photo { aspect-ratio: 16 / 10; }

.story-grid {
    align-items: start;
    font-size: 15px;
}

/* Reproductores Multimedia */
.video-wrap {
    width: min(100%, 760px);
    margin: 65px auto 0;
}

.video-wrap.large {
    width: min(100%, 980px);
}

.video-poster {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    padding: 0;
    border: 0;
    overflow: hidden;
    cursor: pointer;
    background: var(--ink);
    border-radius: 16px;
}

.video-poster:not([href]) {
    cursor: default;
}

.video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}

.video-poster:hover img {
    transform: scale(1.025);
}

.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--foreground);
    background: rgba(45, 46, 20, 0.85);
    border: 1px solid var(--primary);
    transition: background 0.3s ease, transform 0.3s ease;
}

.video-poster:hover .play-button {
    background: var(--orange-accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 26px;
    height: 26px;
    fill: currentColor;
    margin-left: 3px;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.podcast-cover {
    width: min(100%, 360px);
    justify-self: center;
    aspect-ratio: 1;
}

.spotify-player {
    width: min(100%, 980px);
    margin: 55px auto 0;
}

.spotify-player iframe {
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 12px;
}

.poster-video {
    position: relative;
    width: min(100%, 360px);
    justify-self: center;
}

.poster-video > img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.newsletter {
    max-width: 680px;
    margin: 50px auto 0;
    text-align: center;
}

.newsletter form {
    display: flex;
}

.newsletter input {
    min-width: 0;
    flex: 1;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--foreground);
    border: 1px solid var(--border);
    outline: none;
    border-radius: 8px 0 0 8px;
}

.newsletter button {
    border: 1px solid var(--primary);
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 13px 25px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.newsletter button:hover {
    background: var(--foreground);
    border-color: var(--foreground);
}

.thanks {
    margin-top: 12px;
    color: var(--primary);
    font-weight: bold;
    display: none;
}

@media (max-width: 700px) {
    .band {
        padding: 68px 22px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .reverse-mobile > img {
        order: 2;
    }

    .newsletter form {
        flex-direction: column;
        gap: 8px;
    }

    .newsletter input,
    .newsletter button {
        border-radius: 8px;
    }

}

/* ==========================================================================
   EXTENSIONES Y SEPARADOR DE PRODUCTOS
   ========================================================================== */

#productos {
    --plant-divider-height: clamp(50px, 8vw, 100px);
    position: relative;
    z-index: 2;
    margin-top: calc(-1 * var(--plant-divider-height));
    padding: calc(90px + var(--plant-divider-height)) 24px 90px;
    background: linear-gradient(
        to bottom,
        transparent 0,
        transparent var(--plant-divider-height),
        var(--olive) var(--plant-divider-height)
    );
}

#productos::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: var(--plant-divider-height);
    background: var(--olive);
    mask: url("../assets/2.svg") center bottom / 40% auto repeat-x;
    -webkit-mask: url("../assets/2.svg") center bottom / 40% auto repeat-x;
    pointer-events: none;
}

@media (max-width: 767px) {
    #productos::before {
        height: clamp(56px, 15.625vw, 80px);
        mask-size: 100% auto;
        -webkit-mask-size: 100% auto;
    }
}

.ficpa-badge {
    display: inline-block;
    margin: 0 0 22px;
    padding: 0 0 8px 14px;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .24em;
    line-height: 1.2;
    text-transform: uppercase;
    border: 0;
    border-left: 3px solid var(--primary);
    border-radius: 0;
    box-shadow: none;
}

.ficpa-note {
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.section-divider {
    width: min(100%, 980px);
    margin: 70px auto;
    border: 0;
    border-top: 1px solid var(--border);
}

/* ==========================================================================
   MINISERIE «EL VIAJE DEL MIRANCHURO» - CARRUSEL
   ========================================================================== */

.miniserie-carousel {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 20px;
    align-items: stretch;
    width: min(100%, 980px);
    margin: 0 auto;
}

.miniserie-carousel-stage {
    display: flex;
    flex-direction: column;
}

.miniserie-carousel-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: none;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.miniserie-carousel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.miniserie-episode-indicator {
    position: absolute;
    top: 12px;
    left: 20px;
    z-index: 3;
    font-family: var(--font-main);
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.25) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.miniserie-carousel-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 22, 12, 0.88) 0%, rgba(20, 22, 12, 0.2) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.miniserie-carousel-copy {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px;
    color: var(--foreground);
}

.miniserie-carousel-copy h4 {
    margin: 0 0 4px 0;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.miniserie-carousel-copy p {
    margin: 0;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.miniserie-carousel-media .play-button {
    z-index: 3;
}

.miniserie-carousel-thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.miniserie-thumb-card {
    position: relative;
    display: block;
    width: 100%;
    height: 82px;
    margin-top: 0;
    overflow: hidden;
    border: none !important;
    outline: none !important;
    border-radius: 4px;
    padding: 0;
    background: transparent;
    cursor: pointer;
    box-shadow: none !important;
}

.miniserie-thumb-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    box-shadow: none;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

.miniserie-thumb-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.miniserie-thumb-card span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(30, 32, 16, 0.78);
    backdrop-filter: blur(2px);
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.miniserie-thumb-card:hover span {
    opacity: 1;
}

.miniserie-thumb-card.is-active img {
    filter: contrast(1.08) brightness(1.05);
}

.miniserie-thumb-card.is-active span {
    opacity: 1;
    color: var(--primary);
    background: rgba(20, 22, 10, 0.82);
}

@media (max-width: 760px) {
    .miniserie-carousel {
        grid-template-columns: 1fr;
    }

    .miniserie-carousel-media {
        min-height: 300px;
    }

    .miniserie-carousel-thumbs {
        flex-direction: row;
        overflow-x: auto;
    }

    .miniserie-thumb-card {
        flex: 0 0 110px;
        height: 85px;
    }
}

/* Visor compartido de PDF */
/* ============================================================
     VISOR DE PDF CON PASADOR DE PÁGINA
     Colores y tamaños se cambian en estas variables.
     ============================================================ */
  .pfm {
    --pfm-backdrop: rgba(18, 16, 14, .82);
    --pfm-ui: #f5f2ed;
    --pfm-ui-dim: rgba(245, 242, 237, .6);
    --pfm-paper: #fff;
    --pfm-bar-offset: 5vh;
    position: fixed; inset: 0; z-index: 2147483000;
    display: none; flex-direction: column;
    background: var(--pfm-backdrop);
    padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
    opacity: 0; transition: opacity .25s ease;
  }
  .pfm.is-open { display: flex; }
  .pfm.is-visible { opacity: 1; }

  .pfm__bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: calc(12px + var(--pfm-bar-offset)) 16px 12px; color: var(--pfm-ui);
    font: 500 14px/1.2 "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  }
  .pfm__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pfm-ui-dim); }
  .pfm__close, .pfm__nav, .pfm__tool {
    appearance: none; border: 0; cursor: pointer; color: var(--pfm-ui);
    background: rgba(255,255,255,.1); border-radius: 999px;
    width: 40px; height: 40px; display: grid; place-items: center;
    transition: background .15s ease, opacity .15s ease;
  }
  .pfm__close:hover:not(:disabled), .pfm__nav:hover:not(:disabled), .pfm__tool:hover:not(:disabled) { background: rgba(255,255,255,.2); }
  .pfm__close:focus-visible, .pfm__nav:focus-visible, .pfm__tool:focus-visible { outline: 2px solid var(--pfm-ui); outline-offset: 2px; }
  .pfm__nav:disabled, .pfm__tool:disabled { opacity: .3; cursor: default; }
  .pfm svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  .pfm__title { flex: 1; min-width: 0; }
    .pfm__dl {
        display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
        border-radius: 999px; background: rgba(255,255,255,.1); color: var(--pfm-ui);
        font: inherit; text-decoration: none; cursor: pointer;
        transition: background .15s ease;
    }
    .pfm__dl[hidden] { display: none; }
    .pfm__dl:hover { background: rgba(255,255,255,.2); }
    .pfm__dl:focus-visible { outline: 2px solid var(--pfm-ui); outline-offset: 2px; }
    .pfm__dl svg { width: 18px; height: 18px; }
  .pfm__tools { display: flex; align-items: center; gap: 8px; }
  .pfm__zoomlabel { min-width: 44px; text-align: center; color: var(--pfm-ui-dim); font-size: 13px; font-variant-numeric: tabular-nums; }
  .pfm__book { transform-origin: center center; }

  /* Capa que permite arrastrar el documento cuando hay zoom (bloquea el giro de hoja) */
  .pfm__pan { position: absolute; inset: 0; z-index: 1; cursor: grab; touch-action: none; }
  .pfm__pan.is-drag { cursor: grabbing; }

  /* Evita que el navegador robe los gestos táctiles (scroll, zoom, "tirar para refrescar") */
  .pfm, .pfm__stage, .pfm__book { touch-action: none; overscroll-behavior: contain; }
  .pfm__book { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }

  /* Flechas siempre visibles a los costados */
  .pfm__nav--side {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 48px; height: 48px; background: rgba(20, 18, 16, .55);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .pfm__nav--prev { left: max(10px, env(safe-area-inset-left, 0px)); }
  .pfm__nav--next { right: max(10px, env(safe-area-inset-right, 0px)); }
  .pfm__nav--side svg { width: 24px; height: 24px; }

  .pfm__stage {
    flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
  }
  .pfm__book { position: relative; }
  .pfm__page { background: var(--pfm-paper); overflow: hidden; }
  .pfm__page canvas { width: 100%; height: 100%; display: block; }
  .pfm__msg {
    position: absolute; color: var(--pfm-ui); text-align: center; padding: 0 24px;
    font: 15px/1.4 "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  }

  .pfm__foot {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    padding: 12px 16px 16px; color: var(--pfm-ui);
    font: 500 14px/1 "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-variant-numeric: tabular-nums;
  }

  @media (prefers-reduced-motion: reduce) { .pfm { transition: none; } }
