@charset "utf-8";
/* CSS Document */


/*==================================================

                    ÍNDICE

    01. Configuración general
    02. Header
    03. Hero
    04. El reto
    05. Decisión clave
    06. Resultado
    07. Impacto y aprendizaje
    08. Competencias
    09. Footer
    10. Elementos decorativos
    11. Responsive Tablet
    12. Responsive Móvil

==================================================*/


/*==================================================
    01. CONFIGURACIÓN GENERAL
==================================================*/

/*    03. HERO    */


.project-hero {
    padding-top: 40px;
    padding-bottom: 20px;
}
.hero-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px;
}

.hero-image-box {
    grid-column: span 2;
}

.hero-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.hero-info-box {
    grid-column: span 2;
    min-height: 690px;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    margin-top: 55px;
}

.project-data-item {
    margin-bottom: 10px;
}

.project-data-item strong,
.project-data-item span {
    display: block;
}

.project-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.tool-icon {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

.project-category {
    margin: 0 0 28px 0;
	font-family: "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;

    color: #74608a;
}

.project-title {
    margin: 0 0 12px 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
	
	color: #3e274c;
}

.project-date {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;

    color: #74608a;
}

.project-quote {
    margin: 0 0 32px 0;

    font-family: "Caveat", cursive;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.25;

    color: #9c73bd;
}

.project-description {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.project-data-item strong {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.project-data-item span {
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}



/*    04. EL RETO    */


.project-challenge {
    padding-top: 40px;
    padding-bottom: 20px;
}


.challenge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px;
}

.challenge-intro {
    min-height: 520px;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
	margin-bottom: 30px;
}

.card-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #b790c1;
    color: #3e274c;

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

    font-family: "Fraunces", georgia, serif;
    font-size: 20px;
    font-weight: 700;
}

.card-title h3 {
    margin: 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;

    color: #3e274c;
}


.challenge-card p {
    margin: 0 0 28px 0;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.challenge-intro p {
    margin: 0 0 28px 0;
    padding-left: 80px;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.section-dot {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #74608a;
    flex-shrink: 0;
}

.section-title h2 {
    margin: 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;

    color: #3e274c;
}

.challenge-card {
    min-height: 520px;
    padding: 45px 30px 30px 30px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);

    display: flex;
    flex-direction: column;
}

.challenge-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    margin-top: auto;
}


/*    05. DECISIÓN CLAVE    */


.key-decision {
    padding-top: 40px;
    padding-bottom: 20px;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px;
}

.decision-intro {
    grid-column: span 1;
}

.decision-intro p {
    margin: 0;
    padding-left: 80px;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.decision-card {
    grid-column: span 3;

    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 60px;
    align-items: center;

    padding: 45px 30px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.decision-text h3 {
    margin: 0 0 30px 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;

    color: #3e274c;
}

.decision-text p {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.decision-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}


/*    06. RESULTADO    */


.project-result {
    padding-top: 40px;
    padding-bottom: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px;
}

.result-intro {
    grid-column: span 1;
}

.result-intro p {
    margin: 0;
    padding-left: 80px;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

.result-card {
    grid-column: span 3;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;

    padding: 45px 30px;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.result-card-tablet {
    display: none;
}

.result-carousel {
    width: 100%;
    min-width: 0;
}

.carousel-track {
    position: relative;
    width: 100%;
}

.carousel-image {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 16px;
}

.carousel-image.active {
    display: block;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 36px;
    height: 36px;
    padding: 0;

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

    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);

    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    line-height: 1;
    color: #74608a;

    cursor: pointer;
    z-index: 2;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

.result-carousel p {
    width: 100%;
    margin: 18px 0 0 0;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 30px;

    text-align: center;
}


/*    07. IMPACTO Y APRENDIZAJE    */

.project-reflection {
    padding-top: 60px;
    padding-bottom: 20px;
}

.reflection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px;
}

.reflection-card {
    grid-column: span 2;

    padding: 45px 40px 30px 40px;

    border-radius: 20px;
    background-color: #76587e;
}

.reflection-card:first-child {
    background-color: #b790c1;
}

.reflection-card:first-child h2,
.reflection-card:first-child p {
    color: #3e274c;
}

.reflection-card:last-child {
    background-color: #3e274c;
}

.reflection-card:last-child h2,
.reflection-card:last-child p {
    color: #ffffff;
}


.reflection-card h2 {
    margin: 0 0 30px 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 30px;

    color: #ffffff;
}

.reflection-card p {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;

    color: #ffffff;
}


/* IMÁGENES AMPLIABLES DE PROCESO */

.zoomable-image {
    cursor: zoom-in;
    transform-origin: center;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        filter 220ms ease;
}

.zoomable-image:hover {
    transform: translateY(-4px) scale(1.012);
    box-shadow: 0 14px 30px rgba(38, 28, 43, 0.18);
    filter: brightness(1.02);
}

.zoomable-image:focus-visible {
    outline: 3px solid #a76ac8;
    outline-offset: 4px;
}

.zoomable-image.zoom-hint {
    animation: zoom-image-hint 720ms ease-out 1;
}

.lightbox-button[hidden] {
    display: none;
}

@keyframes zoom-image-hint {
    0%,
    100% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.018);
    }
}

@media (prefers-reduced-motion: reduce) {
    .zoomable-image {
        transition: none;
    }

    .zoomable-image:hover {
        transform: none;
    }

    .zoomable-image.zoom-hint {
        animation: none;
    }
}


.reflection-card p + p {
    margin-top: 1.5em;
}


/*    08. COMPETENCIAS    */

.project-competencies {
    padding-top: 60px;
    padding-bottom: 60px;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px;
    align-items: center;
}

.competencies-title {
    grid-column: span 1;
}

.competencies-title .section-title {
    margin-bottom: 0;
}

.competencies-list {
    grid-column: span 3;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 20px;
    row-gap: 15px;
    min-width: 0;
}

.competency-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    border: 1px solid #94a38f;
    border-radius: 999px;
    background-color: #ffffff;
    color: #3e274c;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.18);

    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;

    white-space: nowrap;
}



/*    10. LÍNEA DECORATIVA: EL RETO → DECISIÓN CLAVE    */

.challenge-intro {
    position: relative;
}

.challenge-intro::after {
    content: "";
    position: absolute;

    left: 31px;
    top: 64px;
    bottom: -60px;

    width: 3px;
    background-color: #74608a;

    z-index: -1;
}

.decision-intro {
    position: relative;
}

.decision-intro::after {
    content: "";
    position: absolute;

    left: 31px;
    top: 64px;
    bottom: -60px;

    width: 3px;
    background-color: #74608a;
}


/*    11. VISTA AMPLIADA DEL CARRUSEL  Estilos generales   */

.carousel-image {
    cursor: zoom-in;
}

.carousel-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;

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

    padding: 40px;

    background-color: rgba(25, 22, 28, 0.94);
}

