/* Minification failed. Returning unminified contents.
(7,47): run-time error CSS1039: Token not allowed after unary operator: '-color-bg'
(8,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(16,21): run-time error CSS1039: Token not allowed after unary operator: '-text-sm'
(20,17): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(28,45): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(28,66): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(33,36): run-time error CSS1019: Unexpected token, found ' '
(33,36): run-time error CSS1019: Unexpected token, found ' '
(33,36): run-time error CSS1042: Expected function, found ' '
(33,36): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(38,40): run-time error CSS1019: Unexpected token, found ' '
(38,40): run-time error CSS1019: Unexpected token, found ' '
(38,40): run-time error CSS1042: Expected function, found ' '
(38,40): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(53,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(54,21): run-time error CSS1039: Token not allowed after unary operator: '-text-2xl'
(62,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(63,21): run-time error CSS1039: Token not allowed after unary operator: '-text-lg'
(112,17): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(117,45): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(134,37): run-time error CSS1019: Unexpected token, found ' '
(134,37): run-time error CSS1019: Unexpected token, found ' '
(134,37): run-time error CSS1042: Expected function, found ' '
(134,37): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(164,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-900'
(175,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-lg'
(190,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(201,46): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(206,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(207,39): run-time error CSS1019: Unexpected token, found ' '
(207,39): run-time error CSS1019: Unexpected token, found ' '
(207,39): run-time error CSS1042: Expected function, found ' '
(207,39): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(213,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(219,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(241,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-lg'
(244,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(250,17): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(268,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(273,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(279,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(324,22): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(338,66): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(339,65): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(340,66): run-time error CSS1039: Token not allowed after unary operator: '-color-accent-600'
(340,91): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(340,120): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-900'
(341,70): run-time error CSS1039: Token not allowed after unary operator: '-color-tropical'
(347,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(352,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-md'
(366,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(373,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-md'
(374,34): run-time error CSS1019: Unexpected token, found ' '
(374,34): run-time error CSS1019: Unexpected token, found ' '
(374,34): run-time error CSS1042: Expected function, found ' '
(374,34): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(396,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-pill'
(402,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(407,17): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(412,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(413,40): run-time error CSS1019: Unexpected token, found ' '
(413,40): run-time error CSS1019: Unexpected token, found ' '
(413,40): run-time error CSS1042: Expected function, found ' '
(413,40): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(421,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(426,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text'
(427,21): run-time error CSS1039: Token not allowed after unary operator: '-text-lg'
(443,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-pill'
(445,28): run-time error CSS1039: Token not allowed after unary operator: '-color-border'
(446,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(458,17): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(459,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-pill'
(472,22): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(496,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-md'
(499,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(505,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(537,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-pill'
(539,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(546,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(554,17): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(561,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(566,107): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(567,109): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-900'
(583,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-md'
(586,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(617,17): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(619,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(633,17): run-time error CSS1039: Token not allowed after unary operator: '-color-danger'
(640,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(647,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(671,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-lg'
(673,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(688,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-900'
(694,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-lg'
(719,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-md'
(722,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-sm'
(728,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-md'
(739,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(743,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-700'
(748,17): run-time error CSS1039: Token not allowed after unary operator: '-color-text-soft'
(754,55): run-time error CSS1039: Token not allowed after unary operator: '-color-bg'
(761,35): run-time error CSS1019: Unexpected token, found ' '
(761,35): run-time error CSS1019: Unexpected token, found ' '
(761,35): run-time error CSS1042: Expected function, found ' '
(761,35): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(762,25): run-time error CSS1039: Token not allowed after unary operator: '-radius-lg'
(765,14): run-time error CSS1039: Token not allowed after unary operator: '-color-primary-900'
(767,22): run-time error CSS1039: Token not allowed after unary operator: '-shadow-lg'
(771,17): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(775,22): run-time error CSS1039: Token not allowed after unary operator: '-color-accent'
(780,21): run-time error CSS1039: Token not allowed after unary operator: '-text-2xl'
(792,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(793,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(794,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(795,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(796,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(828,17): run-time error CSS1039: Token not allowed after unary operator: '-color-primary'
(1206,39): run-time error CSS1019: Unexpected token, found ' '
(1206,39): run-time error CSS1019: Unexpected token, found ' '
(1206,39): run-time error CSS1042: Expected function, found ' '
(1206,39): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
(1229,43): run-time error CSS1019: Unexpected token, found ' '
(1229,43): run-time error CSS1019: Unexpected token, found ' '
(1229,43): run-time error CSS1042: Expected function, found ' '
(1229,43): run-time error CSS1062: Expected semicolon or closing curly-brace, found ' '
 */
