:root {
    --sp-blue:     #07379E;
    --sp-gold:     #D3AC35;
    --sp-dark:     #07379E;
    --sp-light-bg: #f0f3f9;
    --sp-border:   rgba(7,55,158,0.1);
    --sp-text:     rgba(10,16,35,0.72);
    --sp-container: min(1200px, 90vw);
    --sp-gutter:    clamp(1.25rem, 3vw, 2rem);
}

/* ── Reading Progress Bar ─────────────────────────────── */
.fedomu-reading-progress--gold {
    position: fixed;
    left: 0;
    width: 0%;
    height: 5px;
    background: linear-gradient(90deg, #D4AF37, #f5d76e);
    z-index: 999999;
    transition: width 0.15s ease-out;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.fedomu-single-project {
    background: var(--sp-light-bg);
    min-height: 100vh;
}

/* ── Hero ─────────────────────────────────────────────────── */
.fedomu-sp-hero {
    background: radial-gradient(circle at 30% 40%, #0d42b1 0%, #07379E 100%);
    position: relative;
    overflow: hidden;
}
.fedomu-sp-hero__layout {
    max-width: var(--sp-container);
    margin: 0 auto;
    padding: clamp(5.5rem, 10vh, 8rem) var(--sp-gutter) clamp(3rem, 4vh, 4rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
@media (min-width: 768px) {
    .fedomu-sp-hero__layout {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 3vw, 3rem);
    }
}
.fedomu-sp-hero__inner {
    position: relative;
    z-index: 2;
}
.fedomu-sp-hero__media {
    position: relative;
    border-radius: clamp(8px, 1.5vw, 16px);
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 60px -15px rgba(0,0,0,0.5);
}
@media (max-width: 767px) {
    .fedomu-sp-hero__media {
        order: -1;
        max-height: 200px;
    }
}
.fedomu-sp-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fedomu-sp-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--sp-gold);
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    font-size: 0.625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sp-dark);
    margin-bottom: 1rem;
}
.fedomu-sp-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--sp-gold);
    line-height: 1.05;
    margin: 0 0 1rem;
    max-width: 20ch;
    position: relative;
    padding-bottom: 0.5rem;
}
/* Gold underline — draws after title reveal finishes */
.fedomu-sp-hero__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--sp-gold), #c09a2a);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: none;
}
.fedomu-sp-hero__title.sp-revealed::after {
    animation: sp-draw-line 700ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.fedomu-sp-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.fedomu-sp-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.fedomu-sp-hero__stat-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
}
.fedomu-sp-hero__stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* ── Layout 60 / 40 ───────────────────────────────────────── */
.fedomu-sp-body {
    max-width: var(--sp-container);
    margin: -3rem auto 6rem;
    padding: 0 var(--sp-gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 2vw, 1.75rem);
    position: relative;
    z-index: 3;
    align-items: start;
}
@media (min-width: 768px) {
    .fedomu-sp-body { grid-template-columns: 3fr 2fr; }
}
@media (min-width: 1024px) {
    .fedomu-sp-body { grid-template-columns: 5fr 2fr; }
}

/* ── Left column — stacked cards ─────────────────────────── */
.fedomu-sp-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Objetivo callout — not a full section, just a highlight */
.fedomu-sp-objetivo {
    background: #fff;
    border-left: 4px solid var(--sp-gold);
    border-radius: 0 clamp(10px, 1.5vw, 16px) clamp(10px, 1.5vw, 16px) 0;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.75rem);
    box-shadow: 0 2px 12px rgba(7,55,158,0.06);
}
.fedomu-sp-objetivo__lbl {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(10,16,35,0.38);
    margin-bottom: 0.5rem;
}
.fedomu-sp-objetivo__txt {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--sp-dark);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* Content card */
.fedomu-sp-card {
    background: #fff;
    border-radius: clamp(12px, 2vw, 20px);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: 0 2px 16px rgba(7,55,158,0.05);
}
.fedomu-sp-card__title {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--sp-dark);
    margin: 0 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.fedomu-sp-card__title::before {
    content: '';
    display: block;
    width: 1rem;
    height: 2px;
    background: var(--sp-gold);
    flex-shrink: 0;
}
.fedomu-sp-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--sp-text);
    text-align: justify;
}
.fedomu-sp-text p   { margin-bottom: 1.1rem; }
.fedomu-sp-text h3  { font-size: 1rem; font-weight: 700; color: var(--sp-dark); margin: 1.75rem 0 0.6rem; letter-spacing: -0.01em; }
.fedomu-sp-text ul  { padding-left: 1.25rem; margin-bottom: 1.1rem; }
.fedomu-sp-text li  { margin-bottom: 0.4rem; }

