/*<--------------------------------------------------->
<!--  PruebaSocial (section component)               -->
<!----------------------------------------------------->
* Description:
    Social proof section for #prueba_social with school
    links, institutional testimonials, alumni startups,
    and a YouTube-ready video carousel.
* Parameters:
    - None
* Dependencies:
    - style.css custom properties
    - Font Awesome icons loaded in index.html
    - prueba-social.js for video carousel behavior
* Returns/results:
    Styles the approved responsive proof layout for mobile,
    tablet, and desktop viewports.
<!--------------------------------------------------->*/

/*###################################################*/
/*...................................................*/
/* prueba social shell                               */
/*...................................................*/
/*###################################################*/

.pruebaSocial {
    --pruebaSocialWidth: 55rem;
    --pruebaSocialBorder: hsla(0, 0%, 100%, 0.09);
    --pruebaSocialBorderSoft: hsla(0, 0%, 100%, 0.055);
    --pruebaSocialPanel: hsla(0, 0%, 100%, 0.032);
    --pruebaSocialPanelStrong: hsla(0, 0%, 100%, 0.052);
    --pruebaSocialMuted: hsla(0, 30%, 96%, 0.54);

    display: flex;
    align-items: center;
    justify-content: center;

    @media (min-width: 1300px) {
        --pruebaSocialWidth: 58rem;
    }
}

.pruebaSocial > .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding-bottom: 4rem;
}

.pruebaSocial .sectionHeader {
    width: min(100%, var(--pruebaSocialWidth));
    padding-bottom: 0;

    @media (min-width: 991px) {
        width: 100%;
    }
}

.pruebaSocialIntro {
    max-width: 43rem;
    margin: 0.85rem 0 0;
    font-family: var(--font-body);
    font-size: clamp(0.78rem, 0.9vw, 0.95rem);
    line-height: 1.65;
    color: hsla(0, 30%, 96%, 0.46);
}

.pruebaSocialBody {
    display: grid;
    gap: clamp(3rem, 7vw, 5rem);
    width: min(100%, var(--pruebaSocialWidth));
    padding: 2rem 0.5rem 0.5rem;

    @media (min-width: 768px) {
        padding: 2.5rem 2rem 2rem;
    }
}

.pruebaSocialBlockTitle {
    margin: 0 0 1.05rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-mono);
    letter-spacing: 0;
}

.pruebaSocialSubhead {
    max-width: 27rem;
    margin: 0 0 1.7rem;
    font-family: var(--font-display);
    font-size: clamp(1rem, 1.15vw, 1.2rem);
    font-weight: 500;
    line-height: 1.35;
    color: hsla(0, 30%, 96%, 0.72);
}

/*###################################################*/
/*...................................................*/
/* end prueba social shell                           */
/*...................................................*/
/*###################################################*/

/*###################################################*/
/*...................................................*/
/* schools                                           */
/*...................................................*/
/*###################################################*/

.pruebaSocialSchoolGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--pruebaSocialBorder);
    border: 1px solid var(--pruebaSocialBorder);
    border-radius: 8px;
    overflow: hidden;

    @media (min-width: 768px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    @media (min-width: 991px) {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.pruebaSocialSchoolCard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 10.4rem;
    padding: 1.1rem 1rem;
    color: var(--text);
    text-decoration: none;
    background: hsla(0, 0%, 5%, 0.28);
    transition: background-color 0.2s ease;

    &:focus-visible {
        z-index: 1;
        outline: 2px solid var(--primary);
        outline-offset: -2px;
    }

    @media (hover: hover) {
        &:hover {
            background: hsla(0, 0%, 100%, 0.045);
        }
    }

    @media (min-width: 768px) {
        min-height: 11.4rem;
        padding: 1.35rem 1.2rem;
    }

    @media (min-width: 991px) {
        min-height: 10.7rem;
    }
}

.pruebaSocialSchoolLogoWrap {
    display: flex;
    align-items: center;
    height: 2.05rem;
    margin-bottom: 1.15rem;
}

.pruebaSocialSchoolLogo {
    display: block;
    max-width: 7.2rem;
    max-height: 2.05rem;
    object-fit: contain;
    opacity: 0.82;
}

.pruebaSocialSchoolLogo--cedros {
    max-width: 6.2rem;
}

.pruebaSocialSchoolName,
.pruebaSocialSchoolLocation,
.pruebaSocialSchoolProgram,
.pruebaSocialSchoolMetric,
.pruebaSocialSchoolMeta {
    display: block;
}

.pruebaSocialSchoolName {
    max-width: 9rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: hsla(0, 0%, 100%, 0.92);

    @media (min-width: 768px) {
        font-size: 0.67rem;
    }
}

.pruebaSocialSchoolLocation,
.pruebaSocialSchoolProgram {
    font-family: var(--font-body);
    font-size: 0.58rem;
    line-height: 0.4;
	margin-top: 0.4rem;
	
}

.pruebaSocialSchoolLocation {
    color: hsla(0, 30%, 96%, 0.4);
}

.pruebaSocialSchoolProgram {
    margin-top: 0.55rem;
    color: var(--contrast-mono);
}

.pruebaSocialSchoolMetric {
    margin-top: auto;
    padding-top: 2.1rem;
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-mono);

    @media (min-width: 768px) {
        font-size: 1.25rem;
    }
}