.carousel-lightbox[hidden] {
    display: none;
}

.lightbox-content {
    width: min(82vw, 900px);
    height: min(82vh, 900px);

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

.lightbox-image {
    display: block;

    width: auto;
    max-width: 100%;

    height: auto;
    max-height: 100%;

    object-fit: contain;
    border-radius: 16px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;

    width: 48px;
    height: 48px;
    padding: 0;

    border: none;
    border-radius: 50%;

    background-color: #ffffff;
    color: #3e274c;

    font-family: "DM Sans", sans-serif;
    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

.lightbox-button {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    width: 52px;
    height: 52px;
    padding: 0;

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

    border: none;
    border-radius: 50%;

    background-color: #ffffff;
    color: #74608a;

    font-family: "DM Sans", sans-serif;
    font-size: 32px;
    line-height: 1;

    cursor: pointer;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}


/* =================================
   12. ESCRITORIO COMPACTO
   1200px a 1599px
================================= */

@media (min-width: 1200px) and (max-width: 1599px) {

/*    13. CONTENEDOR Y RETÍCULAS   */

.container {
    width: calc(100% - 96px);
    max-width: none;
}

.hero-grid,
.challenge-grid,
.decision-grid,
.result-grid,
.reflection-grid,
.competencies-grid {
    column-gap: 24px;
}


/*    HERO   */

.hero-info-box {
    min-height: 0;
}

.project-details-grid {
    margin-top: 30px;
}

.project-category {
    font-size: 12px;
    line-height: normal;
}

.project-title {
    font-size: 45px;
    line-height: 45px;
}

.project-date {
    font-size: 12px;
    line-height: normal;
}

.project-quote {
    font-size: 27px;
    line-height: normal;
}

.project-description,
.project-data-item strong,
.project-data-item span {
    font-size: 16px;
    line-height: 24px;
}


/*    15. INTRODUCCIONES  El reto, Decisión y Resultado   */

.challenge-intro .section-dot,
.decision-intro .section-dot,
.result-intro .section-dot {
    width: 48px;
    height: 48px;
}

.challenge-intro::after,
.decision-intro::after {
    left: 23px;
    top: 48px;
}

.challenge-intro .section-title,
.decision-intro .section-title,
.result-intro .section-title {
    margin-bottom: 10px;
}

.challenge-intro .section-title h2,
.decision-intro .section-title h2,
.result-intro .section-title h2 {
    font-size: 22px;
    line-height: 22px;
}

.challenge-intro p,
.decision-intro p,
.result-intro p {
    padding-left: 62px;

    font-size: 14px;
    line-height: 22px;
}


/*    16. TARJETAS DE EL RETO   */

.challenge-card {
    min-height: 0;
    height: auto;
    padding: 25px 20px;
    align-self: stretch;
}

.challenge-card .card-title {
    margin-bottom: 10px;
}

.challenge-card .card-number {
    width: 28px;
    height: 28px;

    font-size: 16px;
    line-height: 16px;
}

.challenge-card .card-title h3 {
    font-size: 18px;
    line-height: 22px;
}

.challenge-card p {
    font-size: 14px;
    line-height: 20px;
}

.challenge-card .challenge-image {
    margin-top: 20px;
}

.challenge-card:nth-child(3) .challenge-image {
    margin-top: 2px;
}

/*    17. TARJETA DECISIÓN CLAVE   */

.decision-card {
    padding: 25px 20px;
    column-gap: 30px;
    align-items: start;
}

.decision-text h3 {
    margin-bottom: 10px;

    font-size: 18px;
    line-height: 22px;
}

.decision-text p {
    font-size: 14px;
    line-height: 20px;
}


/*    18. TARJETA RESULTADO   */

.result-card {
    padding: 25px 20px;
    column-gap: 24px;
}

/*    19. IMPACTO Y APRENDIZAJE   */

.reflection-card {
    padding: 30px;
}

.reflection-card h2 {
    margin-bottom: 15px;

    font-size: 24px;
    line-height: 28px;
}

.reflection-card p {
    font-size: 16px;
    line-height: 24px;
}


/*    20. COMPETENCIAS   */

.competencies-title .section-dot {
    width: 48px;
    height: 48px;
}

.competencies-title .section-title h2 {
    font-size: 22px;
    line-height: 22px;
}

.competencies-grid {
    align-items: start;
}

.competencies-list {
    min-width: 0;
    padding-top: 4px;

    flex-wrap: wrap;
    justify-content: flex-start;

    column-gap: 20px;
    row-gap: 15px;
}

.competency-tag {
    padding: 8px 16px;

    font-size: 14px;
    line-height: 18px;
}

.project-competencies {
    padding-bottom: 40px;
}


}

/* ================================
   21. RESPONSIVE TABLET
================================ */

@media (max-width: 1199px) {

.container {
    width: calc(100% - 96px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}


 .project-hero {
    margin-top: 0;
    padding-top: 40px;
    padding-bottom: 20px;
}

.challenge-intro,
.decision-intro,
.result-intro {
    padding-right: 25px;
}

	
/*    22. HERO TABLET   */

.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: stretch;
}

/* Imagen: columnas 1 a 4 */

.hero-image-box {
    grid-column: 1 / span 4;
    height: 658px;
    overflow: hidden;
    border-radius: 16px;
}

/* La imagen llena completamente su contenedor */

.hero-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	object-position: left bottom;
}

/* Información: columnas 5 a 12 */

.hero-info-box {
    grid-column: 5 / span 8;
    min-height: 658px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Branding · Identidad visual */

.project-category {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

/* Título principal */

.project-title {
    margin: 40px 0 0;

    font-family: "Fraunces", serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 52px;
}

/* Fecha y ubicación */

.project-date {
    margin: 15px 0 0;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

/* Parte inferior del hero */

.project-details-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 24px;
    margin-top: auto;
}

.project-text-box {
    grid-column: 1 / span 4;
}

.project-data-box {
    grid-column: 5 / span 4;
}
	
/* Frase en Caveat */

.project-quote {
    margin: 0 0 48px 0;

    font-family: "Caveat", cursive;
    font-size: 32px;
    font-weight: 400;
    line-height: normal;
}

/* Descripción general */

.project-description {
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
}

/* Textos de los datos */

.project-data-item span {
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
}

.project-data-item strong {
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 26px;
}

/* Íconos de herramientas */

.project-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-tools img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}


/*    23. EL RETO TABLET   */

.project-challenge {
    padding-top: 40px;
    padding-bottom: 20px;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    row-gap: 40px;
    align-items: start;
}
	
.challenge-intro {
    grid-column: 1 / span 4;
    grid-row: 1 / span 3;
    min-height: 100%;
}
	
.challenge-intro .section-title {
    gap: 15px;
    margin-bottom: 28px;
}

.challenge-intro .section-dot {
    width: 48px;
    height: 48px;
}

.challenge-intro .section-title h2 {
    font-size: 22px;
    line-height: 1.2;
}

.challenge-intro p {
    margin: 0 0 28px 0;
    padding-left: 64px;

    font-size: 16px;
    line-height: 24px;
}
	
.challenge-card {
    grid-column: 5 / span 8;

    min-height: 328px;
    padding: 32px 24px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 24px;
    row-gap: 16px;

    border-radius: 20px;
}
	

.challenge-card .card-title {
    grid-column: 1;
    grid-row: 1;

    gap: 8px;
    margin: 0;
}

.challenge-card .card-number {
    width: 24px;
    height: 24px;

    font-size: 16px;
    flex-shrink: 0;
}

.challenge-card .card-title h3 {
    font-size: 20px;
    line-height: 24px;
	
}

.challenge-card p {
    grid-column: 1;
    grid-row: 2;

    margin: 0;

    font-size: 16px;
    line-height: 24px;
}
	
.challenge-card .challenge-image {
    grid-column: 2;
    grid-row: 1 / span 2;

    width: 100%;
    height: 100%;
    min-height: 264px;
    margin: 0;

    object-fit: cover;
    border-radius: 16px;
}
	
.challenge-intro::after {
    left: 23px;
    top: 48px;
    bottom: -80px;
}
	


/*    24. DECISIÓN TABLET   */

.key-decision {
    padding-top: 20px;
    padding-bottom: 20px;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: start;
}
	
.decision-intro {
    grid-column: 1 / span 4;
    padding-top: 35px;
}
	
.decision-intro .section-title {
    gap: 15px;
    margin-bottom: 28px;
}

.decision-intro .section-dot {
    width: 48px;
    height: 48px;
}

.decision-intro .section-title h2 {
    font-size: 22px;
    line-height: 1.2;
}
	
.decision-intro p {
    margin: 0;
    padding-left: 64px;

    font-size: 16px;
    line-height: 24px;
}
	
.decision-card {
    grid-column: 5 / span 8;

    display: block;

    padding: 32px 24px 24px;
    border-radius: 20px;
}
	
.decision-text h3 {
    margin: 0 0 15px 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 20px;
}
	
.decision-text p {
    margin: 0;

    font-size: 16px;
    line-height: 24px;
}

.decision-image {
    width: 100%;
    height: auto;
    display: block;

    margin-top: 15px;
    border-radius: 16px;
}

.decision-intro::after {
    left: 23px;
    top: 83px;
    bottom: -300px;
}


/*    25. RESULTADO TABLET  */

.project-result {
    padding-top: 20px;
    padding-bottom: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: start;
}
	
.result-intro {
    grid-column: 1 / span 4;
    padding-top: 35px;
}
	
.result-intro .section-title {
    gap: 15px;
    margin-bottom: 28px;
}

.result-intro .section-dot {
    width: 48px;
    height: 48px;
}

.result-intro .section-title h2 {
    margin: 0;

    font-size: 22px;
    line-height: 1.2;
}


.result-intro p {
    margin: 0;
    padding-left: 64px;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.result-card-desktop {
    display: none;
}
	
.result-card-tablet {
    grid-column: 5 / span 8;

    display: block;

    width: 100%;
    min-height: 0;
    padding: 24px;

    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
	
.result-card-tablet .result-carousel {
    width: 100%;
    min-width: 0;
    margin: 0;
}

.result-card-tablet .carousel-track {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    border-radius: 20px;
}
	
.result-card-tablet .carousel-image {
    width: 100%;
    height: 100%;

    display: none;
    object-fit: cover;

    border-radius: 20px;
}

.result-card-tablet .carousel-image.active {
    display: block;
}

.result-card-tablet .carousel-button {
    top: 50%;
    transform: translateY(-50%);
}

.result-card-tablet .carousel-prev {
    left: 12px;
}

.result-card-tablet .carousel-next {
    right: 12px;
}
	

/*    26. IMPACTO Y LO QUE APRENDÍ TABLET  */

.project-reflection {
    padding-top: 20px;
    padding-bottom: 20px;
}

.reflection-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: stretch;
}

.reflection-card {
    grid-column: span 6;

    height: 100%;
    padding: 35px 25px 24px 45px;

    border-radius: 20px;
}

.reflection-card h2 {
    margin: 0 0 15px 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;

    color: #ffffff;
}

.reflection-card p {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;

    color: #ffffff;
}
	

/*    27. COMPETENCIAS TABLET  */

.project-competencies {
    padding-top: 20px;
    padding-bottom: 60px;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    align-items: start;
}
	
.competencies-title {
    grid-column: 1 / span 4;
}

.competencies-title .section-title {
    display: flex;
    align-items: center;

    gap: 15px;
    margin: 0;
}

.competencies-title .section-dot {
    width: 48px;
    height: 48px;
}

.competencies-title .section-title h2 {
    margin: 0;
    padding: 0;

    font-size: 22px;
    line-height: 1.2;
}

.competencies-list {
    grid-column: 5 / span 8;

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

    column-gap: 20px;
    row-gap: 20px;

    margin: 0;
    padding: 9px 0 0 0;
}
	

.competency-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;

    white-space: nowrap;
}
	
}


/* =================================
   28. TABLET COMPACTA
   768px a 899px
================================= */

@media (min-width: 768px) and (max-width: 899px) {

/* Distribución del hero */

.hero-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 25px;
}

.hero-info-box {
    grid-column: 1 / -1;
    grid-row: 1;

    display: block;
    min-height: 0;
}

.project-details-grid {
    margin-top: 25px;
}

.hero-image-box {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 100%;
    height: auto;

    overflow: hidden;
    border-radius: 16px;
}

.hero-image-box img {
    width: 100%;
    height: auto;
    display: block;

    object-fit: initial;
}

/* Hero */

.project-title {
    font-size: 50px;
    line-height: 50px;
}

.project-quote {
    font-size: 32px;
}

.project-description,
.project-data-item strong,
.project-data-item span {
    font-size: 18px;
    line-height: 22px;
}


/* Introducciones */

.challenge-intro p,
.decision-intro p,
.result-intro p {
    font-size: 14px;
    line-height: 22px;
}


/* Títulos de tarjetas */

.challenge-card .card-title h3,
.decision-text h3 {
    font-size: 18px;
    line-height: 22px;
}


/* Párrafos de tarjetas */

.challenge-card p,
.decision-text p {
    font-size: 14px;
    line-height: 22px;
}

/* Tarjetas de El reto */

.challenge-card {
    display: flex;
    flex-direction: column;

    grid-template-columns: none;
    grid-template-rows: none;
    column-gap: 0;
    row-gap: 0;

    min-height: 0;
}

.challenge-card .card-title {
    grid-column: auto;
    grid-row: auto;

    margin-bottom: 15px;
}

.challenge-card p {
    grid-column: auto;
    grid-row: auto;
}

.challenge-card .challenge-image {
    grid-column: auto;
    grid-row: auto;

    width: 100%;
    height: auto;
    min-height: 0;

    margin-top: 15px;

    object-fit: initial;
}

/* Ancho de tarjetas */

.challenge-intro,
.decision-intro,
.result-intro {
    grid-column: 1 / span 5;
}

.challenge-card,
.decision-card,
.result-card-tablet {
    grid-column: 6 / span 7;
}
	
/* Círculos y línea vertical */

.challenge-intro .section-dot,
.decision-intro .section-dot,
.result-intro .section-dot,
.competencies-title .section-dot {
    width: 40px;
    height: 40px;
}

.challenge-intro::after {
    left: 19px;
    top: 40px;
}

.decision-intro::after {
    left: 19px;
    top: 75px;
    bottom: calc(223px - 54.2vw);
}	

.reflection-card h2 {
    font-size: 20px;
    line-height: 20px;
}

.reflection-card p {
    font-size: 14px;
    line-height: 22px;
}	


/* Etiquetas de competencias */

.competency-tag {
    padding: 6px 12px;

    font-size: 14px;
    line-height: 18px;
}

}


/* ================================
   29. RESPONSIVE MÓVIL
================================ */

@media (max-width: 767px) {
	

/*        LIGHTBOX MÓVIL     */

.carousel-lightbox {
    padding: 72px 16px 24px;
}

.lightbox-content {
    width: 100%;
    height: 100%;
}

.lightbox-button {
    width: 44px;
    height: 44px;

    font-size: 28px;
}

.lightbox-prev {
    left: 12px;
}

.lightbox-next {
    right: 12px;
}

.lightbox-close {
    top: 14px;
    right: 14px;

    width: 44px;
    height: 44px;
}


 /*    27. CONFIGURACIÓN GENERAL MÓVIL    */

.container {
    width: calc(100% - 40px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
}

.challenge-intro::after,
.decision-intro::after {
    display: none;
}
	

 /*     29. HERO MÓVIL    */

.project-hero {
        margin-top: 0;
        padding-top: 30px;
        padding-bottom: 0px;
    }

.hero-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 25px;
}

.hero-info-box {
    grid-column: 1 / -1;
    grid-row: 1;

    display: block;
    min-height: 0;
}

.hero-image-box {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 100%;
    height: auto;

    overflow: hidden;
    border-radius: 16px;
}

.hero-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: initial;
}


    /* Categoría */

.project-category {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
}


    /* Título */

.project-title {
    margin: 40px 0 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
}


    /* Fecha y ubicación */

.project-date {
    margin: 20px 0 0;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
}


    /* Contenido inferior */

.project-details-grid {
    display: block;
    margin-top: 25px;
}

.project-text-box {
    display: block;
}


    /* Frase */

.project-quote {
    margin: 0 0 25px;

    font-family: "Caveat", cursive;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;

    text-align: center;
    white-space: normal;
}


    /* Descripción */

.project-description {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}


    /* Datos del proyecto */

.project-data-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 15px;

    margin-top: 25px;
}