/* ── Inner content micro-reveals — individual elements, not the card ── */
.sp-text-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 440ms var(--ease-out),
                transform 440ms var(--ease-out);
}
.sp-text-reveal.sp-visible {
    opacity: 1;
    transform: translateY(0);
}
/* h3 subtitles get a subtle left-slide instead to break rhythm */
.fedomu-sp-text h3.sp-text-reveal {
    transform: translateX(-10px);
}
.fedomu-sp-text h3.sp-text-reveal.sp-visible {
    transform: translateX(0);
}
/* Lists reveal item by item with stagger via transition-delay (set in JS) */
.fedomu-sp-text li.sp-text-reveal {
    transform: translateX(8px);
}
.fedomu-sp-text li.sp-text-reveal.sp-visible {
    transform: translateX(0);
}
/* ── Highlighted Blockquote — "wow" section ──────────────── */
.fedomu-sp-text blockquote {
    position: relative;
    margin: 2.5rem calc(-1 * clamp(1.5rem, 3vw, 2.5rem));
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    background: #0C40AD;
    border: none;
    border-radius: 0;
    font-style: normal;
    color: #fff;
    font-size: clamp(1.05rem, 1.2vw, 1.2rem);
    line-height: 1.7;
    letter-spacing: -0.01em;
    text-align: left;
}
.fedomu-sp-text blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: clamp(1.5rem, 3vw, 2.5rem);
    width: 40px;
    height: 3px;
    background: var(--sp-gold);
    border-radius: 2px;
}
.fedomu-sp-text blockquote p {
    color: #fff;
    margin-bottom: 0.75rem;
    text-align: left;
}
.fedomu-sp-text blockquote p:last-child { margin-bottom: 0; }
/* Gold text — the animated portion */
.fedomu-sp-text blockquote strong,
.fedomu-sp-text blockquote em {
    color: var(--sp-gold);
    font-style: normal;
    font-weight: 700;
}
/* Clip reveal on gold spans */
.fedomu-sp-text blockquote [data-gold-reveal] {
    display: inline;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 600ms cubic-bezier(0.23, 1, 0.32, 1);
}
.fedomu-sp-text blockquote [data-gold-reveal].sp-gold-visible {
    clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
    .fedomu-sp-text blockquote [data-gold-reveal] {
        clip-path: none;
        transition: none;
    }
}

/* Results list */
.fedomu-sp-results {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.875rem;
}
.fedomu-sp-result {
    background: var(--sp-light-bg);
    border-radius: 12px;
    padding: clamp(0.75rem, 1.5vw, 1.1rem) clamp(1rem, 2vw, 1.4rem);
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1.1rem);
    align-items: flex-start;
}
.fedomu-sp-result__icon {
    width: 22px;
    height: 22px;
    background: var(--sp-blue);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.fedomu-sp-result__txt {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--sp-dark);
    line-height: 1.5;
}

