:root {
    --mn-burgundy: #7b0038;
    --mn-burgundy-dark: #4b001f;
    --mn-magenta: #a0004d;
    --mn-gold: #f6c536;
    --mn-gold-soft: #ffd75b;
    --mn-cream: #f7f1e7;
    --mn-white: #ffffff;
    --mn-text: #2c1d24;
}

/* =========================
   BASE
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--mn-cream);
    color: var(--mn-text);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =========================
   HEADER
========================= */

.site-header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: linear-gradient(
        90deg,
        rgba(74, 0, 31, 0.97),
        rgba(132, 0, 59, 0.96)
    );
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(74, 0, 31, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
    width: min(92%, 1400px);
    min-height: 88px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* LOGO */

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    width: 145px;
    height: auto;
}

/* MENU */

.main-navigation {
    margin-left: auto;
}

.main-menu {
    list-style: none;

    display: flex;
    align-items: center;
    gap: 30px;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    padding: 32px 0;

    color: var(--mn-white);
    font-size: 15px;
    font-weight: 500;

    transition: color 0.3s ease;
}

.main-menu a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 22px;

    width: 0;
    height: 2px;

    background: var(--mn-gold);

    transition: width 0.3s ease;
}

.main-menu a:hover {
    color: var(--mn-gold);
}

.main-menu a:hover::after {
    width: 100%;
}

/* =========================
   MOBILE BUTTON
========================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 28px;
    height: 2px;

    margin: 6px auto;

    background: var(--mn-white);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   ENLACE FOTOGRAFÍA PERSONAJES
======================================== */

.jocha-person-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jocha-person-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.jocha-person-link:hover img {
    transform: scale(1.05);
    filter: brightness(1.06);
}

.jocha-person-link:focus-visible {
    outline: 3px solid var(--mn-gold);
    outline-offset: -3px;
}

/* =========================
   RESPONSIVE
========================= */
@keyframes heroBackgroundMove {

    0% {
        background-position:
            center center,
            center center;
    }

    100% {
        background-position:
            center center,
            52% center;
    }

}

@media (max-width: 900px) {

    .header-container {
        min-height: 76px;
    }

    .site-logo img {
        width: 120px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .main-navigation {
        position: fixed;

        top: 0;
        right: -100%;

        width: min(82%, 360px);
        height: 100vh;

        padding: 110px 35px 40px;

        background:
            linear-gradient(
                180deg,
                #6e002f,
                #3d001b
            );

        transition: right 0.35s ease;

        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.35);
    }

    .main-navigation.active {
        right: 0;
    }

    .main-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .main-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .main-menu a {
        width: 100%;

        padding: 18px 0;

        font-size: 18px;
    }

    .main-menu a::after {
        display: none;
    }

}
/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(56, 0, 24, 0.88) 0%,
            rgba(91, 0, 40, 0.60) 38%,
            rgba(70, 0, 30, 0.15) 68%,
            rgba(70, 0, 30, 0.05) 100%
        ),
        url("../images/hero-mama-negra.jpg") center center / cover no-repeat;
}

/* Capa extra para profundidad */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 48%,
            rgba(246, 197, 54, 0.07),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.03),
            rgba(0, 0, 0, 0.10)
        );

    z-index: 1;
}

/* Decoraciones laterales */

.hero-decoration {
    position: absolute;
    z-index: 2;

    width: 250px;
    height: 250px;

    border: 1px solid rgba(246, 197, 54, 0.18);

    transform: rotate(45deg);
}

.hero-decoration-left {
    left: -150px;
    bottom: 80px;
}

.hero-decoration-right {
    right: -170px;
    top: 140px;
}

/* Contenedor */

.hero-container {
    position: relative;
    z-index: 3;

    width: min(92%, 1400px);
    margin: 0 auto;

    padding-top: 110px;
    padding-bottom: 80px;
}

.hero-content {
    width: min(700px, 100%);
}

/* Logo */

.hero-logo-wrap {
    margin-bottom: 25px;
}

.hero-logo {
    width: clamp(190px, 22vw, 320px);
}

