/* Home Paulina Rangel — secciones DOCX + tokens --pr-* */

#home-paulina {
    background: var(--pr-fondo, #F8F7F5) !important;
    color: var(--pr-texto, #1D1D1D) !important;
    font-family: var(--pr-fuente-cuerpo, "Inter", system-ui, sans-serif);
    overflow-x: clip;
}

#home-paulina main {
    overflow-x: clip;
}

#home-paulina .container {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 3.5vw, 1.75rem);
    box-sizing: border-box;
}

#home-paulina h1,
#home-paulina h2,
#home-paulina h3,
#home-paulina .pr-section__title,
#home-paulina .pr-nivel__titulo {
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    color: var(--pr-marca, #3D0026);
    font-weight: 600;
}

#home-paulina .pr-hero__title {
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    font-weight: 500;
}

/* Botones home */
.pr-btn {
    display: inline-block;
    border-radius: 999px;
    padding: 12px 26px;
    font-family: var(--pr-fuente-cuerpo, "Inter", system-ui, sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 2px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.pr-btn--primary,
a.pr-btn.pr-btn--primary,
a.pr-btn.pr-btn--primary:link,
a.pr-btn.pr-btn--primary:visited {
    background: var(--pr-marca, #3D0026);
    border-color: var(--pr-marca, #3D0026);
    color: #FFFFFF !important;
}

.pr-btn--primary:hover,
a.pr-btn.pr-btn--primary:hover {
    background: var(--pr-enfasis, #C6A76B);
    border-color: var(--pr-enfasis, #C6A76B);
    color: var(--pr-marca, #3D0026) !important;
}

.pr-btn--ghost,
a.pr-btn.pr-btn--ghost,
a.pr-btn.pr-btn--ghost:link,
a.pr-btn.pr-btn--ghost:visited {
    background: transparent;
    border-color: var(--pr-marca, #3D0026);
    color: var(--pr-marca, #3D0026) !important;
}

.pr-btn--ghost:hover,
a.pr-btn.pr-btn--ghost:hover {
    background: var(--pr-marca, #3D0026);
    color: #FFFFFF !important;
}

.pr-btn--accent,
a.pr-btn.pr-btn--accent,
a.pr-btn.pr-btn--accent:link,
a.pr-btn.pr-btn--accent:visited {
    background: var(--pr-enfasis, #C6A76B);
    border-color: var(--pr-enfasis, #C6A76B);
    color: var(--pr-marca, #3D0026) !important;
}

.pr-btn--accent:hover,
a.pr-btn.pr-btn--accent:hover {
    background: var(--pr-marca, #3D0026);
    border-color: var(--pr-marca, #3D0026);
    color: #FFFFFF !important;
}

.pr-btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Secciones — ritmo premium; !important gana a dark.css section{#0f172a} */
.pr-section {
    padding: var(--pr-space-section, clamp(4.5rem, 8vw, 7rem)) 0;
    background: var(--pr-fondo-2, #FFFFFF) !important;
    color: var(--pr-texto, #1D1D1D) !important;
}

/* Ritmo paleta documento: clara #F8F7F5 · opaca #3D0026 */
#home-paulina .pr-section.pr-section--clara,
#home-paulina .pr-section--clara {
    background: #F8F7F5 !important;
    background-color: #F8F7F5 !important;
    background-image: none !important;
    color: var(--pr-texto, #1D1D1D) !important;
}

#home-paulina .pr-section.pr-section--opaca:not(.pr-hero),
#home-paulina .pr-section--opaca:not(.pr-hero) {
    position: relative;
    isolation: isolate;
    background-color: #3D0026 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: #FFFFFF !important;
}

#home-paulina .pr-section.pr-section--opaca:not(.pr-hero)::before,
#home-paulina .pr-section--opaca:not(.pr-hero)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        165deg,
        rgba(61, 0, 38, 0.9) 0%,
        rgba(61, 0, 38, 0.82) 48%,
        rgba(61, 0, 38, 0.9) 100%
    );
}

#home-paulina .pr-section.pr-section--opaca:not(.pr-hero) > *:not(.pr-decor),
#home-paulina .pr-section--opaca:not(.pr-hero) > *:not(.pr-decor) {
    position: relative;
    z-index: 1;
}

#home-paulina .pr-section--opaca > .pr-decor,
#home-paulina .pr-section--opaca > img.pr-decor,
#home-paulina .pr-section--opaca > span.pr-decor {
    position: absolute !important;
    z-index: 3;
}

#home-paulina .pr-creo.pr-section--opaca {
    background-image: url("../imagenes/sitio/fondo-opaca-creo.png") !important;
}

#home-paulina .pr-video.pr-section--opaca {
    background-image: url("../imagenes/sitio/fondo-opaca-video.png") !important;
    padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

#home-paulina .pr-testimonios.pr-section--opaca {
    background-image: url("../imagenes/sitio/fondo-opaca-testimonios.png") !important;
}

#home-paulina .pr-programas.pr-section--opaca {
    background-image: url("../imagenes/sitio/fondo-opaca-programas.png") !important;
}

#home-paulina #section7.pr-contactanos.pr-section--opaca {
    background-image: url("../imagenes/sitio/fondo-opaca-contacto.png") !important;
}

#home-paulina .pr-section--opaca:not(.pr-hero) .pr-section__title,
#home-paulina .pr-section--opaca:not(.pr-hero) .pr-section__lead,
#home-paulina .pr-section--opaca .pr-quien__eyebrow,
#home-paulina .pr-section--opaca .pr-quien__historia,
#home-paulina .pr-section--opaca .pr-video__eyebrow,
#home-paulina .pr-section--opaca .pr-nivel__titulo {
    color: #FFFFFF !important;
}

#home-paulina .pr-section--opaca .pr-section__rule {
    background: linear-gradient(90deg, var(--pr-enfasis, #C6A76B), rgba(183, 154, 181, 0.55));
}

#home-paulina .pr-section--opaca .pr-btn--primary,
#home-paulina .pr-section--opaca a.pr-btn.pr-btn--primary {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #3D0026 !important;
}

#home-paulina .pr-section--opaca .pr-btn--primary:hover,
#home-paulina .pr-section--opaca a.pr-btn.pr-btn--primary:hover {
    background: var(--pr-enfasis, #C6A76B);
    border-color: var(--pr-enfasis, #C6A76B);
    color: #3D0026 !important;
}

#home-paulina .pr-section--opaca .pr-btn--ghost,
#home-paulina .pr-section--opaca a.pr-btn.pr-btn--ghost {
    border-color: rgba(255, 255, 255, 0.75);
    color: #FFFFFF !important;
}

#home-paulina .pr-section--opaca .pr-btn--ghost:hover,
#home-paulina .pr-section--opaca a.pr-btn.pr-btn--ghost:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #3D0026 !important;
}

#home-paulina .pr-section--opaca .pr-empty--center {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0.5rem 1rem 1rem;
    color: rgba(248, 247, 245, 0.92);
}

/* Tarjetas: en clara tinte suave; en opaca blanco para contraste */
#home-paulina .pr-section--clara .pr-creo__card,
#home-paulina .pr-section--clara .pr-pilar,
#home-paulina .pr-section--clara .pr-evento,
#home-paulina .pr-section--clara .pr-programa {
    background: #FFFFFF !important;
    border: 1px solid rgba(183, 154, 181, 0.28);
}

#home-paulina .pr-section--opaca .pr-creo__card,
#home-paulina .pr-section--opaca .pr-pilar,
#home-paulina .pr-section--opaca .pr-evento,
#home-paulina .pr-section--opaca .pr-programa,
#home-paulina .pr-section--opaca .pr-descargas__box {
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #1D1D1D !important;
}

#home-paulina .pr-section--opaca .pr-descargas__foto {
    background: #F8F7F5 !important;
}

#home-paulina .pr-creo__card:nth-child(3n + 1) {
    background: linear-gradient(165deg, #F3EEF2 0%, #EDE6EC 100%) !important;
}

#home-paulina .pr-creo__card:nth-child(3n + 2) {
    background: linear-gradient(165deg, #F7F3EA 0%, #F0EBE0 100%) !important;
}

#home-paulina .pr-creo__card:nth-child(3n + 3) {
    background: linear-gradient(165deg, #EEF0ED 0%, #E6E9E4 100%) !important;
}

#home-paulina .pr-pilar:nth-child(3n + 1) {
    background: linear-gradient(165deg, #F3EEF2 0%, #EDE6EC 100%) !important;
}

#home-paulina .pr-pilar:nth-child(3n + 2) {
    background: linear-gradient(165deg, #F7F3EA 0%, #F0EBE0 100%) !important;
}

#home-paulina .pr-pilar:nth-child(3n + 3) {
    background: linear-gradient(165deg, #EEF0ED 0%, #E6E9E4 100%) !important;
}

.pr-section .container {
    max-width: 1120px;
}

/* Bloque de encabezado de sección siempre centrado como unidad */
#home-paulina .pr-section__title--center,
#home-paulina .pr-section__rule--center,
#home-paulina .pr-section__lead,
#home-paulina .pr-video__eyebrow,
#home-paulina .pr-testimonios__eyebrow,
#home-paulina .pr-programas__eyebrow {
    text-align: center;
}

.pr-section__title {
    font-size: var(--pr-fs-h2, clamp(1.7rem, 3vw, 2.25rem));
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0 0 0.65rem;
    line-height: 1.2;
    max-width: 20ch;
}

.pr-section__title--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: min(28ch, 100%);
}

.pr-section__title--light,
.pr-section__title--light + .pr-section__rule {
    color: #fff;
}

.pr-section__rule {
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--pr-enfasis, #C6A76B), rgba(183, 154, 181, 0.35));
    margin: 0 0 1.75rem;
    border-radius: 2px;
}

.pr-section__rule--center {
    margin-left: auto;
    margin-right: auto;
}

.pr-section__rule--light {
    background: var(--pr-enfasis, #C6A76B);
}

.pr-section__lead {
    text-align: center;
    max-width: min(40rem, 100%);
    margin: 0 auto 2.25rem;
    color: rgba(29, 29, 29, 0.86);
    font-size: var(--pr-fs-lead, 1.1rem);
    line-height: 1.7;
}

.pr-section__subtitle {
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    color: var(--pr-marca, #3D0026);
    font-size: var(--pr-fs-h3, 1.35rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    margin: 3rem 0 1.5rem;
}

.pr-empty {
    color: rgba(29, 29, 29, 0.68);
    font-size: 1.02rem;
    line-height: 1.7;
}

.pr-empty--center {
    text-align: center;
    max-width: 28rem;
    margin: 1.75rem auto 1rem;
    padding: 1.85rem 1.75rem;
    border-radius: var(--pr-radio-lg, 16px);
    background: linear-gradient(165deg, rgba(243, 238, 242, 0.95), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(183, 154, 181, 0.28);
    box-shadow: 0 10px 28px rgba(61, 0, 38, 0.05);
    color: rgba(29, 29, 29, 0.72);
}

.pr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Hero full-bleed — jerarquía: logo marca + tipografía equilibrada */
.pr-hero {
    position: relative;
    min-height: min(88vh, 780px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.pr-hero__bg {
    position: absolute;
    inset: 0;
    /* Sujeto a la izquierda; conserva rostro en pantallas anchas */
    background-position: 28% center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1);
    transform-origin: center center;
    will-change: transform;
    /* Zoom suave: acercamiento + alejamiento (ciclo lento) */
    animation: pr-hero-ken 40s ease-in-out infinite;
}

.pr-hero__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(30, 0, 18, 0.65) 0%, rgba(61, 0, 38, 0.52) 38%, rgba(30, 0, 18, 0.85) 100%),
        linear-gradient(115deg, rgba(61, 0, 38, 0.45) 0%, transparent 58%);
    opacity: 1;
    /* Quitar tinte de marca en 6s para ver el color real de la foto */
    animation: pr-hero-overlay-clear 6s ease-out forwards;
}

.pr-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: clamp(4.5rem, 10vh, 6.5rem) 1.5rem 3.25rem;
    max-width: min(40rem, 92vw);
    width: 100%;
    margin-inline: auto;
    box-sizing: border-box;
    animation: pr-fade-up 0.9s ease both;
}

.pr-hero__logo {
    display: block;
    width: var(--pr-logo-hero-w, min(480px, 72vw));
    max-width: min(480px, 88vw);
    height: auto;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 1.5rem;
    /* Sombra más firme: el overlay se va en 6s y el logo sigue legible */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45)) drop-shadow(0 14px 36px rgba(0, 0, 0, 0.5));
}

.pr-hero__title {
    color: #FFFFFF !important;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin: 0 0 0.45rem;
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.pr-hero__tagline,
#home-paulina .pr-hero__tagline {
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    margin: 0 0 0.85rem;
    color: #F0E4EE !important;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.6);
}

.pr-hero__subtitle,
#home-paulina .pr-hero__subtitle,
.pr-hero p.pr-hero__subtitle {
    margin: 0 auto 2rem;
    max-width: min(42ch, 100%);
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.65;
    color: #FFFFFF !important;
    opacity: 1;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.7);
}

