@charset "UTF-8";
/* ==========================================================================
   lafabricadepegatinas v.2027 — TEXT REVEAL
   Archivo: css/textreveal.css
   Versión: 2027.1

   Efecto: texto en gris que se ilumina palabra a palabra al hacer scroll.
   ========================================================================== */

.tr-section {
    background: var(--lfdp-bg2);
    padding: var(--lfdp-space-xxl) 0;
    border-top: 1px solid var(--lfdp-border);
    border-bottom: 1px solid var(--lfdp-border);
}

.tr-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--lfdp-space-md);
    text-align: center;
}

.tr-text {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Cada palabra es un span independiente */
.tr-word {
    display: inline;
    color: rgba(29,29,31,0.15);
    transition: color 0.15s ease;
    white-space: nowrap;
}

.tr-word.is-lit {
    color: var(--lfdp-txt);
}

.tr-word.tr-light {
    font-weight: 300;
}

.tr-word.tr-light.is-lit {
    color: var(--lfdp-txt2);
}

/* La palabra clave que se ilumina en púrpura */
.tr-word.is-lit.tr-accent {
    background: var(--lfdp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Estado inicial para accent sin iluminar */
.tr-word.tr-accent {
    -webkit-text-fill-color: rgba(29,29,31,0.15);
}

.tr-word.tr-accent.is-lit {
    -webkit-text-fill-color: transparent;
}

@media (max-width: 480px) {
    .tr-text {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
}