.pruebaSocialSchoolMeta {
    margin-top: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.6rem;
    line-height: 1.2;
    color: hsla(0, 30%, 96%, 0.28);
}

.pruebaSocialExternalIcon {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    font-size: 0.72rem;
    color: hsla(0, 30%, 96%, 0.22);
}

.pruebaSocialNote {
    max-width: 44rem;
    margin: 0.95rem 0 0;
    padding-left: 0.85rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    line-height: 1.6;
    color: hsla(0, 30%, 96%, 0.32);
    border-left: 1px solid hsla(0, 0%, 100%, 0.16);
}

/*###################################################*/
/*...................................................*/
/* end schools                                       */
/*...................................................*/
/*###################################################*/

/*###################################################*/
/*...................................................*/
/* institutional testimonial                         */
/*...................................................*/
/*###################################################*/

.pruebaSocialInstitutionalGrid {
    display: grid;
    border: 1px solid var(--pruebaSocialBorder);
    border-radius: 8px;
    overflow: hidden;

    @media (min-width: 768px) {
        grid-template-columns: minmax(0, 1.35fr) minmax(13rem, 0.65fr);
    }

    @media (min-width: 991px) {
        grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.75fr);
    }
}

.pruebaSocialQuote {
    margin: 0;
    min-height: 15rem;
    padding: clamp(1.45rem, 3vw, 2.2rem);
    background: var(--pruebaSocialPanel);

    & blockquote {
        max-width: 30rem;
        margin: 1.3rem 0 1.4rem;
        font-family: var(--font-display);
        font-size: clamp(1.05rem, 1.45vw, 1.38rem);
        font-style: italic;
        font-weight: 500;
        line-height: 1.45;
        color: hsla(0, 0%, 100%, 0.88);
    }

    & figcaption {
        display: grid;
        gap: 0.22rem;
        font-family: var(--font-body);
        font-size: 0.72rem;
        color: hsla(0, 30%, 96%, 0.42);
    }

    & strong {
        font-family: var(--font-display);
        font-size: 0.78rem;
        color: hsla(0, 0%, 100%, 0.84);
    }
}

.pruebaSocialQuoteMeta {
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: hsla(0, 30%, 96%, 0.24);
}
.quoteIcon{
	font-size: 2rem;
	color: var(--primary)
}

.pruebaSocialDiegoPhoto {
    position: relative;
    min-height: 18rem;
    margin: 0;
    border-top: 1px solid var(--pruebaSocialBorder);
    background: hsla(0, 0%, 100%, 0.03);
    overflow: hidden;

    @media (min-width: 768px) {
        min-height: 100%;
        border-top: 0;
        border-left: 0;
    }

    @media (min-width: 991px) {
        min-height: 100%;
        border-top: 0;
        border-left: 0;
    }

    & img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: inherit;
        object-fit: cover;
        object-position: center;
    }

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        display: none;
        pointer-events: none;
        background:
            linear-gradient(
                90deg,
                hsla(0, 0%, 6%, 0.92) 0%,
                hsla(0, 0%, 6%, 0.52) 18%,
                hsla(0, 0%, 6%, 0) 46%
            );

        @media (min-width: 768px) {
            display: block;
        }
    }
}