/* Texto superior */

.hero-kicker {
    margin-bottom: 18px;

    color: var(--mn-gold);

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;

    text-transform: uppercase;
}

@keyframes floralReveal {

    from {
        opacity: 0;
        transform: translateX(-45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

.hero-floral-left img {
    display: block;
    width: 100%;
    height: auto;

    opacity: 0;

    filter: drop-shadow(
        8px 12px 18px rgba(0, 0, 0, 0.18)
    );

    animation: floralReveal 1.4s ease-out 0.3s forwards;
}


/* Título */

.hero-title {
    margin-bottom: 24px;

    color: var(--mn-white);

    font-size: clamp(42px, 5.7vw, 78px);
    line-height: 1.02;

    font-weight: 700;

    letter-spacing: -2px;
}

.hero-title span {
    display: block;

    color: var(--mn-gold-soft);
}

/* Descripción */

.hero-description {
    width: min(620px, 100%);

    margin-bottom: 34px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;
    line-height: 1.75;
}

/* Botones */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 28px;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--mn-gold);
    color: var(--mn-burgundy-dark);
}

.btn-primary:hover {
    background: var(--mn-gold-soft);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: var(--mn-white);

    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--mn-gold);
    color: var(--mn-gold);
}

/* Indicador de scroll */

.hero-scroll {
    position: absolute;
    z-index: 4;

    left: 50%;
    bottom: 28px;

    width: 30px;
    height: 48px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 30px;

    transform: translateX(-50%);
}

.hero-scroll span {
    position: absolute;

    left: 50%;
    top: 10px;

    width: 4px;
    height: 8px;

    border-radius: 99px;

    background: var(--mn-gold);

    transform: translateX(-50%);

    animation: heroScroll 1.8s infinite;
}
@keyframes heroLogoReveal {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

@keyframes heroTextReveal {

    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.hero-content h1 {
    opacity: 0;

    animation:
        heroTextReveal 0.9s ease-out 0.65s forwards;
}

.hero-content h1 span {
    display: block;
}


.hero-content > p {
    opacity: 0;

    animation:
        heroTextReveal 0.9s ease-out 0.85s forwards;
}

.hero-actions {
    opacity: 0;

    animation:
        heroTextReveal 0.9s ease-out 1.05s forwards;
}

.hero-kicker {
    opacity: 0;

    animation:
        heroTextReveal 0.8s ease-out 0.45s forwards;
}

.hero-logo {
    opacity: 0;

    animation:
        heroLogoReveal 1s ease-out 0.2s forwards;
}

@keyframes heroScroll {

    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 18px);
    }

}

/* Placeholder temporal */

.section-placeholder {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--mn-cream);
}

.placeholder-container {
    color: var(--mn-burgundy);
    font-size: 30px;
    font-weight: 700;
}

/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .hero-floral-left {
        width: 165px;
    }

}

@media (max-width: 900px) {

    .hero {
        min-height: 100svh;

        background:
            linear-gradient(
                180deg,
                rgba(62, 0, 27, 0.62) 0%,
                rgba(62, 0, 27, 0.30) 45%,
                rgba(50, 0, 23, 0.58) 100%
            ),
            url("../images/hero-mama-negra.jpg") center center / cover no-repeat;
    }

    .hero-floral-left {
        top: auto;
        bottom: 0;
        left: 0;

        width: 130px;

        transform: none;

        opacity: 0.75;
    }

    /* el resto continúa igual */
}

    .hero-container {
        padding-top: 130px;
        padding-bottom: 100px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-title {
        font-size: clamp(40px, 11vw, 64px);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-decoration {
        width: 180px;
        height: 180px;
    }



@media (max-width: 560px) {

    .hero-container {
        width: 88%;
        padding-top: 115px;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-kicker {
        font-size: 11px;
        letter-spacing: 2.5px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.07;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
    .hero-floral-left {
        width: 105px;
        opacity: 0.65;
    }

}
/* =========================
   JOCHAS
========================= */

.jochas-section {
    background: var(--mn-cream);
}

/* BLOQUE SUPERIOR */

.jochas-highlight {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(246, 197, 54, 0.10),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #730032,
            #a0004d 55%,
            #600028
        );

    color: var(--mn-white);
}

.jochas-highlight::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.015) 0,
            rgba(255, 255, 255, 0.015) 1px,
            transparent 1px,
            transparent 9px
        );

    pointer-events: none;
}