.project-data-item {
    margin: 0;
}

.project-data-item strong {
    display: block;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.project-data-item span {
    display: block;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.project-data-item:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
}

.project-data-item:nth-child(2) {
    grid-column: 1 / span 2;
    grid-row: 2;
}

.project-data-item:nth-child(3) {
    grid-column: 1 / span 2;
    grid-row: 3;
}

.project-data-item:nth-child(4) {
    grid-column: 3 / span 2;
    grid-row: 1 / span 3;
}

.project-data-item:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: 4;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    align-items: center;

    padding: 12px;

    background-color: rgba(148, 163, 143, 0.12);
    border-radius: 12px;
}

.project-data-item:nth-child(5) > strong {
    grid-column: 1 / span 2;
    text-align: center;
}

.project-data-item:nth-child(5) .project-tools {
    grid-column: 3 / span 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin-top: 0;
}

	
/*   30. ESTILOS COMPARTIDOS EN MÓVIL  El reto · Decisión clave · Resultado    */

.project-challenge,
.key-decision,
.project-result {
    padding-top: 25px;
    padding-bottom: 0;
}


/* Retículas */

.challenge-grid,
.decision-grid,
.result-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 0;
}


/* Introducciones */

.challenge-intro,
.decision-intro,
.result-intro {
    grid-column: 1 / -1;

    min-height: 0;
    margin: 0 0 20px;
    padding: 0;
}