/* Contact CTA — compact card, no section header */
.fedomu-sp-contact {
    background: linear-gradient(135deg, #eef2ff 0%, #e8eeff 100%);
    border: 1px solid rgba(7,55,158,0.12);
    border-radius: clamp(12px, 2vw, 20px);
    padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
@media (max-width: 767px) {
    .fedomu-sp-contact { flex-direction: column; text-align: center; }
}
.fedomu-sp-contact__icon {
    width: 48px;
    height: 48px;
    background: var(--sp-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.fedomu-sp-contact__body { flex: 1; min-width: 0; }
.fedomu-sp-contact__heading {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--sp-dark);
    margin: 0 0 0.3rem;
}
.fedomu-sp-contact__text {
    font-size: 0.8125rem;
    color: rgba(10,16,35,0.55);
    margin: 0 0 1rem;
    line-height: 1.5;
}
.fedomu-sp-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--sp-blue);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 800;
    text-decoration: none;
    padding: 0.55rem 1.1rem;
    border-radius: 99px;
    letter-spacing: 0.03em;
    transition: opacity 0.2s;
}
.fedomu-sp-contact__link:hover { opacity: 0.85; color: #fff; }

/* Back link */
.fedomu-sp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(10,16,35,0.38);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.fedomu-sp-back:hover { color: var(--sp-blue); }

/* ── Right sidebar ────────────────────────────────────────── */
.fedomu-sp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
@media (min-width: 768px) {
    .fedomu-sp-sidebar {
        position: sticky;
        top: clamp(4rem, 8vh, 5.5rem);
        align-self: start;
    }
}

/* Ficha técnica */
.fedomu-sp-ficha {
    background: #fff;
    border-radius: clamp(12px, 2vw, 20px);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid var(--sp-border);
}
.fedomu-sp-ficha__title {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sp-gold);
    margin: 0 0 1.75rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid var(--sp-border);
}
.fedomu-sp-field { margin-bottom: 1.25rem; }
.fedomu-sp-field:last-child { margin-bottom: 0; }
.fedomu-sp-field__lbl {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(10,16,35,0.33);
    margin-bottom: 0.3rem;
}
.fedomu-sp-field__val {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--sp-dark);
    line-height: 1.4;
}
.fedomu-sp-field__val--highlight {
    color: var(--sp-blue);
    font-size: 1.125rem;
}

/* En Alianza con — Variante A */
.fedomu-sp-partner {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--sp-border);
    overflow: hidden;
}
.fedomu-sp-partner__strip {
    height: 5px;
}
.fedomu-sp-partner__body {
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
}
.fedomu-sp-partner__eyebrow {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(10,16,35,0.38);
    margin-bottom: 1.1rem;
}
.fedomu-sp-partner__item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--sp-border);
}
.fedomu-sp-partner__item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.fedomu-sp-partner__logo {
    max-height: 48px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
    display: block;
}
.fedomu-sp-partner__name {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--sp-dark);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.fedomu-sp-partner__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--sp-blue);
    text-decoration: none;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(7,55,158,0.2);
    padding-bottom: 1px;
    transition: opacity 0.2s;
}
.fedomu-sp-partner__link:hover { opacity: 0.65; color: var(--sp-blue); }

/* Redes Sociales */
.fedomu-sp-social {
    background: #fff;
    border-radius: clamp(12px, 2vw, 20px);
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid var(--sp-border);
}
.fedomu-sp-social__title {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sp-gold);
    margin-bottom: 1.1rem;
}
.fedomu-sp-social__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.625rem;
}
.fedomu-sp-social__btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    background: var(--sp-light-bg);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sp-dark);
    border: 1px solid transparent;
    transition: border-color 0.2s, background 0.2s;
}
.fedomu-sp-social__btn:hover {
    border-color: var(--sp-border);
    background: #fff;
    color: var(--sp-dark);
}
.fedomu-sp-social__btn svg { flex-shrink: 0; }

/* Capacity card */
.fedomu-sp-capacity {
    background: var(--sp-blue);
    border-radius: clamp(12px, 2vw, 20px);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    color: #fff;
}
.fedomu-sp-capacity__title {
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
    color: var(--sp-gold);
}
.fedomu-sp-capacity__text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.68);
    margin-bottom: 1.25rem;
}
.fedomu-sp-capacity__badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.7rem 1rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    transition: background 200ms cubic-bezier(0.23,1,0.32,1),
                color 200ms cubic-bezier(0.23,1,0.32,1),
                transform 160ms cubic-bezier(0.23,1,0.32,1);
}
.fedomu-sp-capacity__badge:hover {
    background: var(--sp-gold);
    color: #07379E;
    transform: scale(1.03);
}
.fedomu-sp-capacity__badge:active {
    transform: scale(0.97);
}