.jochas-highlight-inner {
    position: relative;
    z-index: 2;

    width: min(92%, 1400px);
    margin: 0 auto;

    padding: 58px 0;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

/* TEXTO */

.section-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--mn-gold);
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.jocha-main-info h2 {
    margin-bottom: 10px;

    font-size: clamp(40px, 5vw, 62px);
    line-height: 1;

    color: var(--mn-gold-soft);
}

.jocha-date {
    margin-bottom: 8px;

    font-size: 17px;
    font-weight: 600;
}

.jocha-location {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
}

/* COUNTDOWN */

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    gap: 14px;
}

.countdown-item {
    min-width: 105px;

    padding: 18px 16px;

    text-align: center;

    border: 1px solid rgba(246, 197, 54, 0.70);
    border-radius: 12px;

    background: rgba(74, 0, 31, 0.42);

    backdrop-filter: blur(5px);
}

.countdown-item span {
    display: block;

    color: var(--mn-white);

    font-size: 34px;
    line-height: 1;
    font-weight: 700;
}

.countdown-item small {
    display: block;

    margin-top: 8px;

    color: var(--mn-gold-soft);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* CONTENEDOR GENERAL */

.jochas-container {
    width: min(92%, 1400px);
    margin: 0 auto;

    padding: 90px 0 100px;
}

/* TÍTULO */

.section-heading {
    max-width: 760px;
    margin: 0 auto 50px;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 16px;

    color: var(--mn-burgundy);

    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.1;
}

.section-heading p {
    color: #67555e;

    font-size: 17px;
    line-height: 1.7;
}

/* GRID */

.jochas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    gap: 20px;
}

/* TARJETAS */