/* =========================
   HISTORIA RD PAGE
========================= */
.history-page {
    background:
        radial-gradient(circle at top left, rgba(242, 201, 76, .16), transparent 32rem),
        linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
    color: var(--color-text);
    overflow: hidden;
}

.history-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: var(--text-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--color-danger);
}

.history-kicker::before {
    content: "";
    width: 30px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-danger), var(--color-accent));
}

.history-section {
    position: relative;
    padding: clamp(3.5rem, 2.5rem + 3vw, 6.5rem) 0;
}

.history-section-head {
    max-width: 820px;
    margin-bottom: clamp(2rem, 1.5rem + 1vw, 3rem);
}

.history-section-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.history-section-head--center .history-kicker {
    justify-content: center;
}

.history-section-head h2 {
    margin: .65rem 0 .8rem;
    color: var(--color-primary-700);
    font-size: var(--text-2xl);
    line-height: 1.08;
    font-weight: 850;
    text-wrap: balance;
}

.history-section-head p {
    margin: 0;
    color: var(--color-text-soft);
    font-size: var(--text-lg);
    line-height: 1.65;
}

/* HERO */
.history-hero {
    position: relative;
    min-height: min(860px, 92svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.history-hero__media,
.history-hero__overlay {
    position: absolute;
    inset: 0;
}

.history-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.02) contrast(1.02);
}

.history-hero__overlay {
    background:
        linear-gradient(90deg, rgba(0, 27, 66, .92) 0%, rgba(0, 27, 66, .68) 47%, rgba(0, 27, 66, .22) 100%),
        linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.62));
}

.history-hero__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: clamp(1.5rem, 2vw, 3rem);
    align-items: end;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.history-hero__copy {
    max-width: 830px;
}

.history-hero .history-kicker {
    color: var(--color-accent, #F2C94C);
    margin-bottom: 1rem;
}

.history-hero .history-kicker::before {
    background: linear-gradient(90deg, var(--color-accent), #fff);
}

.history-hero h1 {
    margin: 0 0 1rem;
    max-width: 13.5ch;
    font-size: clamp(2.65rem, 5vw, 5.6rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.history-hero p {
    max-width: 62ch;
    margin: 0 0 1.5rem;
    color: rgba(255,255,255,.9);
    font-size: clamp(1.05rem, 1rem + .35vw, 1.35rem);
    line-height: 1.6;
}

.history-hero__actions,
.history-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.history-btn,
.history-cta__actions .btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding-inline: 1.25rem;
    font-weight: 800;
}

.history-btn--glass {
    border-color: rgba(255,255,255,.72);
    color: #fff;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
}

.history-btn--glass:hover {
    color: var(--color-primary-900);
    background: #fff;
    border-color: #fff;
}

.history-hero__panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.12);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    backdrop-filter: blur(16px);
}

.history-stat-card {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: .55rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    color: var(--color-text);
    border: 1px solid rgba(255,255,255,.6);
}

.history-stat-card i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #316bd1);
    font-size: 1.15rem;
}

.history-stat-card strong {
    color: var(--color-primary-700);
    font-size: clamp(1.45rem, 1.2rem + .7vw, 2rem);
    line-height: 1;
    font-weight: 900;
}

.history-stat-card span {
    color: var(--color-text);
    font-weight: 850;
    line-height: 1.22;
}

.history-stat-card small {
    color: var(--color-text-soft);
    line-height: 1.35;
}

/* TIMELINE */
.history-section--timeline {
    background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
}

.history-timeline-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: clamp(1.5rem, 2vw, 2.6rem);
    align-items: start;
}

.history-timeline-nav {
    position: sticky;
    top: 104px;
    max-height: calc(100svh - 128px);
    overflow: auto;
    padding: 1rem;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-sm);
}