.pr-hero__accent,
#home-paulina .pr-hero__accent {
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    font-style: italic;
    font-weight: 500;
    color: #C6A76B !important;
    letter-spacing: 0.01em;
}

.pr-hero .pr-btn,
.pr-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.95rem;
    font-size: 0.95rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.pr-hero__cta i {
    font-size: 1.2rem;
    line-height: 1;
}

@media (min-width: 992px) {
    .pr-hero__logo {
        width: min(480px, 42vw);
        max-width: 480px;
    }
}

@keyframes pr-hero-ken {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes pr-hero-overlay-clear {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes pr-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Quién soy */
.pr-quien {
    position: relative;
    overflow: hidden;
}

.pr-quien::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: min(42%, 520px);
    background: linear-gradient(
        135deg,
        rgba(183, 154, 181, 0.18) 0%,
        rgba(61, 0, 38, 0) 70%
    );
    pointer-events: none;
    z-index: 0;
}

.pr-quien.pr-section--clara .pr-quien__eyebrow {
    color: var(--pr-apoyo, #B79AB5);
}

.pr-quien.pr-section--clara .pr-quien__historia {
    color: rgba(29, 29, 29, 0.88);
}

.pr-quien.pr-section--opaca .pr-quien__eyebrow {
    color: #E8D5A8 !important;
}

.pr-quien.pr-section--opaca .pr-quien__historia {
    color: rgba(248, 247, 245, 0.9) !important;
}

.pr-quien .container {
    position: relative;
    z-index: 1;
}

.pr-quien__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2.25rem, 5vw, 4rem);
    align-items: center;
}

.pr-quien__eyebrow {
    margin: 0 0 0.55rem;
    font-family: var(--pr-fuente-cuerpo, "Inter", system-ui, sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pr-apoyo, #B79AB5);
}

.pr-quien__texto .pr-section__title {
    max-width: 14ch;
    margin-bottom: 0.35rem;
}

.pr-quien__texto .pr-section__rule {
    margin-left: 0;
    margin-right: auto;
}

.pr-quien__historia {
    line-height: 1.85;
    font-size: clamp(1.02rem, 1.6vw, 1.12rem);
    margin: 1.15rem 0 2.15rem;
    max-width: 36rem;
    color: rgba(29, 29, 29, 0.88);
}

.pr-quien__acciones {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    max-width: 28rem;
}

.pr-quien__acciones-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.pr-quien__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.85rem 1.15rem;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.25;
    font-size: 0.9rem;
}

.pr-quien__btn i {
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
}

.pr-quien__btn--featured {
    min-height: 3.45rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    box-shadow: 0 10px 24px rgba(198, 167, 107, 0.28);
}

.pr-quien__btn--featured:hover {
    box-shadow: 0 12px 28px rgba(61, 0, 38, 0.18);
}

.pr-quien__media {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    padding: 0.85rem;
}

.pr-quien__media::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(198, 167, 107, 0.55);
    border-radius: calc(var(--pr-radio-lg, 16px) + 6px);
    transform: translate(10px, 10px);
    pointer-events: none;
    z-index: 0;
}

.pr-quien__media::after {
    content: "";
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 3.5rem;
    height: 3.5rem;
    border-top: 2px solid var(--pr-enfasis, #C6A76B);
    border-right: 2px solid var(--pr-enfasis, #C6A76B);
    border-radius: 0 12px 0 0;
    opacity: 0.85;
    pointer-events: none;
    z-index: 2;
}

.pr-quien__media-frame {
    position: relative;
    z-index: 1;
    border-radius: var(--pr-radio-lg, 16px);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    max-height: 480px;
    width: 100%;
    background: linear-gradient(160deg, rgba(183, 154, 181, 0.35), rgba(61, 0, 38, 0.08));
    box-shadow: 0 18px 40px rgba(61, 0, 38, 0.12);
}

.pr-quien__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    display: block;
}

.pr-galeria-recientes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.15rem;
}

.pr-galeria-recientes__item {
    margin: 0;
    background: var(--pr-fondo-2, #fff);
    border-radius: var(--pr-radio, 10px);
    overflow: hidden;
    box-shadow: var(--pr-sombra, 0 10px 28px rgba(61, 0, 38, 0.07));
}

.pr-galeria-recientes__item img {
    width: 100%;
    aspect-ratio: var(--pr-img-square, 1 / 1);
    height: auto;
    object-fit: cover;
    display: block;
}

.pr-galeria-recientes__item figcaption {
    padding: 0.75rem 0.9rem;
    font-size: var(--pr-fs-small, 0.875rem);
    line-height: 1.4;
    color: rgba(29, 29, 29, 0.75);
}

/* Lo que creo */
.pr-creo__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pr-creo__card {
    background: var(--pr-fondo, #F8F7F5);
    border-radius: var(--pr-radio-lg, 16px);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--pr-sombra, 0 10px 28px rgba(61, 0, 38, 0.07));
    border-top: 2px solid var(--pr-enfasis, #C6A76B);
    text-align: left;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.pr-creo__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pr-sombra-hover, 0 18px 40px rgba(61, 0, 38, 0.12));
}

.pr-creo__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.85rem;
    border-radius: 50%;
    background: rgba(183, 154, 181, 0.2);
    color: var(--pr-marca, #3D0026);
    font-size: 1.2rem;
}

.pr-creo__card h3 {
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: var(--pr-fs-h3, 1.35rem);
    font-weight: 500;
}

.pr-creo__card p {
    margin-bottom: 0;
    line-height: 1.75;
    font-size: 0.98rem;
    color: rgba(29, 29, 29, 0.78);
    max-width: none;
}

/* Descargables — layout amplio premium */
.pr-descargas {
    position: relative;
    overflow: hidden;
}

#home-paulina .pr-descargas > .container {
    max-width: min(1180px, 94vw);
}

#home-paulina .pr-descargas > .container > .pr-descargas__eyebrow,
#home-paulina .pr-descargas > .container > .pr-section__title,
#home-paulina .pr-descargas > .container > .pr-section__rule,
#home-paulina .pr-descargas > .container > .pr-section__lead {
    display: block;
    width: 100%;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#home-paulina .pr-descargas > .container > .pr-section__title {
    max-width: min(32ch, 100%) !important;
}

#home-paulina .pr-descargas > .container > .pr-section__lead {
    max-width: min(40rem, 100%) !important;
}