.jocha-card {
    overflow: hidden;

    background: var(--mn-white);

    border-radius: 14px;

    box-shadow: 0 10px 28px rgba(62, 0, 27, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jocha-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 18px 40px rgba(62, 0, 27, 0.18);
}

.jocha-card-image {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;
}

.jocha-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.jocha-card:hover .jocha-card-image img {
    transform: scale(1.05);
}

/* ESTADO */

.jocha-status {
    position: absolute;

    left: 14px;
    bottom: 14px;

    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.90);

    color: var(--mn-burgundy);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.jocha-status.active {
    background: var(--mn-gold);

    color: var(--mn-burgundy-dark);
}

/* CONTENIDO */

.jocha-card-content {
    padding: 20px;
}

/* NOMBRE DEL REPRESENTANTE */

.jocha-person-name {
    display: block;

    margin-bottom: 12px;

    color: var(--mn-burgundy-dark);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.jocha-card-date {
    display: block;

    margin-bottom: 8px;

    color: var(--mn-magenta);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}

.jocha-card-content h3 {
    margin-bottom: 8px;

    color: var(--mn-burgundy);

    font-size: 22px;
}

.jocha-card-content p {
    color: #78676f;

    font-size: 14px;
}

/* =========================
   RESPONSIVE JOCHAS
========================= */

@media (max-width: 1150px) {

    .jochas-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 900px) {

    .jochas-highlight-inner {
        grid-template-columns: 1fr;

        gap: 35px;

        text-align: center;
    }

    .countdown {
        justify-content: center;
    }

}

@media (max-width: 700px) {

    .jochas-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

}

@media (max-width: 560px) {

    .jochas-highlight-inner {
        width: 88%;
        padding: 45px 0;
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown-item {
        min-width: 0;
    }

    .jochas-container {
        width: 90%;
        padding: 70px 0 80px;
    }

    .jochas-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .jocha-card {
        width: 100%;
    }

    .jocha-card-image {
        aspect-ratio: 4 / 5;
        background: #eee;
    }

    .jocha-card-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center top;
    }

    .jocha-card-content {
        padding: 20px 22px 24px;
    }

    .jocha-person-name {
        font-size: 18px;
    }

    .jocha-card-content h3 {
        font-size: 24px;
    }

}

/* ========================================
   ADORNO FLORAL HERO
======================================== */

.hero-floral {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.hero-floral-left {
    left: 0;
    top: 52%;
    transform: translateY(-50%);
    width: clamp(150px, 13vw, 250px);
}

.hero-floral-left img {
    display: block;
    width: 100%;
    height: auto;

    filter: drop-shadow(
        8px 12px 18px rgba(0, 0, 0, 0.18)
    );
}
/* ========================================
   ADORNO FLORAL - CONTADOR JOCHAS
======================================== */

.jochas-highlight {
    position: relative;
    overflow: hidden;
}

.jochas-floral {
    position: absolute;

    left: -35px;
    bottom: 0;

    width: clamp(150px, 15vw, 260px);

    z-index: 1;

    pointer-events: none;
}

.jochas-floral img {
    display: block;

    width: 100%;
    height: auto;

    filter: drop-shadow(
        6px 8px 16px rgba(0, 0, 0, 0.18)
    );
}

.jochas-highlight-inner {
    position: relative;
    z-index: 2;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            var(--mn-burgundy-dark) 0%,
            #320014 100%
        );

    color: var(--mn-white);

    padding: 70px 0 25px;
}

.footer-container {
    position: relative;
    z-index: 2;

    width: 92%;
    max-width: 1400px;

    margin: 0 auto;
}

.footer-top {
    display: grid;

    grid-template-columns:
        minmax(280px, 1.4fr)
        minmax(180px, 0.7fr)
        minmax(220px, 0.9fr);

    gap: 70px;

    align-items: start;
}

/* BRAND */

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 22px;
}

.footer-logo img {
    display: block;

    width: 190px;
    height: auto;
}

.footer-brand p {
    margin: 0;

    max-width: 380px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 16px;
    line-height: 1.7;
}


/* TITULOS */

.footer-links h3,
.footer-contact h3 {
    margin: 0 0 20px;

    color: var(--mn-gold);

    font-size: 18px;
    font-weight: 700;
}


/* LINKS */

.footer-links ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.82);

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--mn-gold);
}

.footer-contact p {
    margin: 0 0 10px;

    color: rgba(255, 255, 255, 0.75);

    line-height: 1.6;
}

.footer-web-link {
    display: inline-block;

    margin-top: 8px;

    color: var(--mn-gold) !important;

    font-weight: 600;
}


/* DIVISOR */

.footer-divider {
    width: 100%;
    height: 1px;

    margin: 45px 0 35px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(246, 197, 54, 0.45),
            transparent
        );
}


/* LOGOS INSTITUCIONALES */

.footer-institutional {
    display: flex;

    justify-content: center;
}

/* ========================================
   MARQUEE LOGOS INSTITUCIONALES
======================================== */

.footer-institutional {
    width: 100%;
    overflow: hidden;
}

.footer-logos-marquee {
    position: relative;

    width: 100%;
    overflow: hidden;

    padding: 10px 0;
}

/* degradado lateral para que entren y salgan suave */
.footer-logos-marquee::before,
.footer-logos-marquee::after {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;

    width: 90px;

    z-index: 2;

    pointer-events: none;
}

.footer-logos-marquee::before {
    left: 0;

    background: linear-gradient(
        90deg,
        var(--mn-burgundy-dark),
        transparent
    );
}

.footer-logos-marquee::after {
    right: 0;

    background: linear-gradient(
        270deg,
        var(--mn-burgundy-dark),
        transparent
    );
}

.footer-logos-track {
    display: flex;
    align-items: center;

    width: max-content;

    animation: footerLogosScroll 28s linear infinite;
}

.footer-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;

    padding: 0 28px;
}

.footer-logo-item img {
    display: block;

    width: auto;
    height: auto;

    max-width: 165px;
    max-height: 70px;

    object-fit: contain;
}

/* movimiento continuo */

@keyframes footerLogosScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