.challenge-intro .section-title,
.decision-intro .section-title,
.result-intro .section-title {
    margin: 0 0 15px;
}

.challenge-intro .section-dot,
.decision-intro .section-dot,
.result-intro .section-dot {
    display: none;
}

.challenge-intro .section-title h2,
.decision-intro .section-title h2,
.result-intro .section-title h2 {
    margin: 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}

.challenge-intro p,
.decision-intro p,
.result-intro p {
    margin: 0;
    padding: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.challenge-intro p + p {
    margin-top: 15px;
}


/* Tarjetas de El reto */

.challenge-card:not(:last-child) {
    margin-bottom: 25px;
}

.challenge-card .card-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0 0 15px;
}

.challenge-card .card-number {
    width: 25px;
    height: 25px;
    flex-shrink: 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 16px;
}

.challenge-card .card-title h3 {
    margin: 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}

.challenge-card p {
    grid-column: auto;
    grid-row: auto;

    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.challenge-card {
    grid-column: 1 / -1;

    min-height: 0;
    padding: 30px;

    display: flex;
    flex-direction: column;

    grid-template-columns: none;
    grid-template-rows: none;
    column-gap: 0;
    row-gap: 0;

    border-radius: 20px;
}

.challenge-card .challenge-image {
    grid-column: auto;
    grid-row: auto;

    width: 100%;
    height: auto;
    min-height: 0;
    display: block;

    margin-top: 15px;

    object-fit: initial;
    border-radius: 16px;
}


/* Tarjeta de Decisión clave */

.decision-card {
    grid-column: 1 / -1;

    display: block;
    min-height: 0;
    padding: 30px;

    border-radius: 20px;
}

.decision-text h3 {
    margin: 0 0 15px;

    font-family: "Fraunces", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
}

.decision-text p {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.decision-image {
    width: 100%;
    height: auto;
    display: block;

    margin-top: 15px;

    border-radius: 16px;
}


/* Tarjeta de Resultado */

.result-card {
    grid-column: 1 / -1;

    min-height: 0;
    padding: 30px;

    border-radius: 20px;
}


/*   31. IMPACTO Y LO QUE APRENDÍ MÓVIL    */

.project-reflection {
    padding-top: 35px;
    padding-bottom: 0;
}

.reflection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 25px;
}

.reflection-card {
    grid-column: 1 / -1;

    width: 100%;
    height: auto;

    padding: 25px 20px 20px;

    border-radius: 20px;
}

.reflection-card h2 {
    margin: 0 0 15px;

    font-family: "Fraunces", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;

    color: #ffffff;
}

.reflection-card p {
    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;

    color: #ffffff;
}

/*    32. COMPETENCIAS MÓVIL     */

.project-competencies {
    padding-top: 25px;
    padding-bottom: 40px;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
}

.competencies-title {
    grid-column: 1 / -1;
}

.competencies-title .section-title {
    margin: 0;
}

.competencies-title .section-dot {
    display: none;
}

.competencies-title .section-title h2 {
    margin: 0;

    font-family: "Fraunces", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    line-height: normal;
}


/* Etiquetas */

.competencies-list {
    grid-column: 1 / -1;

    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;

    column-gap: 20px;
    row-gap: 15px;

    margin: 15px 0 0;
    padding: 0;
}

.competency-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 10px;

    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 12px;

    white-space: nowrap;
}


}