/* Biblioteca */
.fedomu-sp-biblioteca {
    background: linear-gradient(135deg, #0b4f3a 0%, #0d6147 100%);
    border-radius: clamp(12px, 2vw, 20px);
    padding: clamp(1.25rem, 2.5vw, 2rem);
    color: #fff;
}
.fedomu-sp-biblioteca__title {
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
    color: #6ee7b7;
}
.fedomu-sp-biblioteca__text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.68);
    margin-bottom: 1.25rem;
}
.fedomu-sp-biblioteca__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    padding: 0.625rem 1rem;
    border-radius: 12px;
    letter-spacing: 0.04em;
    transition: background 0.2s;
}
.fedomu-sp-biblioteca__link:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   ANIMATION SYSTEM
   Easing curves: custom strong — not browser defaults
   Emil Kowalski principle: taste is in the unseen details
   ═══════════════════════════════════════════════════════════ */
:root {
    --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);       /* strong ease-out: instant feedback */
    --ease-io:     cubic-bezier(0.77, 0, 0.175, 1);       /* strong ease-in-out: on-screen motion */
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);      /* subtle spring for card lifts */
}

/* ── MACRO: Hero tag ─────────────────────────────── */
.fedomu-sp-hero__tag {
    opacity: 0;
    transform: translateX(-12px);
    animation: sp-slide-in 420ms var(--ease-out) 80ms forwards;
}