.history-timeline-nav > span {
    display: block;
    margin: .2rem .35rem .8rem;
    color: var(--color-danger);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.history-timeline-nav nav {
    display: grid;
    gap: .45rem;
}

.history-timeline-nav a {
    display: grid;
    gap: .15rem;
    padding: .8rem .9rem;
    border-radius: 16px;
    border: 1px solid transparent;
    color: var(--color-text);
    transition: all .2s ease;
}

.history-timeline-nav a small {
    color: var(--color-text-soft);
    font-size: .78rem;
    font-weight: 800;
}

.history-timeline-nav a strong {
    color: var(--color-primary-700);
    font-size: .92rem;
    line-height: 1.25;
}

.history-timeline-nav a:hover,
.history-timeline-nav a.is-active {
    background: rgba(0,59,142,.06);
    border-color: rgba(0,59,142,.13);
    transform: translateX(2px);
}

.history-timeline {
    position: relative;
    display: grid;
    gap: 1.4rem;
}

.history-timeline::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(0,59,142,.18), rgba(198,40,57,.28), rgba(242,201,76,.42));
}

.history-moment {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(240px, 34%) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.history-moment__marker {
    position: relative;
    z-index: 2;
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--color-primary);
    box-shadow: 0 12px 28px rgba(0,59,142,.22);
}

.history-moment__marker span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.5);
    font-weight: 900;
}

.history-accent--blue { background: linear-gradient(135deg, var(--color-primary), #2766c9); }
.history-accent--red { background: linear-gradient(135deg, var(--color-danger), #e24b5e); }
.history-accent--gold { background: linear-gradient(135deg, var(--color-accent-600), var(--color-accent)); color: var(--color-primary-900); }
.history-accent--tropical { background: linear-gradient(135deg, var(--color-tropical), #37c2d4); }

.history-moment__media,
.history-moment__body {
    background: #fff;
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-sm);
}

.history-moment__media {
    overflow: hidden;
    border-radius: var(--radius-md);
    min-height: 100%;
}

.history-moment__media img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.history-moment__media span {
    display: block;
    padding: .85rem 1rem;
    color: var(--color-text-soft);
    font-size: .9rem;
    line-height: 1.35;
    background: #fff;
}

.history-moment__body {
    border-radius: var(--radius-md);
    padding: clamp(1.2rem, 1rem + 1vw, 2rem);
}

.history-moment--featured .history-moment__body {
    border-color: rgba(198,40,57,.18);
    box-shadow: 0 18px 45px rgba(15,23,42,.1);
}

.history-moment__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem;
    margin-bottom: .75rem;
}

.history-moment__meta span,
.history-moment__meta small {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: .35rem .7rem;
    border-radius: var(--radius-pill);
    font-weight: 850;
}

.history-moment__meta span {
    background: rgba(0,59,142,.08);
    color: var(--color-primary);
}

.history-moment__meta small {
    background: rgba(198,40,57,.08);
    color: var(--color-danger);
}

.history-moment h3 {
    margin: 0 0 .7rem;
    color: var(--color-primary-700);
    font-size: clamp(1.35rem, 1.15rem + .75vw, 2rem);
    line-height: 1.14;
    font-weight: 900;
    text-wrap: balance;
}

.history-moment p {
    margin: 0 0 .9rem;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.history-moment__summary {
    color: var(--color-text) !important;
    font-size: var(--text-lg);
    font-weight: 650;
}

.history-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1rem;
}

.history-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .4rem .75rem;
    border-radius: var(--radius-pill);
    background: #f8fafc;
    border: 1px solid var(--color-border);
    color: var(--color-primary-700);
    font-size: .86rem;
    font-weight: 800;
}

.history-inline-video {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    border: 0;
    background: rgba(198,40,57,.08);
    color: var(--color-danger);
    border-radius: var(--radius-pill);
    min-height: 48px;
    padding: .5rem 1rem .5rem .55rem;
    font-weight: 900;
    transition: all .2s ease;
}

.history-inline-video span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-danger);
    color: #fff;
}

.history-inline-video:hover {
    transform: translateY(-2px);
    background: rgba(198,40,57,.13);
}

/* PRESIDENTS */
.history-section--presidents {
    background:
        radial-gradient(circle at bottom right, rgba(0,59,142,.12), transparent 34rem),
        linear-gradient(180deg, #f8fbfd 0%, #fff 100%);
}

.history-presidents-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.history-president-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.history-president-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,59,142,.15);
}