#home-paulina .pr-descargas > .container > .pr-descargas__box,
#home-paulina .pr-descargas > .container > .pr-descargas__mas {
    text-align: left;
}

.pr-descargas .pr-section__lead {
    max-width: 34rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.pr-descargas__eyebrow {
    margin: 0 0 0.55rem;
    text-align: center;
    font-family: var(--pr-fuente-cuerpo, "Inter", system-ui, sans-serif);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pr-apoyo, #B79AB5);
}

.pr-descargas__box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    gap: clamp(1.5rem, 3vw, 2.75rem);
    align-items: stretch;
    background:
        linear-gradient(160deg, #FFFFFF 0%, #FBF9F8 52%, #F6F1F5 100%) !important;
    border: 1px solid rgba(183, 154, 181, 0.22) !important;
    border-radius: 32px;
    padding: clamp(1.4rem, 2.8vw, 2.4rem);
    box-shadow:
        0 18px 48px rgba(61, 0, 38, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.95) inset;
    overflow: hidden;
}

.pr-descargas__box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(198, 167, 107, 0.75), transparent);
    opacity: 0.85;
    pointer-events: none;
}

.pr-descargas__box::after {
    content: "";
    position: absolute;
    inset: auto -10% -30% auto;
    width: min(40%, 280px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(183, 154, 181, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.pr-descargas__preview {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
}

.pr-descargas__foto {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: clamp(320px, 46vh, 500px);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 20%, rgba(183, 154, 181, 0.2), transparent 58%),
        linear-gradient(180deg, #FAF8F7 0%, #F3EEF2 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(183, 154, 181, 0.18);
    box-shadow:
        0 14px 32px rgba(61, 0, 38, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) 3.25rem;
}

.pr-descargas__foto img {
    width: 100%;
    height: 100%;
    max-height: min(440px, 52vh);
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 14px;
    filter: drop-shadow(0 12px 24px rgba(61, 0, 38, 0.12));
    transition: transform 0.55s ease, filter 0.55s ease;
}

.pr-descargas__box:hover .pr-descargas__foto img {
    transform: scale(1.015);
}

.pr-descargas__preview-note {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(61, 0, 38, 0.78);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(183, 154, 181, 0.35);
    box-shadow: 0 6px 16px rgba(61, 0, 38, 0.06);
    transform: translateX(-50%);
    white-space: nowrap;
}

.pr-descargas__preview-ico {
    width: 0.95rem;
    height: 0.95rem;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    position: relative;
    flex: 0 0 auto;
    opacity: 0.75;
}

.pr-descargas__preview-ico::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 50%;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.pr-descargas__form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 0.2rem;
}

.pr-descargas__form-head {
    margin-bottom: 0.2rem;
}

.pr-descargas__titulo,
#home-paulina .pr-descargas__titulo,
#home-paulina .pr-section--clara .pr-descargas__titulo {
    margin: 0 0 0.35rem;
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif) !important;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 500;
    line-height: 1.22;
    color: var(--pr-marca, #3D0026) !important;
}

.pr-descargas__ayuda,
#home-paulina .pr-section--clara .pr-descargas__ayuda {
    margin: 0 0 1.15rem;
    font-size: 0.94rem;
    line-height: 1.55;
    color: rgba(29, 29, 29, 0.62) !important;
    max-width: 38ch;
}

.pr-descargas__eyebrow,
#home-paulina .pr-descargas__eyebrow {
    color: var(--pr-apoyo, #B79AB5) !important;
}

.pr-descargas__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.9rem;
    margin-bottom: 0.25rem;
}

.pr-descargas__label,
#home-paulina .pr-descargas__label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(61, 0, 38, 0.78) !important;
}

.pr-descargas__label--group {
    margin-top: 0.65rem;
    margin-bottom: 0.55rem;
}

.pr-field {
    margin-bottom: 0.95rem;
}

.pr-descargas__fields .pr-field {
    margin-bottom: 0;
}

.pr-descargas__form .pr-field input[type="text"],
.pr-descargas__form .pr-field input[type="email"],
.pr-descargas__form .form-control {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(183, 154, 181, 0.32);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    background: rgba(248, 247, 245, 0.75);
    color: var(--pr-texto, #1D1D1D);
    font-family: var(--pr-fuente-cuerpo, "Inter", system-ui, sans-serif);
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.pr-descargas__form .pr-field input[type="text"]::placeholder,
.pr-descargas__form .pr-field input[type="email"]::placeholder,
.pr-descargas__form .form-control::placeholder {
    color: rgba(29, 29, 29, 0.38);
}

.pr-descargas__form .pr-field input[type="text"]:focus,
.pr-descargas__form .pr-field input[type="email"]:focus,
.pr-descargas__form .form-control:focus {
    outline: none !important;
    border-color: rgba(198, 167, 107, 0.75) !important;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(198, 167, 107, 0.2) !important;
}

.pr-descargas__opciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin: 0 0 0.95rem;
}

.pr-descargas__opciones--acordeon {
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.pr-descarga-item {
    border: 1px solid rgba(183, 154, 181, 0.28);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.pr-descarga-item.is-open {
    border-color: rgba(198, 167, 107, 0.65);
    background: linear-gradient(145deg, rgba(183, 154, 181, 0.12), rgba(255, 255, 255, 0.95));
    box-shadow: 0 8px 22px rgba(198, 167, 107, 0.12);
}

.pr-descarga-item__toggle {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.85rem 0.95rem;
    border: 0;
    background: transparent;
    color: var(--pr-marca, #3D0026);
    text-align: left;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.pr-descarga-item__toggle:focus,
.pr-descarga-item__toggle:focus-visible,
.pr-descarga-item__toggle:active {
    outline: none;
    box-shadow: none;
}

.pr-descarga-item__icon {
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.55), transparent 55%),
        rgba(183, 154, 181, 0.22);
    border: 1px solid rgba(183, 154, 181, 0.4);
    position: relative;
}

.pr-descarga-item__icon::before {
    content: "";
    position: absolute;
    inset: 0.4rem;
    background: url("../imagenes/logo/isotipo-mariposa.png") center / contain no-repeat;
    opacity: 0.72;
    filter: none;
}

.pr-descarga-item.is-open .pr-descarga-item__icon {
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.65), transparent 55%),
        rgba(198, 167, 107, 0.28);
    border-color: rgba(198, 167, 107, 0.55);
}

.pr-descarga-item__copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.pr-descarga-item__titulo {
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--pr-marca, #3D0026);
}

.pr-descarga-item__tipo {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pr-apoyo, #B79AB5);
}

.pr-descarga-item__chevron {
    width: 0.55rem;
    height: 0.55rem;
    border-right: 1.5px solid rgba(61, 0, 38, 0.45);
    border-bottom: 1.5px solid rgba(61, 0, 38, 0.45);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    justify-self: end;
    opacity: 0.7;
}

.pr-descarga-item.is-open .pr-descarga-item__chevron {
    transform: rotate(225deg);
    margin-top: 0.1rem;
}

.pr-descarga-item__panel {
    padding: 0 0.85rem 0.85rem 3.55rem;
}

.pr-option-card--acordeon {
    min-height: 0;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: rgba(248, 247, 245, 0.85);
    border-color: rgba(183, 154, 181, 0.22);
}

.pr-option-card--acordeon .pr-option-card__text {
    font-size: 0.86rem;
    font-weight: 400;
    color: rgba(29, 29, 29, 0.72);
}

.pr-descargas__mas {
    display: flex;
    justify-content: center;
    margin-top: 1.65rem;
}

.pr-descargas__mas-btn {
    min-width: 12.5rem;
    min-height: 3rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.7rem 1.5rem !important;
    border-radius: 999px !important;
    border-color: rgba(183, 154, 181, 0.45) !important;
    background: rgba(255, 255, 255, 0.75) !important;
    color: var(--pr-marca, #3D0026) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(61, 0, 38, 0.05);
    text-align: center;
}

.pr-descargas__mas-btn:hover,
.pr-descargas__mas-btn:focus {
    background: rgba(183, 154, 181, 0.14) !important;
    border-color: rgba(183, 154, 181, 0.7) !important;
    color: var(--pr-marca, #3D0026) !important;
}

.pr-descargas__mas-ico {
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: url("../imagenes/logo/isotipo-mariposa.png") center / 70% no-repeat;
    opacity: 0.8;
    flex: 0 0 auto;
}

.pr-option-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid rgba(183, 154, 181, 0.28);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    min-height: 52px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.78);
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.pr-option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pr-option-card__mark {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 1.5px solid rgba(183, 154, 181, 0.7);
    background: #FFFFFF;
    box-shadow: inset 0 0 0 0 var(--pr-apoyo, #B79AB5);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pr-option-card__text {
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(29, 29, 29, 0.82);
    line-height: 1.35;
}

.pr-option-card:hover {
    border-color: rgba(183, 154, 181, 0.65);
    background: rgba(183, 154, 181, 0.1);
}

.pr-option-card.is-active,
.pr-option-card:has(input:checked) {
    border-color: rgba(198, 167, 107, 0.7);
    background: linear-gradient(140deg, rgba(183, 154, 181, 0.18), rgba(198, 167, 107, 0.1));
    box-shadow: 0 8px 20px rgba(198, 167, 107, 0.12);
    outline: none;
}

.pr-option-card:focus,
.pr-option-card:focus-within {
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 167, 107, 0.2);
}

.pr-option-card.is-active .pr-option-card__mark,
.pr-option-card:has(input:checked) .pr-option-card__mark {
    border-color: var(--pr-apoyo, #B79AB5);
    box-shadow: inset 0 0 0 4px var(--pr-apoyo, #B79AB5);
}

.pr-descargas .pr-field--check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.15rem 0 0.95rem;
}

.pr-descargas .pr-field--check input[type="checkbox"] {
    margin-top: 0.1rem;
    flex: 0 0 auto;
    cursor: pointer;
}

.pr-descargas .pr-field--check label {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(29, 29, 29, 0.62);
    cursor: pointer;
}

.pr-descargas__captcha {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 16px;
    background: rgba(248, 247, 245, 0.8);
    border: 1px solid rgba(183, 154, 181, 0.2);
    overflow: auto;
}

.pr-descargas__captcha .g-recaptcha {
    transform-origin: left top;
}

.pr-descargas__submit {
    align-self: stretch;
    width: 100%;
    min-height: 52px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.15rem;
    padding: 0.85rem 1.35rem !important;
    border-radius: 999px !important;
    letter-spacing: 0.02em;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, #D4BC8A 0%, #C6A76B 55%, #B99658 100%) !important;
    border-color: transparent !important;
    color: var(--pr-marca, #3D0026) !important;
    box-shadow: 0 12px 28px rgba(198, 167, 107, 0.28);
}

.pr-descargas__submit-ico {
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: rgba(61, 0, 38, 0.1);
    border: 1.5px solid rgba(61, 0, 38, 0.35);
    position: relative;
    flex: 0 0 auto;
}

.pr-descargas__submit-ico::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 42%;
    width: 0.55rem;
    height: 0.38rem;
    border: 1.5px solid currentColor;
    border-radius: 0 0 2px 2px;
    border-top: 0;
    transform: translate(-50%, -50%);
}

.pr-descargas__submit-ico::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 28%;
    width: 0.28rem;
    height: 0.28rem;
    border-left: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translate(-50%, 0) rotate(-45deg);
}

.pr-descargas__submit:hover,
.pr-descargas__submit:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(198, 167, 107, 0.34);
    outline: none;
    color: var(--pr-marca, #3D0026) !important;
    background: linear-gradient(135deg, #DBC69A 0%, #CDB07A 55%, #C6A76B 100%) !important;
}

/* Video */
.pr-video__eyebrow {
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pr-apoyo, #B79AB5);
}

.pr-video__shell {
    max-width: 920px;
    margin: 1rem auto 0;
    padding: 0.65rem;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(183, 154, 181, 0.18), rgba(198, 167, 107, 0.12));
    border: 1px solid rgba(198, 167, 107, 0.35);
    box-shadow: 0 18px 40px rgba(61, 0, 38, 0.1);
}

.pr-video__wrap {
    position: relative;
    padding-top: 56.25%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: none;
    margin-bottom: 0;
}

.pr-video__player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.pr-video__placeholder {
    position: relative;
    text-align: center;
    padding: 0;
    background: var(--pr-marca, #3D0026);
    border-radius: 14px;
    margin-bottom: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.pr-video__placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    opacity: 0.88;
}

.pr-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    background: radial-gradient(circle at center, rgba(61, 0, 38, 0.35), transparent 65%);
    pointer-events: none;
}

#home-paulina .pr-video .pr-section__lead {
    margin-bottom: 0.85rem;
    color: rgba(248, 247, 245, 0.9) !important;
}

#home-paulina .pr-video .pr-section__title {
    color: #FFFFFF !important;
}