.pruebaSocialMiniQuotes {
    display: grid;
    border-right: 1px solid var(--pruebaSocialBorder);
    border-bottom: 1px solid var(--pruebaSocialBorder);
    border-left: 1px solid var(--pruebaSocialBorder);
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow: hidden;

    @media (min-width: 768px) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.pruebaSocialMiniQuote {
    display: grid;
    gap: 0.7rem;
    min-height: 11.5rem;
    padding: 1.15rem;
    background: hsla(0, 0%, 4%, 0.18);
    border-bottom: 1px solid var(--pruebaSocialBorderSoft);

    &:last-child {
        border-bottom: 0;
    }

    @media (min-width: 768px) {
        border-right: 1px solid var(--pruebaSocialBorderSoft);
        border-bottom: 0;

        &:last-child {
            border-right: 0;
        }
    }

    & span {
		display: inline-flex;
		align-items:center;
		justify-content:center;
        width: fit-content;
		padding: 0.2rem 0.5rem; 
        font-family: var(--font-body);
        font-size: 0.62rem;
        color: hsla(0, 30%, 96%, 0.45);
        background: hsla(0, 0%, 100%, 0.055);
        border-radius: 999px;
    }

    & p {
        margin: 0;
        font-family: var(--font-body);
        font-size: 0.78rem;
        font-style: italic;
        line-height: 1.55;
        color: hsla(0, 0%, 100%, 0.78);
    }

    & strong,
    & small {
        display: block;
        font-family: var(--font-body);
    }

    & strong {
        align-self: end;
        font-size: 0.72rem;
        color: hsla(0, 0%, 100%, 0.84);
    }

    & small {
        margin-top: -0.55rem;
        font-size: 0.62rem;
        line-height: 1.4;
        color: hsla(0, 30%, 96%, 0.32);
    }
}

/*###################################################*/
/*...................................................*/
/* end institutional testimonial                     */
/*...................................................*/
/*###################################################*/

/*###################################################*/
/*...................................................*/
/* alumni startups                                   */
/*...................................................*/
/*###################################################*/

.pruebaSocialStartupGrid {
    display: grid;
    gap: 1px;
    background: var(--pruebaSocialBorder);
    border: 1px solid var(--pruebaSocialBorder);
    border-radius: 8px;
    overflow: hidden;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    @media (min-width: 991px) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.pruebaSocialStartupCard,
.pruebaSocialGenerations {
    min-height: 11rem;
    padding: 1.25rem;
    background: var(--pruebaSocialPanel);
}

.pruebaSocialStartupCard {
    position: relative;
    display: grid;
    gap: 0.75rem;
    color: var(--text);
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;

    &:focus-visible {
        z-index: 1;
        outline: 2px solid var(--primary);
        outline-offset: -2px;
    }

    @media (hover: hover) {
        &:hover {
            background: hsla(0, 0%, 100%, 0.05);
        }
    }

    @media (min-width: 991px) {
        grid-column: span 2;
    }

    & strong {
        font-family: var(--font-display);
        font-size: 1rem;
        line-height: 1.2;
        color: hsla(0, 0%, 100%, 0.92);
    }

    & p {
        margin: 0;
        font-family: var(--font-body);
        font-size: 0.75rem;
        line-height: 1.65;
        color: hsla(0, 30%, 96%, 0.52);
    }
}

.pruebaSocialStartupCard--wide {
    min-height: 14.5rem;

    @media (min-width: 768px) {
        grid-column: 1 / -1;
        min-height: 11rem;
    }

    @media (min-width: 991px) {
        grid-column: span 3;
    }
}

.pruebaSocialStartupTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: hsla(0, 30%, 96%, 0.2);

    & i {
        color: hsla(0, 30%, 96%, 0.2);
    }
}

.pruebaSocialTags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.38rem;

    & span {
        display: inline-flex;
        align-items: center;
		max-height: 2rem;
        min-height: 1.45rem;
        padding: 0 0.58rem;
        font-family: var(--font-body);
        font-size: 0.62rem;
        line-height: 1.1;
        color: var(--primary-mono);
        background: hsla(25, 80%, 18%, 0.55);
        border-radius: 999px;
        white-space: nowrap;
    }
}