/* detener al pasar el mouse */

.footer-logos-marquee:hover .footer-logos-track {
    animation-play-state: paused;
}


/* PARTE INFERIOR */

.footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 35px;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-developed {
    text-align: right;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .footer-top {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;

        max-width: 100%;
    }

}

@media (max-width: 650px) {

    .site-footer {
        padding-top: 55px;
    }

    .footer-top {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo img {
        width: 165px;
    }

    .footer-institutional-logos {
        gap: 24px;
    }

    .footer-institutional-logos img {
        max-width: 125px;
        max-height: 55px;
    }

    .footer-bottom {
        flex-direction: column;

        text-align: center;
    }

    .footer-developed {
        text-align: center;
    }
    .footer-logo-item {
        min-width: 165px;

        padding: 0 20px;
    }

    .footer-logo-item img {
        max-width: 130px;
        max-height: 55px;
    }

    .footer-logos-track {
        animation-duration: 22s;
    }

    .footer-logos-marquee::before,
    .footer-logos-marquee::after {
        width: 45px;
    }


}
@media (prefers-reduced-motion: reduce) {

    .footer-logos-track {
        animation: none;
    }

}


/* =====================================================
   REDES SOCIALES - HEADER
===================================================== */

.header-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 18px;
}

.social-link {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #f2c14e;
    border: 1px solid rgba(242, 193, 78, 0.45);

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        border-color 0.3s ease;
}

.social-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-link:hover {
    background: #f2c14e;
    border-color: #f2c14e;
    color: #7d002c;

    transform: translateY(-2px);
}
@media (max-width: 768px) {

    .header-social {
        display: none;
    }

}
/* =====================================================
   PERSONAJE INDIVIDUAL
===================================================== */

.personaje-single {
    background: #f8f3ee;
}


/* HERO
===================================================== */

.personaje-hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 60px;
    background:
        radial-gradient(
            circle at 75% 45%,
            rgba(194, 22, 81, 0.55),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #5b001f 0%,
            #8c0030 45%,
            #b00042 100%
        );
}


.personaje-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.12;

    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(255,255,255,0.08) 8px,
            rgba(255,255,255,0.08) 9px
        );

    pointer-events: none;
}


.personaje-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(45, 0, 15, 0.75) 0%,
            rgba(45, 0, 15, 0.30) 55%,
            transparent 100%
        );
}


.personaje-container {
    width: 92%;
    max-width: 1300px;

    margin: auto;

    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 70px;
}


/* IMAGEN
===================================================== */

.personaje-imagen {
    display: flex;
    justify-content: center;
    align-items: center;

    /* Espacio superior e inferior de la fotografía */
    padding: 60px 0;
}


.personaje-foto {
    width: 100%;
    max-width: 520px;

    height: auto;

    display: block;

    filter:
        drop-shadow(
            0 25px 30px rgba(0, 0, 0, 0.35)
        );

    transition: transform 0.5s ease;
}


.personaje-foto:hover {
    transform: scale(1.02);
}


/* INFORMACIÓN
===================================================== */

.personaje-info {
    color: #fff;
}


.personaje-label {
    display: inline-block;

    margin-bottom: 20px;

    padding: 8px 18px;

    border: 1px solid rgba(247, 198, 73, 0.7);

    color: #f7c649;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}


.personaje-info h1 {
    margin: 0 0 25px;

    max-width: 650px;

    font-size: clamp(42px, 5vw, 78px);

    line-height: 0.98;

    text-transform: uppercase;

    color: #fff;
}


.personaje-extracto {
    max-width: 600px;

    font-size: 20px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.86);
}


.personaje-extracto p {
    margin: 0;
}


/* BIOGRAFÍA
===================================================== */

.personaje-contenido {
    padding: 110px 0;
}


.personaje-contenido-container {
    width: 88%;
    max-width: 1050px;

    margin: auto;
}