.history-president-card__image {
    position: relative;
    background: #e2e8f0;
}

.history-president-card__image::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.48));
}

.history-president-card__image img {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.history-president-card__body {
    padding: 1rem;
}

.history-president-card__body span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: .35rem .7rem;
    border-radius: var(--radius-pill);
    background: rgba(0,59,142,.08);
    color: var(--color-primary);
    font-size: .82rem;
    font-weight: 900;
}

.history-president-card__body h3 {
    margin: .75rem 0 .2rem;
    color: var(--color-primary-700);
    font-size: 1.18rem;
    line-height: 1.25;
    font-weight: 900;
}

.history-president-card__body small {
    display: block;
    color: var(--color-danger);
    font-weight: 850;
    margin-bottom: .65rem;
}

.history-president-card__body p {
    margin: 0;
    color: var(--color-text-soft);
    line-height: 1.55;
    font-size: .96rem;
}

.history-president--red .history-president-card__body span { background: rgba(198,40,57,.08); color: var(--color-danger); }
.history-president--gold .history-president-card__body span { background: rgba(242,201,76,.22); color: var(--color-primary-900); }
.history-president--soft .history-president-card__body span { background: rgba(22,166,182,.1); color: #0f7e8b; }

/* VIDEOS */
.history-section--videos {
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.history-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.history-video-card {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-sm);
}

.history-video-card__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #000;
    overflow: hidden;
}

.history-video-card__thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: .78;
    transition: transform .28s ease, opacity .28s ease;
}

.history-video-card__thumb span {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--color-danger);
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
}

.history-video-card__thumb:hover img {
    transform: scale(1.05);
    opacity: .92;
}

.history-video-card__body {
    padding: 1rem;
}

.history-video-card__body small {
    display: block;
    color: var(--color-danger);
    font-weight: 900;
    margin-bottom: .45rem;
}

.history-video-card__body h3 {
    margin: 0 0 .5rem;
    color: var(--color-primary-700);
    font-size: 1.12rem;
    font-weight: 900;
}

.history-video-card__body p {
    margin: 0;
    color: var(--color-text-soft);
}

.history-video-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 15, 36, .82);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.history-video-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.history-video-modal__dialog {
    position: relative;
    width: min(980px, 96vw);
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: var(--shadow-lg);
}

.history-video-modal__close {
    position: absolute;
    right: .75rem;
    top: .75rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.95);
    color: var(--color-primary-900);
}

.history-video-modal__frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.history-video-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* SOURCES + CTA */
.history-section--sources {
    background: #fff;
}

.history-sources-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
}

.history-source-card {
    display: grid;
    gap: .55rem;
    min-height: 190px;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.history-source-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,59,142,.16);
}

.history-source-card span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(0,59,142,.08);
    color: var(--color-primary);
}

.history-source-card strong {
    color: var(--color-primary-700);
    line-height: 1.25;
}

.history-source-card small {
    color: var(--color-text-soft);
    line-height: 1.4;
}

.history-section--cta {
    padding-top: 0;
    background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
}

.history-cta {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 1.2rem;
    padding: clamp(1.35rem, 1rem + 2vw, 2.5rem);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(0,59,142,.96), rgba(0,27,66,.96)),
        var(--color-primary-900);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.history-cta .history-kicker {
    color: var(--color-accent);
}

.history-cta .history-kicker::before {
    background: var(--color-accent);
}

.history-cta h2 {
    margin: .7rem 0 .7rem;
    font-size: var(--text-2xl);
    line-height: 1.1;
    font-weight: 900;
    text-wrap: balance;
}

.history-cta p {
    max-width: 70ch;
    color: rgba(255,255,255,.84);
}

.history-cta__actions .btn-outline-primary {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255,255,255,.65);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-hover-color: var(--color-primary-900);
}

.history-cta__links {
    display: grid;
    gap: .8rem;
}