.pruebaSocialStatus {
    align-self: end;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-body);
    font-size: 0.62rem;
    color: hsla(0, 30%, 96%, 0.34);

    & i {
        font-size: 0.42rem;
        color: hsla(0, 30%, 96%, 0.34);
    }
}

.pruebaSocialStatus--active {
    color: hsla(0, 30%, 96%, 0.42);

    & .active {
        color: var(--contrast);
    }
}

.pruebaSocialStartupNumber {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 500;
    color: hsla(0, 30%, 96%, 0.24);
}

.pruebaSocialGenerations {
    order: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.55rem;
    background: hsla(25, 77%, 16%, 0.72);

    @media (min-width: 768px) {
        grid-column: 1 / -1;
    }

    @media (min-width: 991px) {
        order: 0;
        grid-column: span 1;
    }

    & > span:not(.pruebaSocialStartupNumber) {
        font-family: var(--font-display);
        font-size: 0.95rem;
        font-weight: 600;
        color: hsla(0, 0%, 100%, 0.86);
    }

    & strong {
        font-family: var(--font-body);
        font-size: 0.72rem;
        font-weight: 500;
        line-height: 1.45;
        color: var(--primary-mono);
    }
}

/*###################################################*/
/*...................................................*/
/* end alumni startups                               */
/*...................................................*/
/*###################################################*/

/*###################################################*/
/*...................................................*/
/* video testimonials                                */
/*...................................................*/
/*###################################################*/

.pruebaSocialVideo {
    display: grid;
    gap: 2rem;
    align-items: start;

    @media (min-width: 768px) {
        grid-template-columns: minmax(0, 0.92fr) minmax(17rem, 0.78fr);
        gap: 2.5rem;
    }
}

.pruebaSocialVideoCopy {
    & h3 {
        max-width: 20rem;
        margin: 0 0 0.9rem;
        font-family: var(--font-display);
        font-size: clamp(1.25rem, 1.7vw, 1.7rem);
        font-weight: 700;
        line-height: 1.16;
        color: hsla(0, 0%, 100%, 0.94);
    }

    & p {
        max-width: 25rem;
        margin: 0;
        font-family: var(--font-body);
        font-size: 0.84rem;
        line-height: 1.65;
        color: var(--pruebaSocialMuted);
    }

    & ul {
        display: grid;
        gap: 0;
        max-width: 26rem;
        margin: 1.4rem 0 0;
        padding: 0;
        list-style: none;
        border-top: 1px solid var(--pruebaSocialBorder);
    }

    & li {
        display: grid;
        gap: 0.35rem;
        padding: 0.8rem 0;
        font-family: var(--font-body);
        font-size: 0.78rem;
        font-style: italic;
        line-height: 1.45;
        color: hsla(0, 30%, 96%, 0.54);
        border-bottom: 1px solid var(--pruebaSocialBorder);

        & span {
            font-size: 0.66rem;
            font-style: normal;
            color: hsla(0, 30%, 96%, 0.34);
        }
    }
}

.pruebaSocialVideoCarousel {
    width: 100%;
    margin: 0 auto;

    @media (min-width: 768px) {
        width: min(100%, 20rem);
        margin-right: 0;
    }
}

.pruebaSocialVideoFrame {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;

    @media (min-width: 768px) {
        min-height: 36rem;
        background:
            radial-gradient(circle at 50% 46%, hsla(25, 96%, 50%, 0.08), transparent 34%),
            linear-gradient(180deg, hsla(45, 18%, 13%, 0.62), hsla(0, 0%, 5%, 0.92));
        border: 1px solid var(--pruebaSocialBorder);
        border-radius: 8px;
    }
}

.pruebaSocialVideoTrack {
    display: flex;
    gap: 0.85rem;
    will-change: transform;
    transition: transform 0.32s ease;

    @media (min-width: 768px) {
        position: absolute;
        inset: 0;
        display: block;
        min-height: 36rem;
        transform: none;
        transition: none;
    }
}