.section-kicker {
    display: block;

    margin-bottom: 12px;

    color: #a5003b;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}


.personaje-biografia h2 {
    margin: 0 0 40px;

    color: #4d001c;

    font-size: clamp(34px, 4vw, 52px);
}


.personaje-texto {
    font-size: 18px;
    line-height: 1.9;

    color: #4b4145;
}


.personaje-texto p {
    margin-bottom: 25px;
}


/* VOLVER
===================================================== */

.personaje-volver {
    padding: 0 0 100px;

    text-align: center;
}


.btn-volver-personajes {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 30px;

    border: 2px solid #a5003b;

    color: #a5003b;

    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}


.btn-volver-personajes:hover {
    background: #a5003b;
    color: #fff;
}


/* RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .personaje-hero {
        min-height: auto;

        padding: 120px 0 60px;
    }


    .personaje-container {
        grid-template-columns: 1fr;

        gap: 35px;

        text-align: center;
    }


    .personaje-info {
        order: 1;
    }


    .personaje-imagen {
        order: 2;
    }


    .personaje-extracto {
        margin: auto;
    }


    .personaje-foto {
        max-width: 430px;
    }

}


@media (max-width: 600px) {

    .personaje-hero {
        padding-top: 105px;
    }


    .personaje-container {
        width: 90%;
    }


    .personaje-info h1 {
        font-size: 40px;
    }


    .personaje-extracto {
        font-size: 17px;
    }


    .personaje-contenido {
        padding: 70px 0;
    }


    .personaje-contenido-container {
        width: 90%;
    }


    .personaje-texto {
        font-size: 16px;
        line-height: 1.8;
    }

}
/* =====================================================
   PRI0STE MAYOR
===================================================== */

.prioste-section {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #690027;
}


/* GRID PRINCIPAL
===================================================== */

.prioste-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 650px;
}


/* IMAGEN
===================================================== */

.prioste-image {
    position: relative;

    overflow: hidden;
}


.prioste-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 65%,
            rgba(105, 0, 39, 0.45) 100%
        );

    pointer-events: none;
}


.prioste-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 1.2s ease;
}


.prioste-section:hover .prioste-image img {
    transform: scale(1.025);
}


/* CONTENIDO
===================================================== */

.prioste-content {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px 11%;

    color: #fff;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(224, 164, 49, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #5b001f 0%,
            #7f002e 55%,
            #98003a 100%
        );
}


/* TEXTURA SUAVE */
.prioste-content::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.09;

    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(255,255,255,0.08) 8px,
            rgba(255,255,255,0.08) 9px
        );

    pointer-events: none;
}


.prioste-content > * {
    position: relative;
    z-index: 2;
}


/* SUBTÍTULO
===================================================== */

.prioste-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #f3c24c;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* TÍTULO
===================================================== */

.prioste-content h2 {
    margin: 0 0 35px;

    color: #fff;

    font-size: clamp(40px, 4vw, 62px);

    line-height: 1;
}


/* CITA
===================================================== */

.prioste-quote {
    position: relative;

    max-width: 620px;

    padding-left: 65px;
}


.prioste-quote-icon {
    position: absolute;

    top: -12px;
    left: 0;

    color: #f3c24c;

    font-family: Georgia, serif;

    font-size: 90px;

    line-height: 1;
}


.prioste-quote p {
    margin: 0;

    color: rgba(255,255,255,0.88);

    font-size: 19px;

    line-height: 1.8;
}


/* AUTOR
===================================================== */