.pr-video__cta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.15rem;
    padding-top: 2.4rem;
    overflow: visible;
}

.pr-video__cta .pr-btn,
.pr-video__cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    overflow: visible;
    padding: 0.95rem 1.85rem 0.95rem 1.75rem !important;
    min-height: 3.25rem;
}

.pr-video__cta-mariposa {
    position: absolute;
    /* El PNG tiene más padding a la derecha: el dibujo queda a la izquierda del box */
    right: -1.55rem;
    top: -1.25rem;
    width: clamp(2.4rem, 5vw, 2.75rem);
    height: auto;
    margin: 0;
    pointer-events: none;
    z-index: 4;
    object-fit: contain;
    transform-origin: 50% 70%;
    opacity: 0;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.28));
    will-change: transform, opacity;
}

.pr-video__cta.is-perching .pr-video__cta-mariposa {
    animation: pr-video-cta-perch 1.65s cubic-bezier(0.33, 0.1, 0.22, 1) forwards;
}

.pr-video__cta.is-perched .pr-video__cta-mariposa {
    opacity: 1;
    /* translateX compensa el padding asimétrico del PNG para posar en la esquina */
    transform: translate(12%, -4%) rotate(14deg) scale(1);
    animation: none;
}

@keyframes pr-video-cta-perch {
    0% {
        opacity: 0;
        transform: translate(130%, -180%) rotate(-30deg) scale(0.42);
    }

    36% {
        opacity: 1;
        transform: translate(55%, -100%) rotate(26deg) scale(1.06);
    }

    66% {
        opacity: 1;
        transform: translate(6%, -38%) rotate(8deg) scale(0.94);
    }

    84% {
        opacity: 1;
        transform: translate(14%, -10%) rotate(12deg) scale(1.03);
    }

    100% {
        opacity: 1;
        transform: translate(12%, -4%) rotate(14deg) scale(1);
    }
}

@media (max-width: 575.98px) {
    .pr-video__cta {
        padding-top: 2rem;
        margin-top: 0.9rem;
    }

    .pr-video__cta-mariposa {
        right: -1.75rem;
        top: -1.4rem;
        width: clamp(2.2rem, 14vw, 2.55rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-video__cta-mariposa,
    .pr-video__cta.is-perching .pr-video__cta-mariposa {
        animation: none !important;
        opacity: 1;
        transform: translate(12%, -4%) rotate(14deg) scale(1);
    }
}

/* Pilares — 6 recuadros (brief): 3×2 en desktop */
.pr-pilares__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.pr-pilar > .pr-btn span {
    white-space: normal;
    line-height: 1.25;
    text-align: center;
}

.pr-pilar {
    background: var(--pr-fondo, #F8F7F5);
    border-radius: var(--pr-radio-lg, 16px);
    padding: 1.25rem 1.25rem 1.4rem;
    box-shadow: var(--pr-sombra, 0 10px 28px rgba(61, 0, 38, 0.07));
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
    min-height: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.pr-pilar:hover {
    transform: translateY(-5px);
    box-shadow: var(--pr-sombra-hover, 0 18px 40px rgba(61, 0, 38, 0.12));
}

.pr-pilar__media {
    aspect-ratio: 16 / 10;
    border-radius: var(--pr-radio, 10px);
    overflow: hidden;
    background: rgba(61, 0, 38, 0.06);
    flex: 0 0 auto;
}

.pr-pilar__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pr-pilar__media--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(183, 154, 181, 0.35), rgba(198, 167, 107, 0.25));
    color: var(--pr-marca, #3D0026);
    font-size: 2.25rem;
}

.pr-pilar h3 {
    margin: 0;
    font-size: var(--pr-fs-h3, 1.25rem);
    font-weight: 500;
    line-height: 1.25;
}

.pr-pilar p {
    flex: 1 1 auto;
    margin: 0;
    line-height: 1.65;
    font-size: var(--pr-fs-small, 0.9rem);
    color: rgba(29, 29, 29, 0.78);
    max-width: none;
}

.pr-pilar > .pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: stretch;
    text-align: center;
    margin-top: auto;
}

/* Testimonios (sección clara #F8F7F5 + cards blancas) */
.pr-testimonios,
#home-paulina .pr-section.pr-testimonios {
    position: relative;
    overflow: hidden;
}

/* Entrada al scroll: escena completa (no por tarjeta; evita pelear con el carrusel) */
.pr-testimonios.pr-testimonios--staged .pr-testimonios__intro {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
        opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.pr-testimonios.pr-testimonios--staged .pr-testimonios__intro .pr-section__rule {
    transform: scaleX(0.25);
    opacity: 0.35;
    transition:
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
        opacity 0.85s ease 0.12s;
}

/* Solo opacity en el carrusel: transform rompe el cálculo de anchos de Flickity */
.pr-testimonios.pr-testimonios--staged .pr-testimonios__carousel {
    opacity: 0;
    transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.pr-testimonios.pr-testimonios--staged.is-stage-in .pr-testimonios__intro,
.pr-testimonios.pr-testimonios--staged.is-stage-in .pr-testimonios__carousel {
    opacity: 1;
    transform: none;
}

.pr-testimonios.pr-testimonios--staged.is-stage-in .pr-testimonios__intro .pr-section__rule {
    transform: scaleX(1);
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .pr-testimonios.pr-testimonios--staged .pr-testimonios__intro,
    .pr-testimonios.pr-testimonios--staged .pr-testimonios__intro .pr-section__rule,
    .pr-testimonios.pr-testimonios--staged .pr-testimonios__carousel {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.pr-testimonios__intro {
    text-align: center;
    margin-bottom: 0.25rem;
}

.pr-testimonios__glow {
    position: absolute;
    inset: auto 0 -40% 20%;
    height: 60%;
    max-width: 100%;
    background: radial-gradient(ellipse at center, rgba(198, 167, 107, 0.14), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.pr-testimonios .container {
    position: relative;
    z-index: 1;
}

.pr-testimonios .pr-section__title {
    color: #3D0026 !important;
}

.pr-testimonios__eyebrow {
    margin: 0 0 0.55rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pr-apoyo, #B79AB5) !important;
}

#home-paulina .pr-testimonios.pr-section--opaca .pr-testimonios__eyebrow {
    color: #E8D5A8 !important;
}

#home-paulina .pr-testimonios.pr-section--opaca .pr-section__title {
    color: #FFFFFF !important;
}

#home-paulina .pr-testimonios.pr-section--opaca .pr-testimonios__lead {
    color: rgba(248, 247, 245, 0.88) !important;
}

#home-paulina .pr-testimonios.pr-section--opaca .flickity-button {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(232, 213, 168, 0.4);
    color: #E8D5A8;
}

#home-paulina .pr-testimonios.pr-section--opaca .flickity-page-dots .dot {
    background: rgba(232, 213, 168, 0.35);
}

.pr-testimonios__lead,
#home-paulina .pr-testimonios .pr-testimonios__lead {
    color: rgba(29, 29, 29, 0.78) !important;
    max-width: 36rem;
    margin-bottom: 1.25rem;
}

.pr-testimonios__carousel.carousel {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0.25rem 4.25rem 2.75rem;
    overflow: visible;
}

/* Celdas iguales: evita tarjetas aplastadas si Flickity mide mal el ancho */
.pr-testimonios .polo-carousel-item {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.pr-testimonios .polo-carousel-item .pr-testimonio {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.pr-testimonio {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: clamp(1.5rem, 2.8vw, 1.85rem) clamp(1.25rem, 2.4vw, 1.6rem) 1.45rem;
    border-radius: 18px;
    background: #FFFFFF;
    border: 1px solid rgba(183, 154, 181, 0.28);
    box-shadow: 0 12px 28px rgba(61, 0, 38, 0.08);
    overflow: hidden;
    color: #1D1D1D;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s ease,
        box-shadow 0.5s ease;
}

.pr-testimonio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 48%;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--pr-enfasis, #C6A76B), transparent);
    opacity: 0.85;
}

.pr-testimonio:hover {
    transform: translateY(-6px);
    border-color: rgba(198, 167, 107, 0.55);
    box-shadow: 0 18px 36px rgba(61, 0, 38, 0.12);
}

.pr-testimonio__quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: rgba(198, 167, 107, 0.18);
    border: 1px solid rgba(198, 167, 107, 0.4);
    color: #3D0026;
    font-size: 1.15rem;
}

.pr-testimonio__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    margin: 0 0 1.35rem;
    min-height: 0;
}