.pruebaSocialVideoSlide {
    position: relative;
    flex: 0 0 min(88%, 21rem);
    display: grid;
    min-height: 34rem;
    overflow: hidden;
    border: 1px solid var(--pruebaSocialBorder);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 46%, hsla(25, 96%, 50%, 0.08), transparent 34%),
        linear-gradient(180deg, hsla(45, 18%, 13%, 0.62), hsla(0, 0%, 5%, 0.92));
    pointer-events: none;

    &.active {
        pointer-events: auto;
    }

    @media (min-width: 768px) {
        position: absolute;
        inset: 0;
        min-height: 100%;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        opacity: 0;
        transition: opacity 0.25s ease;

        &.active {
            opacity: 1;
        }
    }
}

.pruebaSocialVideoEmbed {
    position: absolute;
    inset: 0;
    z-index: 0;

    & iframe {
        width: 100%;
        height: 100%;
        border: 0;
    }
}

.pruebaSocialVideoPoster {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.92) brightness(0.72);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.pruebaSocialPlay {
    place-self: center;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    color: hsla(0, 0%, 100%, 0.94);
    background: var(--primary);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 0.6rem 1.8rem hsla(25, 96%, 50%, 0.24);
    transition: transform 0.2s ease, opacity 0.2s ease;

    &[disabled] {
        cursor: not-allowed;
        opacity: 0.78;
    }

    &:focus-visible {
        outline: 2px solid hsla(0, 0%, 100%, 0.9);
        outline-offset: 4px;
    }

    @media (hover: hover) {
        &:not([disabled]):hover {
            transform: scale(1.04);
        }
    }

    & i {
        margin-left: 0.12rem;
        font-size: 1rem;
    }
}

.pruebaSocialPlay[hidden],
.pruebaSocialVideoSlide.is-playing .pruebaSocialPlay {
    display: none;
}

.pruebaSocialVideoLabel {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.1rem 1.25rem;
    background: linear-gradient(180deg, hsla(0, 0%, 5%, 0.82), hsla(0, 0%, 5%, 0.5), transparent);
    transition: opacity 0.2s ease, visibility 0.2s ease;

    & span,
    & p {
        font-family: var(--font-body);
    }

    & span {
        font-size: 0.62rem;
        font-weight: 700;
        line-height: 1;
        color: var(--primary-mono);
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    & strong {
        font-family: var(--font-display);
        font-size: 1rem;
        line-height: 1.18;
        color: hsla(0, 0%, 100%, 0.9);
    }

    & p {
        max-width: 18rem;
        margin: 0;
        font-size: 0.72rem;
        line-height: 1.45;
        color: hsla(0, 30%, 96%, 0.5);
    }
}

.pruebaSocialVideoSlide.is-playing .pruebaSocialVideoPoster,
.pruebaSocialVideoSlide.is-playing .pruebaSocialVideoLabel {
    visibility: hidden;
    opacity: 0;
}

.pruebaSocialVideoControls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pruebaSocialVideoControl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid hsla(0, 0%, 100%, 0.15);
    border-radius: 50%;
    background: hsla(0, 0%, 100%, 0.04);
    color: hsla(0, 30%, 96%, 0.55);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    touch-action: manipulation;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;

    &:hover:not(:disabled) {
        background: hsla(0, 0%, 100%, 0.09);
        color: hsla(0, 30%, 96%, 0.9);
        border-color: hsla(0, 0%, 100%, 0.28);
    }

    &:disabled {
        opacity: 0.25;
        cursor: not-allowed;
    }

    &:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 3px;
    }
}

.pruebaSocialVideoDots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pruebaSocialVideoDot {
    width: 7px;
    height: 7px;
    padding: 0;
    background: hsla(0, 0%, 100%, 0.22);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width 0.28s ease, background 0.28s ease;

    &.active {
        width: 22px;
        background: var(--primary);
    }

    &:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 3px;
    }
}

/*###################################################*/
/*...................................................*/
/* end video testimonials                            */
/*...................................................*/
/*###################################################*/

/*<!--------------------------------------------------->
<!--  end PruebaSocial                              -->
<!--------------------------------------------------->*/