.prioste-author {
    margin-top: 35px;

    padding-left: 65px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.prioste-author strong {
    color: #f3c24c;

    font-size: 17px;
}


.prioste-author span {
    color: rgba(255,255,255,0.75);

    font-size: 14px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {

    .prioste-grid {
        grid-template-columns: 1fr;
    }


    .prioste-image {
        height: 500px;
    }


    .prioste-image::after {
        background:
            linear-gradient(
                180deg,
                transparent 65%,
                rgba(105,0,39,0.5) 100%
            );
    }


    .prioste-content {
        padding: 70px 8%;
    }

}


@media (max-width: 600px) {

    .prioste-image {
        height: 420px;
    }


    .prioste-content {
        padding: 55px 7%;
    }


    .prioste-content h2 {
        font-size: 38px;
    }


    .prioste-quote {
        padding-left: 45px;
    }


    .prioste-quote-icon {
        font-size: 65px;
    }


    .prioste-quote p {
        font-size: 17px;
        line-height: 1.7;
    }


    .prioste-author {
        padding-left: 45px;
    }

}
/* =====================================================
   GALERÍA HOME
===================================================== */

.galeria-home {
    position: relative;
    overflow: hidden;
    padding: 85px 0 65px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(243, 194, 76, 0.10),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #5a001f 0%,
            #76002a 50%,
            #8d0034 100%
        );

    color: #fff;
}


.galeria-home-container {
    width: 92%;
    max-width: 1350px;
    margin: auto;
}


/* CABECERA
===================================================== */

.galeria-home-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    gap: 40px;

    margin-bottom: 35px;
}


.galeria-eyebrow {
    display: block;

    margin-bottom: 10px;

    color: #f3c24c;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}


.galeria-home-header h2 {
    margin: 0 0 8px;

    color: #fff;

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1;
}


.galeria-home-header p {
    margin: 0;

    color: rgba(255,255,255,0.75);

    font-size: 16px;
}


/* BOTÓN
===================================================== */

.galeria-home-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 22px;

    border: 1px solid rgba(243,194,76,0.7);
    border-radius: 30px;

    color: #f3c24c;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
}


.galeria-home-button:hover {
    background: #f3c24c;
    color: #650024;
}


/* SLIDER
===================================================== */

.galeria-slider-wrapper {
    position: relative;
}


.galeria-slider {
    display: flex;

    gap: 18px;

    overflow-x: auto;

    scroll-behavior: smooth;

    scrollbar-width: none;

    padding: 5px 2px 12px;
}

.galeria-item {
    flex: 0 0 calc((100% - 90px) / 6);
}

.galeria-slider::-webkit-scrollbar {
    display: none;
}


/* TARJETAS
===================================================== */

.galeria-item {
    position: relative;

     flex: 0 0 calc((100% - 72px) / 5);

    aspect-ratio: 4 / 5;

    overflow: hidden;

    border-radius: 8px;

    border: 1px solid rgba(243,194,76,0.45);

    background: #420016;

    text-decoration: none;
}


.galeria-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}


.galeria-item::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(61,0,20,0.45) 100%
        );

    opacity: 0;

    transition: opacity 0.35s ease;
}


.galeria-item:hover img {
    transform: scale(1.08);
}


.galeria-item:hover::after {
    opacity: 1;
}


/* FLECHAS
===================================================== */

.galeria-arrow {
    position: absolute;

    top: 50%;

    width: 42px;
    height: 42px;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #fff;

    color: #72002a;

    font-size: 32px;

    cursor: pointer;

    z-index: 5;

    box-shadow: 0 5px 20px rgba(0,0,0,0.25);

    transition: all 0.3s ease;
}


.galeria-arrow:hover {
    background: #f3c24c;
    transform: translateY(-50%) scale(1.08);
}


.galeria-arrow-prev {
    left: -20px;
}


.galeria-arrow-next {
    right: -20px;
}


/* PUNTOS
===================================================== */

.galeria-dots {
    display: flex;
    justify-content: center;

    gap: 8px;

    margin-top: 18px;
}


.galeria-dot {
    width: 7px;
    height: 7px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255,255,255,0.4);
}


.galeria-dot.active {
    width: 9px;
    height: 9px;

    background: #f3c24c;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .galeria-item {
        flex: 0 0 calc((100% - 54px) / 4);
    }

}


@media (max-width: 800px) {

    .galeria-home-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .galeria-item {
        flex: 0 0 calc((100% - 18px) / 2);
    }


    .galeria-arrow-prev {
        left: -10px;
    }


    .galeria-arrow-next {
        right: -10px;
    }

}


@media (max-width: 520px) {

    .galeria-home {
        padding: 65px 0 50px;
    }


    .galeria-item {
        flex: 0 0 78%;
    }


    .galeria-home-button {
        width: 100%;
        justify-content: center;
    }

}