.history-cta__links a {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: .9rem;
    align-items: start;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    transition: all .2s ease;
}

.history-cta__links a:hover {
    background: rgba(255,255,255,.16);
    transform: translateY(-2px);
}

.history-cta__links i {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: var(--color-primary);
}

.history-cta__links strong,
.history-cta__links small {
    display: block;
}

.history-cta__links strong {
    color: #fff;
}

.history-cta__links small {
    color: rgba(255,255,255,.76);
    line-height: 1.35;
}

/* REVEALS */
.hero-reveal,
.reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}

body.is-loaded .hero-reveal,
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-delay-0 { transition-delay: .05s; }
.hero-delay-1 { transition-delay: .14s; }
.hero-delay-2 { transition-delay: .24s; }
.delay-1 { transition-delay: .06s; }
.delay-2 { transition-delay: .12s; }
.delay-3 { transition-delay: .18s; }
.delay-4 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
    .hero-reveal,
    .reveal-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
    .history-hero__content {
        grid-template-columns: 1fr;
    }

    .history-hero__panel {
        max-width: 720px;
    }

    .history-timeline-layout {
        grid-template-columns: 1fr;
    }

    .history-timeline-nav {
        position: relative;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    .history-timeline-nav nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: .25rem;
        scroll-snap-type: x proximity;
    }

    .history-timeline-nav a {
        min-width: 210px;
        scroll-snap-align: start;
    }

    .history-sources-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 991.98px) {
    .history-hero {
        min-height: auto;
    }

    .history-hero__content {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .history-moment {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .history-timeline::before {
        left: 26px;
    }

    .history-moment__marker {
        width: 54px;
        height: 54px;
    }

    .history-moment__marker span {
        width: 36px;
        height: 36px;
    }

    .history-moment__media,
    .history-moment__body {
        grid-column: 2;
    }

    .history-moment__media img {
        min-height: 240px;
        aspect-ratio: 16 / 10;
    }

    .history-presidents-grid,
    .history-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .history-cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .history-hero__content {
        padding-top: 4.8rem;
        padding-bottom: 2rem;
    }

    .history-hero h1 {
        max-width: none;
        font-size: clamp(2.35rem, 10vw, 3.5rem);
    }

    .history-hero__actions,
    .history-cta__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .history-hero__actions .btn,
    .history-cta__actions .btn {
        width: 100%;
    }

    .history-hero__panel {
        grid-template-columns: 1fr;
    }

    .history-section-head--center {
        text-align: left;
    }

    .history-section-head--center .history-kicker {
        justify-content: flex-start;
    }

    .history-moment {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .history-timeline::before,
    .history-moment__marker {
        display: none;
    }

    .history-moment__media,
    .history-moment__body {
        grid-column: auto;
    }

    .history-presidents-grid,
    .history-video-grid,
    .history-sources-grid {
        grid-template-columns: 1fr;
    }

    .history-source-card {
        min-height: auto;
    }
}

@media (max-width: 420px) {
    .history-section {
        padding: 3rem 0;
    }

    .history-moment__body,
    .history-cta {
        padding: 1rem;
    }
}

/* =========================
   HISTORIA RD - MOBILE OVERFLOW FIX
   Agregar al FINAL de Content/css/pages/history.css
========================= */
.history-page,
.history-page * {
    min-width: 0;
}

.history-page {
    max-width: 100%;
    overflow-x: hidden;
}

.history-section,
.history-timeline-layout,
.history-timeline,
.history-moment,
.history-moment__media,
.history-moment__body,
.history-cta,
.history-hero__content,
.history-hero__copy,
.history-section-head {
    max-width: 100%;
}

.history-timeline-nav {
    max-width: 100%;
    overflow: hidden;
}

    .history-timeline-nav nav {
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .history-timeline-nav a {
        flex: 0 0 auto;
        max-width: 78vw;
    }

.history-inline-video {
    max-width: 100%;
    white-space: normal;
    text-align: left;
}

    .history-inline-video strong {
        min-width: 0;
        overflow-wrap: anywhere;
    }

@media (max-width: 1199.98px) {
    .history-timeline-nav {
        overflow: hidden;
    }

        .history-timeline-nav nav {
            display: flex;
            flex-wrap: nowrap;
            gap: .55rem;
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: .35rem;
            scroll-snap-type: x proximity;
        }

        .history-timeline-nav a {
            min-width: min(210px, 72vw);
            max-width: 78vw;
            scroll-snap-align: start;
        }
}

@media (max-width: 767.98px) {
    .history-section {
        overflow-x: clip;
    }

    .history-section-head h2 {
        overflow-wrap: anywhere;
    }

    .history-timeline-nav {
        padding: .85rem;
        border-radius: 22px;
    }

        .history-timeline-nav nav {
            margin-inline: -.1rem;
            padding-inline: .1rem;
        }

        .history-timeline-nav a {
            min-width: min(190px, 72vw);
            padding: .8rem .85rem;
        }

    .history-moment__media,
    .history-moment__body,
    .history-president-card,
    .history-video-card,
    .history-source-card {
        width: 100%;
        max-width: 100%;
    }

        .history-moment__media img {
            width: 100%;
            height: auto;
            min-height: 0;
            aspect-ratio: 16 / 10;
            object-fit: cover;
        }
}

@media (max-width: 420px) {
    .history-timeline-nav a {
        min-width: min(180px, 74vw);
        max-width: 74vw;
    }

    .history-section-head p,
    .history-moment p,
    .history-cta p {
        overflow-wrap: anywhere;
    }
}

/* =========================
   HISTORIA RD - HERO LAYOUT FIX
   Agregar al FINAL de Content/css/pages/history.css
========================= */

.history-hero {
    min-height: clamp(620px, 72svh, 780px);
}

    .history-hero > .container.history-hero__content {
        width: min(100% - 2rem, 1440px);
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

.history-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    align-items: center;
    gap: clamp(2rem, 3vw, 4rem);
    padding-top: clamp(6rem, 7vw, 8rem);
    padding-bottom: clamp(3rem, 4vw, 4.5rem);
}

.history-hero__copy {
    max-width: 760px;
}

.history-hero h1 {
    max-width: 15.5ch;
    font-size: clamp(3rem, 4.15vw, 4.85rem);
    line-height: .98;
    letter-spacing: -.035em;
}

.history-hero p {
    max-width: 58ch;
    font-size: clamp(1.05rem, .95rem + .32vw, 1.22rem);
}

.history-hero__panel {
    width: 100%;
    max-width: 420px;
    justify-self: end;
    gap: .75rem;
    padding: .75rem;
}

.history-stat-card {
    min-height: 142px;
    padding: .9rem;
}

    .history-stat-card i {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .history-stat-card strong {
        font-size: clamp(1.35rem, 1.1rem + .55vw, 1.75rem);
    }

    .history-stat-card span {
        font-size: .92rem;
    }

    .history-stat-card small {
        font-size: .86rem;
    }

@media (min-width: 1600px) {
    .history-hero > .container.history-hero__content {
        width: min(100% - 6rem, 1500px);
        max-width: 1500px;
    }
}

@media (max-width: 1199.98px) {
    .history-hero {
        min-height: auto;
    }

        .history-hero > .container.history-hero__content {
            width: min(100% - 2rem, 960px);
        }

    .history-hero__content {
        grid-template-columns: 1fr;
        align-items: start;
        padding-top: 5.5rem;
        padding-bottom: 3rem;
    }

    .history-hero__copy {
        max-width: 820px;
    }

    .history-hero h1 {
        max-width: 14.5ch;
        font-size: clamp(2.75rem, 6.8vw, 4.4rem);
    }

    .history-hero__panel {
        max-width: 640px;
        justify-self: start;
    }
}

@media (max-width: 767.98px) {
    .history-hero > .container.history-hero__content {
        width: min(100% - 1.5rem, 100%);
    }

    .history-hero__content {
        padding-top: 4.25rem;
        padding-bottom: 2rem;
        gap: 1.25rem;
    }

    .history-hero h1 {
        max-width: 11.5ch;
        font-size: clamp(2.35rem, 10vw, 3.25rem);
    }

    .history-hero p {
        max-width: none;
        font-size: 1rem;
        line-height: 1.5;
    }

    .history-hero__panel {
        display: none;
    }
}

