
/* B02: Qué es RoboGenius Fest */

.robofest-about {
    --robofest-about-ink: var(--color-text, #171717);
    --robofest-about-paper: var(--color-background, #f7f8f6);
    --robofest-about-blue: var(--color-primary, #2563eb);
    --robofest-about-orange: #ff7139;
    --robofest-about-green: #c7f36b;
    --robofest-about-border: 3px solid var(--robofest-about-ink);
    --robofest-about-shadow: 8px 8px 0 var(--robofest-about-ink);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(4rem, 8vw, 8rem);
    background: var(--robofest-about-paper);
    color: var(--robofest-about-ink);
}

.robofest-about__container {
    position: relative;
    z-index: 1;
    width: min(100% - 2.5rem, 1280px);
    margin-inline: auto;
}

.robofest-about__header {
    max-width: 1000px;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.robofest-about__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.5rem;
    padding: 0.55rem 0.75rem;
    border: 2px solid var(--robofest-about-ink);
    background: var(--robofest-about-green);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.robofest-about__eyebrow::before {
    width: 0.65rem;
    height: 0.65rem;
    flex: 0 0 auto;
    background: var(--robofest-about-ink);
    content: "";
}

.robofest-about__title {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(2.75rem, 6.5vw, 6rem);
    font-weight: 950;
    line-height: 0.95;
    letter-spacing: -0.075em;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.robofest-about__title-highlight {
    color: var(--robofest-about-blue);
    text-decoration: underline;
    text-decoration-thickness: 0.07em;
    text-underline-offset: 0.1em;
    text-decoration-skip-ink: none;
}

.robofest-about__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-block: 2rem;
    border-top: var(--robofest-about-border);
    border-bottom: var(--robofest-about-border);
}

.robofest-about__paragraph {
    max-width: 58ch;
    margin: 0;
    color: var(--color-text-secondary, #454545);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    font-weight: 500;
    line-height: 1.9;
    text-wrap: pretty;
}

.robofest-about__paragraph + .robofest-about__paragraph {
    padding-left: clamp(0rem, 2vw, 2rem);
    border-left: 2px solid var(--robofest-about-ink);
}

.robofest-about__statement {
    position: relative;
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    overflow: hidden;
    border: var(--robofest-about-border);
    background: var(--robofest-about-blue);
    box-shadow: var(--robofest-about-shadow);
    color: #fff;
}

.robofest-about__statement-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0.45rem 0.7rem;
    border: 2px solid var(--robofest-about-ink);
    background: var(--robofest-about-green);
    color: var(--robofest-about-ink);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.robofest-about__statement-text {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0;
    font-size: clamp(1.5rem, 3.3vw, 3rem);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.045em;
    text-wrap: pretty;
}

.robofest-about__statement-highlight {
    display: inline;
    padding-inline: 0.12em;
    background: var(--robofest-about-green);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    color: var(--robofest-about-ink);
    font-weight: 950;
    text-decoration: underline;
    text-decoration-thickness: 0.06em;
    text-underline-offset: 0.12em;
    text-decoration-skip-ink: none;
}

.robofest-about__statement-symbol {
    position: absolute;
    right: 1rem;
    bottom: -5.5rem;
    color: var(--robofest-about-ink);
    font-family: Georgia, serif;
    font-size: clamp(15rem, 28vw, 25rem);
    font-weight: 900;
    line-height: 1;
    opacity: 0.12;
    pointer-events: none;
}

.robofest-about__decoration {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.robofest-about__shape {
    position: absolute;
    display: block;
    width: clamp(2.5rem, 5vw, 5rem);
    height: auto;
    color: var(--robofest-about-blue);
}

.robofest-about__shape--square {
    top: 8%;
    right: 1rem;
    color: var(--robofest-about-orange);
    transform: rotate(12deg);
}

.robofest-about__shape--cross {
    top: 48%;
    left: .5rem;
    color: var(--robofest-about-blue);
    transform: rotate(12deg);
}

@media (min-width: 1500px) {
    .robofest-about__container {
        width: min(100% - 4rem, 1360px);
    }

    .robofest-about__title {
        font-size: clamp(5rem, 6vw, 6.5rem);
    }
}

@media (max-width: 900px) {
    .robofest-about__container {
        width: min(100% - 2rem, 760px);
    }

    .robofest-about__content {
        gap: 1.5rem;
    }

    .robofest-about__paragraph {
        font-size: 1rem;
        line-height: 1.8;
    }

    .robofest-about__statement {
        min-height: 220px;
    }
}

@media (max-width: 600px) {
    .robofest-about {
        padding-block: 3.5rem;
    }

    .robofest-about__container {
        width: calc(100% - 2rem);
    }

    .robofest-about__header {
        margin-bottom: 2rem;
    }

    .robofest-about__eyebrow {
        margin-bottom: 1.25rem;
        font-size: 0.65rem;
    }

    .robofest-about__title {
        font-size: clamp(2.65rem, 11vw, 4rem);
        line-height: 0.98;
        letter-spacing: -0.065em;
    }

    .robofest-about__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding-block: 1.5rem;
    }

    .robofest-about__paragraph + .robofest-about__paragraph {
        padding-top: 1.5rem;
        padding-left: 0;
        border-top: 2px solid var(--robofest-about-ink);
        border-left: 0;
    }

    .robofest-about__statement {
        min-height: 0;
        gap: 1.25rem;
        margin-top: 2.5rem;
        padding: 1.5rem;
        box-shadow: 5px 5px 0 var(--robofest-about-ink);
    }

    .robofest-about__statement-text {
        font-size: clamp(1.45rem, 6vw, 2rem);
        line-height: 1.4;
    }

    .robofest-about__statement-symbol {
        right: 0;
        bottom: -2rem;
        font-size: 12rem;
    }

    .robofest-about__shape--square {
        top: 5%;
        right: -1.5rem;
        width: 2.5rem;
    }

    .robofest-about__shape--cross {
        top: 28%;
        left: -1.25rem;
        width: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .robofest-about * {
        scroll-behavior: auto;
    }
}