/* ── MACRO: Title clip reveal ────────────────────── */
.fedomu-sp-hero__title[data-reveal] {
    clip-path: inset(100% 0 0 0);
    transform: translateY(20px);
    opacity: 0;
}
.fedomu-sp-hero__title[data-reveal].sp-revealed {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    opacity: 1;
    transition: clip-path 550ms cubic-bezier(0.23, 1, 0.32, 1),
                transform 550ms cubic-bezier(0.23, 1, 0.32, 1),
                opacity 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

/* ── MACRO: Hero stats stagger ───────────────────── */
.fedomu-sp-hero__stat {
    opacity: 0;
    transform: translateY(10px);
    animation: sp-fade-up 380ms var(--ease-out) forwards;
}
.fedomu-sp-hero__stat:nth-child(1) { animation-delay: 580ms; }
.fedomu-sp-hero__stat:nth-child(2) { animation-delay: 680ms; }
.fedomu-sp-hero__stat:nth-child(3) { animation-delay: 780ms; }

/* ── MACRO: Hero media reveal ───────────────────── */
.fedomu-sp-hero__media {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
    animation: sp-media-in 650ms var(--ease-out) 200ms forwards;
}
@keyframes sp-media-in {
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── MACRO: Scroll reveal — cards ────────────────── */
.sp-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 520ms var(--ease-out),
                transform 520ms var(--ease-out);
}
.sp-reveal.sp-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── MACRO: Partner logo entrance ────────────────── */
.fedomu-sp-partner__logo-slot {
    transition: opacity 600ms var(--ease-out) 200ms,
                transform 600ms var(--ease-out) 200ms;
}
.sp-reveal .fedomu-sp-partner__logo-slot {
    opacity: 0;
    transform: scale(0.92);
}
.sp-reveal.sp-visible .fedomu-sp-partner__logo-slot {
    opacity: 1;
    transform: scale(1);
}

/* ── KEYFRAMES ───────────────────────────────────── */
@keyframes sp-slide-in {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes sp-draw-line {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes sp-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   MICRO: Card hovers — only on pointer devices (Emil rule)
   translateY lifts never scale children text (unlike scale)
   ═══════════════════════════════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {

    /* Generic card lift */
    .fedomu-sp-objetivo,
    .fedomu-sp-card,
    .fedomu-sp-ficha,
    .fedomu-sp-partner,
    .fedomu-sp-capacity,
    .fedomu-sp-social {
        transition: transform 240ms var(--ease-spring),
                    box-shadow 240ms var(--ease-spring);
    }
    .fedomu-sp-objetivo:hover,
    .fedomu-sp-card:hover,
    .fedomu-sp-ficha:hover,
    .fedomu-sp-partner:hover,
    .fedomu-sp-capacity:hover,
    .fedomu-sp-social:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(7,55,158,0.10);
    }

    /* Biblioteca card: lift + strip accent brightens */
    .fedomu-sp-biblioteca {
        transition: transform 240ms var(--ease-spring),
                    box-shadow 240ms var(--ease-spring),
                    filter 240ms var(--ease-out);
    }
    .fedomu-sp-biblioteca:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(11,79,58,0.22);
        filter: brightness(1.06);
    }

    /* Contact card lift */
    .fedomu-sp-contact {
        transition: transform 240ms var(--ease-spring),
                    box-shadow 240ms var(--ease-spring);
    }
    .fedomu-sp-contact:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 40px rgba(7,55,158,0.10);
    }

    /* Biblioteca button: gold on hover, scale + blur on active */
    .fedomu-sp-biblioteca__link {
        transition: background 200ms var(--ease-out),
                    color 200ms var(--ease-out),
                    border-color 200ms var(--ease-out),
                    transform 160ms var(--ease-out),
                    filter 160ms var(--ease-out);
    }
    .fedomu-sp-biblioteca__link:hover {
        background: var(--sp-gold);
        border-color: var(--sp-gold);
        color: #07379E;
        transform: scale(1.02);
    }
    .fedomu-sp-biblioteca__link:active {
        transform: scale(0.97);
        filter: blur(0.5px);
    }

    /* Contact CTA button — gold on hover, independent of card hover */
    .fedomu-sp-contact__link {
        transition: background 200ms var(--ease-out),
                    color 200ms var(--ease-out),
                    transform 160ms var(--ease-out),
                    box-shadow 200ms var(--ease-out);
    }
    .fedomu-sp-contact__link:hover {
        background: var(--sp-gold);
        color: #07379E;
        box-shadow: 0 4px 16px rgba(211,172,53,0.35);
        transform: scale(1.03);
    }
    .fedomu-sp-contact__link:active {
        transform: scale(0.97);
    }

    /* Social buttons — fill with network identity color */
    .fedomu-sp-social__btn {
        transition: background 200ms var(--ease-out),
                    color 200ms var(--ease-out),
                    border-color 200ms var(--ease-out),
                    transform 160ms var(--ease-out);
    }
    .fedomu-sp-social__btn:active { transform: scale(0.96); }

    .fedomu-sp-social__btn[href*="facebook"]:hover  { background: #1877F2; color: #fff; border-color: #1877F2; }
    .fedomu-sp-social__btn[href*="twitter"]:hover,
    .fedomu-sp-social__btn[href*="x.com"]:hover     { background: #000; color: #fff; border-color: #000; }
    .fedomu-sp-social__btn[href*="instagram"]:hover {
        background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
        color: #fff; border-color: transparent;
    }
    .fedomu-sp-social__btn[href*="linkedin"]:hover  { background: #0A66C2; color: #fff; border-color: #0A66C2; }

    /* Result items — accent reveal on left + checkmark goes gold */
    .fedomu-sp-result {
        transition: background 200ms var(--ease-out),
                    transform 180ms var(--ease-out);
        border-left: 2px solid transparent;
    }
    .fedomu-sp-result:hover {
        background: #e8eeff;
        border-left-color: var(--sp-gold);
        transform: translateX(3px);
    }
    /* Checkmark icon: transition to gold + subtle scale pulse */
    .fedomu-sp-result__icon {
        transition: background 200ms var(--ease-out),
                    transform 200ms var(--ease-spring);
    }
    .fedomu-sp-result:hover .fedomu-sp-result__icon {
        background: var(--sp-gold);
        transform: scale(1.18);
    }

    /* Partner link arrow slides right */
    .fedomu-sp-partner__link svg {
        transition: transform 180ms var(--ease-out);
    }
    .fedomu-sp-partner__link:hover svg { transform: translateX(3px); }

    /* Back link arrow slides left */
    .fedomu-sp-back {
        transition: color 200ms var(--ease-out);
    }
    .fedomu-sp-back svg,
    .fedomu-sp-back .sp-back-arrow {
        display: inline-block;
        transition: transform 180ms var(--ease-out);
    }
    .fedomu-sp-back:hover .sp-back-arrow { transform: translateX(-4px); }
}

/* ── prefers-reduced-motion: keep opacity, kill movement ── */
@media (prefers-reduced-motion: reduce) {
    .fedomu-sp-hero__tag,
    .fedomu-sp-hero__stat,
    .fedomu-sp-hero__media {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .sp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