.pr-testimonio__texto {
    margin: 0;
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.55;
    max-width: none;
    color: #1D1D1D !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    min-height: calc(1.55em * 4);
}

.pr-testimonio__body.is-expanded .pr-testimonio__texto {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    min-height: calc(1.55em * 4);
}

.pr-testimonio__more {
    align-self: flex-start;
    margin-top: 0.65rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3D0026;
    font-family: var(--pr-fuente-cuerpo, Inter, sans-serif);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.pr-testimonio__more:hover,
.pr-testimonio__more:focus {
    color: #C6A76B;
}

.pr-testimonio__footer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(183, 154, 181, 0.28);
}

.pr-testimonio__media {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.pr-testimonio__foto {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border: 2px solid rgba(198, 167, 107, 0.65);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

.pr-testimonio__ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(198, 167, 107, 0.35);
    pointer-events: none;
    animation: pr-testimonio-ring 5.5s ease-in-out infinite;
}

@keyframes pr-testimonio-ring {
    0%, 100% { transform: scale(1); opacity: 0.65; }
    50% { transform: scale(1.06); opacity: 1; }
}

.pr-testimonio__meta {
    min-width: 0;
    text-align: left;
}

.pr-testimonio__nombre {
    font-family: var(--pr-fuente-cuerpo, Inter, sans-serif);
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.2rem;
    color: #3D0026 !important;
    letter-spacing: 0.02em;
}

.pr-testimonio__cargo {
    margin: 0;
    color: rgba(29, 29, 29, 0.68) !important;
    opacity: 1;
    font-size: var(--pr-fs-small, 0.82rem);
    line-height: 1.35;
}

.pr-testimonios .flickity-button,
.pr-testimonios .flickity-prev-next-button {
    width: 2.6rem;
    height: 2.6rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(232, 213, 168, 0.55);
    color: #E8D5A8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    z-index: 4;
}

.pr-testimonios .flickity-button.previous,
.pr-testimonios .flickity-prev-next-button.previous {
    left: 0.1rem;
}

.pr-testimonios .flickity-button.next,
.pr-testimonios .flickity-prev-next-button.next {
    right: 0.1rem;
}

.pr-testimonios .flickity-button:before,
.pr-testimonios .flickity-prev-next-button:before {
    color: #E8D5A8;
}

.pr-testimonios .flickity-button:hover,
.pr-testimonios .flickity-button:focus,
.pr-testimonios .flickity-prev-next-button:hover,
.pr-testimonios .flickity-prev-next-button:focus {
    background: var(--pr-enfasis, #C6A76B);
    border-color: var(--pr-enfasis, #C6A76B);
}

.pr-testimonios .flickity-button:hover:before,
.pr-testimonios .flickity-button:focus:before,
.pr-testimonios .flickity-prev-next-button:hover:before,
.pr-testimonios .flickity-prev-next-button:focus:before {
    color: var(--pr-marca, #3D0026);
}

@media (max-width: 767px) {
    .pr-testimonios__carousel.carousel {
        padding-left: 2.6rem;
        padding-right: 2.6rem;
    }
}

.pr-testimonios .flickity-page-dots {
    bottom: 0;
}

.pr-testimonios .flickity-page-dots .dot {
    background: rgba(61, 0, 38, 0.22);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.pr-testimonios .flickity-page-dots .dot.is-selected {
    background: var(--pr-enfasis, #C6A76B);
    transform: scale(1.2);
}

/* Eventos */
.pr-eventos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}

.pr-evento {
    background: var(--pr-fondo-2, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--pr-sombra, 0 8px 24px rgba(61, 0, 38, 0.08));
    display: flex;
    flex-direction: column;
}

.pr-evento__media {
    aspect-ratio: var(--pr-img-card, 16 / 10);
    overflow: hidden;
    background: rgba(61, 0, 38, 0.08);
}

.pr-evento__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pr-evento h3 {
    padding: 1.1rem 1.2rem 0.35rem;
    font-size: var(--pr-fs-h3, 1.3rem);
    font-weight: 500;
    margin: 0;
}

.pr-evento p {
    padding: 0 1.2rem;
    font-size: 0.92rem;
    color: rgba(29, 29, 29, 0.75);
    max-width: none;
}

.pr-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
    margin: 0.5rem 1.1rem 1rem;
    padding: 0.7rem 0.9rem;
    background: rgba(183, 154, 181, 0.15);
    border-radius: 8px;
    font-size: 0.9rem;
}

.pr-countdown__label {
    color: var(--pr-marca, #3D0026);
    font-weight: 600;
}

.pr-countdown__value {
    font-weight: 700;
    color: var(--pr-marca, #3D0026);
}

.pr-evento .pr-btn {
    margin: auto 1.1rem 1.1rem;
    align-self: stretch;
    text-align: center;
}

/* Colaboradores — Polo Flickity (.carousel) + team-members, skin de marca */
.pr-colaboradores {
    overflow: hidden;
}

#home-paulina .pr-section.pr-colaboradores.pr-section--opaca {
    background:
        radial-gradient(ellipse 70% 50% at 10% 20%, rgba(183, 154, 181, 0.16), transparent 55%),
        radial-gradient(ellipse 60% 45% at 90% 80%, rgba(198, 167, 107, 0.12), transparent 50%),
        var(--pr-fondo, #F8F7F5) !important;
}

.pr-colaboradores .pr-section__lead {
    margin-bottom: 2.25rem;
}

.pr-colaboradores__carousel.carousel {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.35rem 0 2.25rem;
}

.pr-colaboradores .polo-carousel-item {
    box-sizing: border-box;
}

.pr-colaboradores.team-members .team-member.pr-colab,
.pr-colaboradores .team-member.pr-colab {
    text-align: center;
    padding: 2rem 1.4rem 1.75rem;
    margin-bottom: 0;
    border-radius: var(--pr-radio-lg, 16px);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 247, 245, 0.98) 100%);
    border: 1px solid rgba(183, 154, 181, 0.35);
    box-shadow:
        0 12px 32px rgba(61, 0, 38, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s ease,
        border-color 0.55s ease;
}

.pr-colab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 56%;
    height: 3px;
    transform: translateX(-50%) scaleX(0.55);
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--pr-enfasis, #C6A76B), transparent);
    opacity: 0.75;
    transition: transform 0.55s ease, opacity 0.55s ease;
}

.pr-colab::after {
    content: "";
    position: absolute;
    inset: auto -20% -35% -20%;
    height: 55%;
    background: radial-gradient(ellipse at center, rgba(183, 154, 181, 0.16), transparent 68%);
    pointer-events: none;
    opacity: 0.55;
}

.pr-colab:hover {
    transform: translateY(-8px);
    border-color: rgba(198, 167, 107, 0.55);
    box-shadow: 0 22px 48px rgba(61, 0, 38, 0.12);
}

.pr-colab:hover::before {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.pr-colaboradores .team-image.pr-colab__media {
    position: relative;
    width: 148px;
    height: 148px;
    margin: 0 auto 1.25rem;
    float: none;
    z-index: 1;
}

.pr-colaboradores .carousel .polo-carousel-item img.pr-colab__foto,
.pr-colaboradores .pr-colab__foto {
    width: 148px !important;
    max-width: 148px !important;
    height: 148px !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 28px rgba(61, 0, 38, 0.14);
}

.pr-colab__ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(198, 167, 107, 0.55);
    box-shadow:
        0 0 0 6px rgba(183, 154, 181, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    animation: pr-colab-ring 4.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.pr-colaboradores .team-desc.pr-colab__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    padding: 0;
    overflow: visible;
}

.pr-colab h3 {
    font-family: var(--pr-fuente-titulo, "Cormorant Garamond", Georgia, serif);
    font-size: 1.35rem;
    font-weight: 500;
    margin: 0 0 0.35rem;
    letter-spacing: 0.01em;
    color: var(--pr-marca, #3D0026);
    line-height: 1.2;
}

/* Gana a .team-members .team-member .team-desc > span { #bbb } del tema */
.pr-colaboradores.team-members .team-member .team-desc > span.pr-colab__puesto,
.pr-colaboradores .pr-colab__puesto,
.pr-colab__puesto {
    display: block;
    color: #5C3A58 !important;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: none;
    margin: 0.2rem 0 0.85rem;
    line-height: 1.45;
    max-width: 18rem;
    margin-inline: auto;
}

.pr-colab__bio {
    font-size: var(--pr-fs-small, 0.9rem);
    line-height: 1.65;
    color: rgba(29, 29, 29, 0.72);
    margin: 0;
    margin-top: auto;
    max-width: 22rem;
    margin-inline: auto;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Controles Flickity de Polo — marca Paulina */
.pr-colaboradores .flickity-button {
    opacity: 1;
    width: 48px;
    height: 48px;
    line-height: 48px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--pr-marca, #3D0026);
    border: 1px solid rgba(183, 154, 181, 0.45);
    box-shadow: 0 8px 22px rgba(61, 0, 38, 0.1);
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.pr-colaboradores .flickity-button:before {
    color: var(--pr-marca, #3D0026);
    line-height: 48px;
    font-size: 1.1rem;
}

.pr-colaboradores .flickity-button:hover,
.pr-colaboradores .flickity-button:focus {
    background: var(--pr-marca, #3D0026);
    border-color: var(--pr-marca, #3D0026);
    box-shadow: 0 12px 28px rgba(61, 0, 38, 0.18);
}

.pr-colaboradores .flickity-button:hover:before,
.pr-colaboradores .flickity-button:focus:before {
    color: #FFFFFF;
}

.pr-colaboradores .flickity-prev-next-button.previous {
    left: -8px;
}

.pr-colaboradores .flickity-prev-next-button.next {
    right: 8px;
}

.pr-colaboradores .flickity-page-dots {
    bottom: -4px;
    margin-top: 1.25rem;
}

.pr-colaboradores .flickity-page-dots .dot {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    opacity: 1;
    background: transparent;
    box-shadow: inset 0 0 0 1px rgba(61, 0, 38, 0.35);
    transition:
        width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.45s ease,
        box-shadow 0.45s ease;
}

.pr-colaboradores .flickity-page-dots .dot:after {
    display: none;
}

.pr-colaboradores .flickity-page-dots .dot.is-selected {
    width: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pr-marca, #3D0026), var(--pr-enfasis, #C6A76B));
    box-shadow: none;
}

@keyframes pr-colab-ring {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.045);
        opacity: 1;
    }
}

@media (max-width: 676px) {
    .pr-colaboradores.team-members .team-member.pr-colab,
    .pr-colaboradores .team-member.pr-colab {
        padding: 1.65rem 1.2rem 1.5rem;
    }

    .pr-colaboradores .team-image.pr-colab__media,
    .pr-colaboradores .carousel .polo-carousel-item img.pr-colab__foto,
    .pr-colaboradores .pr-colab__foto {
        width: 132px !important;
        max-width: 132px !important;
        height: 132px !important;
    }

    .pr-colaboradores__carousel.carousel,
    .pr-colaboradores .carousel {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .pr-colaboradores .flickity-button {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .pr-colaboradores .flickity-button:before {
        line-height: 36px;
        font-size: 0.95rem;
    }

    .pr-colaboradores .flickity-prev-next-button.previous {
        left: 0;
    }

    .pr-colaboradores .flickity-prev-next-button.next {
        right: 0;
    }

    .pr-colaboradores.team-members .team-member .team-desc > span.pr-colab__puesto,
    .pr-colaboradores .pr-colab__puesto {
        letter-spacing: 0.01em !important;
        font-size: 0.74rem !important;
        white-space: normal !important;
        max-width: 15rem;
        margin-inline: auto;
    }
}

/* Programas */
.pr-nivel {
    margin-bottom: 2rem;
}

.pr-nivel__titulo {
    font-size: var(--pr-fs-h3, 1.4rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(183, 154, 181, 0.55);
}

.pr-programas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.pr-programa {
    background: var(--pr-fondo-2, #fff);
    border-radius: var(--pr-radio-lg, 16px);
    overflow: hidden;
    box-shadow: var(--pr-sombra, 0 10px 28px rgba(61, 0, 38, 0.07));
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pr-programa__media {
    aspect-ratio: var(--pr-img-card, 16 / 10);
    background-size: cover;
    background-position: center;
    background-color: var(--pr-marca, #3D0026);
}

.pr-programa__body {
    padding: 1.25rem 1.2rem 1.4rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pr-programa__body h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.pr-programa__body p {
    font-size: var(--pr-fs-small, 0.9rem);
    color: rgba(29, 29, 29, 0.75);
    max-width: none;
    margin: 0;
}

.pr-programas__footer {
    text-align: center;
    margin-top: 1.75rem;
}

.pr-programas__eyebrow {
    display: block;
    width: 100%;
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(198, 167, 107, 0.95);
}

#home-paulina .pr-programas.pr-section--opaca .pr-programas__eyebrow {
    color: rgba(198, 167, 107, 0.95) !important;
    text-align: center !important;
}

#home-paulina .pr-programas.pr-section--opaca::before {
    background: linear-gradient(
        165deg,
        rgba(61, 0, 38, 0.82) 0%,
        rgba(61, 0, 38, 0.72) 50%,
        rgba(61, 0, 38, 0.86) 100%
    );
}

.pr-programas__vitrina {
    max-width: 980px;
    margin: 1.75rem auto 0;
}

.pr-programas__visual {
    position: relative;
    margin: 0 auto 1.75rem;
    max-width: 720px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(198, 167, 107, 0.38);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.pr-programas__visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.pr-programas__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(61, 0, 38, 0.72) 100%);
    pointer-events: none;
}

.pr-programas__visual-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: 0;
    padding: 1rem 1.25rem 1.15rem;
    text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    font-style: italic;
    color: #F8F7F5;
    letter-spacing: 0.02em;
}

.pr-programas__niveles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin: 0 0 1.35rem;
}

.pr-programas__nivel-card {
    position: relative;
    text-align: left;
    padding: 1.55rem 1.2rem 1.4rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(198, 167, 107, 0.35);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
    color: #1D1D1D;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
}

.pr-programas__nivel-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 42%;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #C6A76B, transparent);
}

.pr-programas__nivel-card:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 167, 107, 0.65);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.pr-programas__nivel-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin-bottom: 0.65rem;
    border-radius: 999px;
    background: rgba(61, 0, 38, 0.08);
    color: #3D0026;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pr-programas__nivel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0 0 0.75rem;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(198, 167, 107, 0.28), rgba(183, 154, 181, 0.28));
    color: #3D0026;
    font-size: 1.25rem;
}

.pr-programas__nivel-titulo {
    margin: 0 0 0.45rem;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.45rem;
    font-weight: 500;
    color: #3D0026;
    text-align: left;
}

.pr-programas__nivel-texto {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: rgba(29, 29, 29, 0.78);
    text-align: left;
}

.pr-programas__nota {
    margin: 0 auto 0.25rem;
    max-width: 34rem;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(248, 247, 245, 0.88) !important;
}

@media (max-width: 991px) {
    .pr-programas__niveles {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Comenzar: respeta clara/opaca del ritmo */
.pr-comenzar .pr-section__title {
    max-width: min(32ch, 100%);
}

#home-paulina .pr-comenzar.pr-section--clara .pr-section__title {
    color: #3D0026 !important;
}

#home-paulina .pr-comenzar.pr-section--opaca .pr-section__title {
    color: #FFFFFF !important;
}

.pr-comenzar__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.pr-comenzar__card,
a.pr-comenzar__card,
a.pr-comenzar__card:link,
a.pr-comenzar__card:visited {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-height: 148px;
    height: 100%;
    padding: 1.5rem 1.1rem;
    border-radius: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(183, 154, 181, 0.35);
    color: #3D0026 !important;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    box-shadow: 0 10px 24px rgba(61, 0, 38, 0.08);
}

#home-paulina .pr-comenzar.pr-section--opaca .pr-comenzar__card,
#home-paulina .pr-comenzar.pr-section--opaca a.pr-comenzar__card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(232, 213, 168, 0.55);
    color: #FFFFFF !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pr-comenzar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: rgba(198, 167, 107, 0.22);
    border: 1px solid rgba(232, 213, 168, 0.55);
    font-size: 1.35rem;
    line-height: 1;
}

.pr-comenzar__label {
    display: block;
    line-height: 1.3;
}

.pr-comenzar__card:hover,
a.pr-comenzar__card:hover {
    background: var(--pr-enfasis, #C6A76B);
    color: var(--pr-marca, #3D0026) !important;
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.pr-comenzar__card:hover .pr-comenzar__icon {
    background: rgba(61, 0, 38, 0.12);
    border-color: rgba(61, 0, 38, 0.25);
}

/* Feed de redes (antes de contacto) */
.pr-redes__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 40rem;
    margin: 0 auto clamp(1.5rem, 3vw, 2.15rem);
}

#home-paulina .pr-redes.pr-section--clara .pr-section__title {
    color: #3D0026 !important;
    margin-bottom: 0.55rem !important;
    max-width: min(18ch, 100%) !important;
}

.pr-redes__rule,
#home-paulina .pr-redes .pr-redes__rule {
    width: 72px;
    height: 2px;
    margin: 0 auto 1.1rem !important;
    background: linear-gradient(90deg, transparent, var(--pr-enfasis, #C6A76B), var(--pr-apoyo, #B79AB5), transparent);
}

.pr-redes__lead,
#home-paulina .pr-redes .pr-redes__lead {
    margin: 0 auto !important;
    max-width: 34rem !important;
    color: rgba(29, 29, 29, 0.72) !important;
    font-size: clamp(1rem, 1.7vw, 1.12rem) !important;
    line-height: 1.65 !important;
}

.pr-redes__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
    margin-top: 0;
}

.pr-redes__grid--una {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

.pr-redes__panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid rgba(183, 154, 181, 0.35);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(61, 0, 38, 0.08);
    overflow: hidden;
}

.pr-redes__panel-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(183, 154, 181, 0.28);
    background: linear-gradient(180deg, rgba(248, 247, 245, 0.95), #FFFFFF);
}

.pr-redes__panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(61, 0, 38, 0.08);
    color: var(--pr-marca, #3D0026);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.pr-redes__panel-copy {
    min-width: 0;
}

.pr-redes__panel-title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--pr-marca, #3D0026);
}

.pr-redes__panel-link {
    display: inline-block;
    margin-top: 0.15rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pr-apoyo, #B79AB5);
    text-decoration: none;
    word-break: break-word;
}

.pr-redes__panel-link:hover,
.pr-redes__panel-link:focus-visible {
    color: var(--pr-marca, #3D0026);
    text-decoration: underline;
}

.pr-redes__embed {
    position: relative;
    width: 100%;
    background: #F8F7F5;
}

.pr-redes__embed iframe {
    display: block;
    width: 100%;
    border: 0;
    background: #FFFFFF;
}

.pr-redes__embed--instagram iframe {
    height: 560px;
}

.pr-redes__embed--facebook iframe {
    height: 560px;
}

@media (max-width: 991px) {
    .pr-redes__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .pr-redes__grid--una {
        max-width: 520px;
    }
}

@media (max-width: 575px) {
    .pr-redes__embed--instagram iframe,
    .pr-redes__embed--facebook iframe {
        height: 480px;
    }
}

/* Microinteracciones premium */
.pr-creo__card,
.pr-pilar,
.pr-evento,
.pr-programa,
.pr-colab,
.pr-option-card {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease;
}

.pr-creo__card::after,
.pr-pilar::after,
.pr-evento::after,
.pr-programa::after,
.pr-colab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pr-marca, #3D0026), var(--pr-enfasis, #C6A76B), var(--pr-apoyo, #B79AB5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pr-creo__card:hover,
.pr-pilar:hover,
.pr-evento:hover,
.pr-programa:hover,
.pr-colab:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(61, 0, 38, 0.14);
    border-color: rgba(198, 167, 107, 0.55);
}

.pr-creo__card:hover::after,
.pr-pilar:hover::after,
.pr-evento:hover::after,
.pr-programa:hover::after,
.pr-colab:hover::after {
    transform: scaleX(1);
}

.pr-quien__media img,
.pr-programa__media,
.pr-colab img {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.pr-quien__media:hover img,
.pr-programa:hover .pr-programa__media,
.pr-colab:hover img {
    transform: scale(1.04);
}

.pr-comenzar__card {
    transition:
        background 0.35s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s ease,
        box-shadow 0.4s ease;
}

.pr-btn {
    position: relative;
    overflow: hidden;
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

.pr-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.pr-btn:hover::before {
    transform: translateX(120%);
}

.pr-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(61, 0, 38, 0.22);
}

.pr-section__title {
    position: relative;
}

/* La regla .pr-section__rule ya marca el ritmo; evita doble subrayado */
#home-paulina .pr-section__title::after {
    content: none;
    display: none;
}

.pr-hero__logo {
    animation: pr-logo-float 5.5s ease-in-out infinite;
}

@keyframes pr-logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.pr-btn:focus-visible,
.pr-comenzar__card:focus-visible {
    outline: 2px solid var(--pr-enfasis, #C6A76B);
    outline-offset: 3px;
}

.pr-option-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(198, 167, 107, 0.22);
}

@media (max-width: 1199px) {
    .pr-pilares__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pr-creo__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .pr-hero__bg {
        background-position: 32% center;
    }

    .pr-quien__grid {
        grid-template-columns: 1fr;
    }

    .pr-comenzar .pr-section__title {
        max-width: 18ch;
    }

    .pr-quien__media {
        max-width: 380px;
        margin-inline: auto;
        order: -1;
    }

    .pr-quien__media-frame {
        aspect-ratio: 3 / 4;
        max-height: 420px;
    }

    .pr-quien__acciones {
        max-width: none;
    }

    .pr-quien__acciones-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .pr-quien__acciones-row .pr-quien__btn {
        min-height: 2.65rem;
        padding: 0.55rem 0.55rem;
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .pr-quien__acciones-row .pr-quien__btn i {
        font-size: 0.95rem;
    }

    .pr-hero {
        min-height: min(88vh, 720px);
    }

    .pr-hero__content {
        max-width: 22rem;
        padding: clamp(4.5rem, 10vh, 6rem) 1.25rem 2.75rem;
    }

    /* Contraste: light.css fuerza p{#666} y deja ilegible el subtítulo del hero */
    .pr-hero__subtitle {
        color: #FFFFFF !important;
        opacity: 1;
    }

    .pr-hero__tagline {
        color: #F0E4EE !important;
    }

    .pr-section {
        padding: clamp(3rem, 6vw, 4.5rem) 0;
    }

    .pr-section__title {
        max-width: none;
    }

    .pr-btn,
    .pr-btn--sm,
    .pr-comenzar__card,
    .pr-option-card {
        min-height: 44px;
    }

    .pr-btn--sm {
        padding: 10px 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .pr-field input[type="text"],
    .pr-field input[type="email"] {
        min-height: 44px;
        font-size: 16px;
    }

    .pr-creo__grid,
    .pr-pilares__grid,
    .pr-eventos__grid {
        gap: 1rem;
    }

    .pr-comenzar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .pr-pilares__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pr-eventos__grid {
        grid-template-columns: 1fr;
    }

    .pr-descargas__box {
        grid-template-columns: minmax(240px, 0.95fr) minmax(260px, 1.05fr);
        padding: 1.35rem;
        gap: 1.35rem;
        border-radius: 22px;
    }

    .pr-descargas__foto {
        min-height: 300px;
    }

    .pr-descargas__foto img {
        max-height: 340px;
    }

    .pr-option-card {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .pr-descargas__box {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        gap: 1.25rem;
    }

    .pr-descargas__fields,
    .pr-descargas__opciones {
        grid-template-columns: 1fr;
    }

    .pr-descargas__foto {
        min-height: 260px;
        max-height: 340px;
        margin-inline: auto;
        width: min(100%, 340px);
    }

    .pr-descargas__foto img {
        max-height: 280px;
    }

    .pr-descargas__form {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .pr-creo__grid {
        grid-template-columns: 1fr;
    }

    .pr-hero {
        min-height: min(78vh, 640px);
    }

    .pr-hero__content {
        max-width: 100%;
        padding: 4.5rem 1.1rem 2.5rem;
        text-align: center;
    }

    .pr-hero__logo {
        width: min(280px, 72vw);
        max-width: 300px;
        margin-bottom: 1.15rem;
    }

    .pr-hero__title {
        font-size: clamp(1.85rem, 8vw, 2.25rem);
        line-height: 1.15;
    }

    .pr-hero__tagline {
        font-size: clamp(1.2rem, 5vw, 1.45rem);
    }

    .pr-hero__subtitle {
        font-size: clamp(1.02rem, 4vw, 1.12rem);
        line-height: 1.55;
        max-width: 28ch;
        margin-inline: auto;
    }

    .pr-hero .pr-btn {
        width: 100%;
        max-width: 20rem;
        text-align: center;
        min-height: 48px;
        box-sizing: border-box;
        font-size: 1rem;
        padding: 14px 22px;
    }

    .pr-section {
        padding-block: clamp(3rem, 10vw, 4.5rem);
    }

    .pr-section__title {
        font-size: clamp(1.65rem, 7vw, 2rem);
    }

    .pr-section__lead,
    .pr-quien__historia,
    .pr-pilar p,
    .pr-evento p,
    .pr-colab__bio {
        font-size: 1rem;
        line-height: 1.7;
    }

    .pr-creo__card,
    .pr-pilar,
    .pr-evento,
    .pr-programa {
        padding: 1rem;
    }

    .pr-comenzar__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .pr-comenzar__card {
        min-height: 52px;
    }

    .pr-pilares__grid {
        grid-template-columns: 1fr;
    }

    .pr-quien__acciones-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .pr-quien__acciones-row .pr-quien__btn {
        min-height: 2.55rem;
        padding: 0.5rem 0.4rem;
        font-size: 0.72rem;
        gap: 0.3rem;
    }

    .pr-quien__btn--featured {
        min-height: 2.85rem;
        font-size: 0.88rem;
    }

    .pr-quien__media {
        padding: 0.65rem;
    }

    .pr-quien__media::before {
        transform: translate(6px, 6px);
    }

    .pr-quien__media-frame {
        aspect-ratio: 4 / 5;
        max-height: 360px;
    }
}

/* Intro: vuelo → aterriza + texto → hold → fade → logo PNG del hero (sin tocar PNGs) */
.pr-mariposa-intro,
.pr-mariposa-intro *,
.pr-mariposa-intro *::before,
.pr-mariposa-intro *::after {
    pointer-events: none !important;
}

/* Durante la intro el PNG del hero está oculto; en handoff entra suave */
#home-paulina.pr-intro-active .pr-hero__logo {
    opacity: 0 !important;
    visibility: hidden;
    transition: none;
    animation: none !important;
    transform: none !important;
}

#home-paulina.pr-intro-active.pr-intro-handoff .pr-hero__logo {
    opacity: 1 !important;
    visibility: visible;
    transition: opacity 0.7s ease;
    animation: none !important;
    transform: none !important;
}

.pr-mariposa-intro {
    --pr-mariposa-size: clamp(56px, 10vw, 78px);
    --pr-mariposa-frames: 54;
    --pr-mariposa-duration: 4000ms;
    /* 2 ciclos ≈ 2.2s: aleteo termina al posarse y se queda quieta sobre el isotipo */
    --pr-mariposa-flap: 1100ms;
    --pr-mariposa-ease-fly: cubic-bezier(0.45, 0.05, 0.25, 1);
    --pr-mariposa-ease-soft: cubic-bezier(0.33, 0.1, 0.25, 1);
    --pr-mariposa-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --pr-mariposa-logo-w: min(480px, 72vw);
    --pr-fly-x: clamp(120px, 28vw, 340px);
    --pr-fly-y: clamp(90px, 22vh, 220px);
    /* Centro del isotipo dentro de logo-paulina-nav-blanco.png */
    --pr-perch-x: 38.6%;
    --pr-perch-y: 18.8%;
    --pr-mark-left: 50%;
    --pr-mark-top: 20%;
    --pr-mark-width: var(--pr-mariposa-logo-w);
    --pr-mark-height: auto;
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    visibility: hidden;
    overflow: hidden;
    background: transparent;
    contain: layout paint;
    padding: 0;
}

.pr-mariposa-intro.is-playing {
    visibility: visible;
}

.pr-mariposa-intro__glow {
    position: absolute;
    left: var(--pr-glow-left, 50%);
    top: var(--pr-glow-top, 20%);
    z-index: 0;
    width: min(42vw, 280px);
    height: min(42vw, 280px);
    margin: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 167, 107, 0.12) 0%, rgba(198, 167, 107, 0.03) 50%, transparent 74%);
    transform: translate3d(-50%, -50%, 0) scale(0.6);
    opacity: 0;
    will-change: opacity, transform;
}

.pr-mariposa-intro__stage {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

.pr-mariposa-intro__mark {
    position: absolute;
    left: var(--pr-mark-left);
    top: var(--pr-mark-top);
    width: var(--pr-mark-width);
    height: var(--pr-mark-height);
    max-width: none;
    min-height: 0;
    display: block;
    margin: 0;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.22));
}

.pr-mariposa-intro__wordmark {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    will-change: opacity, transform;
}

/* Mismo archivo PNG que nav/hero: tipografía idéntica al logo */
.pr-mariposa-intro__wordmark,
.pr-mariposa-intro__wordmark-img {
    width: 100%;
    height: 100%;
}

.pr-mariposa-intro__wordmark-img {
    display: block;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

.pr-mariposa-intro__bird {
    position: absolute;
    left: var(--pr-perch-x);
    top: var(--pr-perch-y);
    z-index: 3;
    width: var(--pr-mariposa-size);
    height: var(--pr-mariposa-size);
    margin: 0;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transform-origin: 50% 50%;
    will-change: transform, opacity, filter;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.pr-mariposa-intro__orient {
    width: 100%;
    height: 100%;
    transform-origin: 50% 50%;
    will-change: transform;
}

.pr-mariposa-intro__sprite {
    width: 100%;
    height: 100%;
    background-image: var(--pr-mariposa-sprite);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: calc(var(--pr-mariposa-size) * var(--pr-mariposa-frames)) var(--pr-mariposa-size);
    will-change: background-position;
    transform: translateZ(0);
}

.pr-mariposa-intro.is-playing .pr-mariposa-intro__glow {
    animation: pr-mariposa-glow var(--pr-mariposa-duration) var(--pr-mariposa-ease-soft) forwards;
}

.pr-mariposa-intro.is-playing .pr-mariposa-intro__bird {
    animation: pr-mariposa-fly var(--pr-mariposa-duration) var(--pr-mariposa-ease-fly) forwards;
}

.pr-mariposa-intro.is-playing .pr-mariposa-intro__orient {
    animation: pr-mariposa-orient var(--pr-mariposa-duration) var(--pr-mariposa-ease-fly) forwards;
}

.pr-mariposa-intro.is-playing .pr-mariposa-intro__sprite {
    /* Un ciclo completo ~1.7s (54 frames ping-pong): aleteo pausado, no cámara rápida */
    animation: pr-mariposa-flap var(--pr-mariposa-flap) steps(53) 2 both;
}

.pr-mariposa-intro.is-playing .pr-mariposa-intro__wordmark {
    animation: pr-mariposa-wordmark var(--pr-mariposa-duration) var(--pr-mariposa-ease-out) forwards;
}

.pr-mariposa-intro.is-playing .pr-mariposa-intro__mark {
    animation: pr-mariposa-mark-fade var(--pr-mariposa-duration) var(--pr-mariposa-ease-soft) forwards;
}

@keyframes pr-mariposa-glow {
    0%,
    30% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0.55);
    }

    58% {
        opacity: 0.26;
        transform: translate3d(-50%, -50%, 0) scale(0.92);
    }

    78% {
        opacity: 0.18;
        transform: translate3d(-50%, -50%, 0) scale(1.02);
    }

    100% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(1.1);
    }
}

@keyframes pr-mariposa-flap {
    from {
        background-position: 0 0;
    }

    to {
        background-position: calc(var(--pr-mariposa-size) * 53 * -1) 0;
    }
}

/* Vuelo → aterriza en el isotipo del logo del hero; al final se funde con él */
@keyframes pr-mariposa-fly {
    0% {
        transform: translate3d(calc(-50% + var(--pr-fly-x)), calc(-50% + var(--pr-fly-y)), 0) scale(0.42);
        opacity: 0;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
    }

    4% {
        opacity: 0.95;
    }

    18% {
        transform: translate3d(calc(-50% + (var(--pr-fly-x) * 0.7)), calc(-50% + (var(--pr-fly-y) * 0.62)), 0) scale(0.55);
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.16));
    }

    34% {
        transform: translate3d(calc(-50% + (var(--pr-fly-x) * 0.38)), calc(-50% + (var(--pr-fly-y) * 0.28)), 0) scale(0.72);
        filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.2));
    }

    48% {
        transform: translate3d(calc(-50% + (var(--pr-fly-x) * 0.14)), calc(-50% + (var(--pr-fly-y) * 0.06)), 0) scale(0.9);
        opacity: 1;
        filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.24));
    }

    56% {
        transform: translate3d(-50%, -50%, 0) scale(1);
        opacity: 1;
        filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.26));
    }

    74% {
        transform: translate3d(-50%, -50%, 0) scale(1);
        opacity: 1;
        filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
    }

    86% {
        transform: translate3d(-50%, -50%, 0) scale(1);
        opacity: 0.4;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
    }

    94%,
    100% {
        transform: translate3d(-50%, -50%, 0) scale(1);
        opacity: 0;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
    }
}

@keyframes pr-mariposa-orient {
    0% {
        transform: rotate(-16deg);
    }

    18% {
        transform: rotate(-12deg);
    }

    34% {
        transform: rotate(-6deg);
    }

    48% {
        transform: rotate(2deg);
    }

    56% {
        transform: rotate(8deg);
    }

    /* Misma inclinación suave del isotipo del logo */
    68%,
    100% {
        transform: rotate(10deg);
    }
}

/* Texto aparece al aterrizar; se mantiene; sale suave con la mariposa */
@keyframes pr-mariposa-wordmark {
    0%,
    54% {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }

    62% {
        opacity: 1;
        transform: translate3d(0, 2px, 0);
    }

    72% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    82% {
        opacity: 0.45;
        transform: translate3d(0, -2px, 0);
    }

    92%,
    100% {
        opacity: 0;
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes pr-mariposa-mark-fade {
    0%,
    78% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .pr-mariposa-intro {
        --pr-mariposa-logo-w: min(300px, 78vw);
        --pr-mariposa-flap: 1150ms;
        --pr-fly-x: clamp(72px, 22vw, 160px);
        --pr-fly-y: clamp(70px, 18vh, 150px);
        --pr-perch-x: 38.6%;
        --pr-perch-y: 18.8%;
    }
}

@media (min-width: 1200px) {
    .pr-mariposa-intro {
        --pr-fly-x: clamp(180px, 26vw, 380px);
        --pr-fly-y: clamp(100px, 20vh, 240px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pr-mariposa-intro {
        display: none !important;
    }

    #home-paulina.pr-intro-active .pr-hero__logo,
    #home-paulina.pr-intro-active.pr-intro-handoff .pr-hero__logo {
        opacity: 1 !important;
        visibility: visible;
    }

    .pr-mariposa-intro__sprite,
    .pr-mariposa-intro__bird,
    .pr-mariposa-intro__orient,
    .pr-mariposa-intro__glow,
    .pr-mariposa-intro__wordmark,
    .pr-mariposa-intro__mark {
        animation: none !important;
    }

    .pr-hero__bg,
    .pr-hero__content,
    .pr-hero__logo,
    .pr-colab__ring,
    .pr-testimonio__ring {
        animation: none !important;
    }

    .pr-hero__overlay {
        animation: none !important;
        opacity: 0;
    }

    .pr-testimonio:hover {
        transform: none;
    }

    .pr-creo__card,
    .pr-pilar,
    .pr-evento,
    .pr-programa,
    .pr-colab,
    .pr-option-card,
    .pr-comenzar__card,
    .pr-btn,
    .pr-quien__media img,
    .pr-programa__media,
    .pr-colab img,
    .pr-colaboradores .flickity-button,
    .pr-colaboradores .flickity-page-dots .dot {
        transition: none !important;
    }

    .pr-creo__card:hover,
    .pr-pilar:hover,
    .pr-evento:hover,
    .pr-programa:hover,
    .pr-colab:hover,
    .pr-btn:hover,
    .pr-comenzar__card:hover,
    .pr-quien__media:hover img,
    .pr-programa:hover .pr-programa__media,
    .pr-colab:hover img {
        transform: none !important;
    }

    .pr-btn::before,
    .pr-creo__card::after,
    .pr-pilar::after,
    .pr-evento::after,
    .pr-programa::after,
    .pr-colab::after {
        display: none;
    }

}
