/* ==========================================================================
   INGRESO PRAGMA CASE STUDY SPECIFIC STYLES (styles-ingreso-pragma.css)
   ========================================================================== */

/* Project Hero Background - Seamless match with light canvas #ebebeb */
.project-hero {
    background-color: #ebebeb;
}

.project-page-ingreso .project-hero .project-title,
.project-page-ingreso .project-hero .btn-back {
    color: #1a1a2e;
}

.project-page-ingreso .project-hero .project-description {
    color: rgba(26, 26, 46, 0.82);
}

.project-page-ingreso .project-hero .btn-back:hover {
    color: #6429cd;
}

.project-page-ingreso .project-hero .tag-pill {
    color: #1a1a2e;
    border-color: rgba(26, 26, 46, 0.25);
    background: rgba(26, 26, 46, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.project-page-ingreso .project-hero .tag-pill:hover {
    border-color: rgba(26, 26, 46, 0.5);
    background: rgba(26, 26, 46, 0.12);
}

/* El Problema — Intro & flush left alignment in right column */
.project-page-ingreso .problem-items-intro {
    font-size: var(--font-size-p);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(33, 30, 73, 0.85);
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.project-page-ingreso .problem-interactive-item.active .problem-item-title {
    transform: none;
}

/* ==========================================================================
   EL RETO SECTION (Editorial Split Layout)
   ========================================================================== */

.project-page-ingreso .project-reto {
    padding: 5.5rem 0 3.5rem;
}

.project-page-ingreso .reto-heading {
    margin-bottom: 2.5rem;
}

.project-page-ingreso .reto-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4.5rem;
    align-items: stretch;
}

.project-page-ingreso .reto-imagen {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 440px;
    border: 1px solid rgba(33, 30, 73, 0.06);
    box-shadow: 0 18px 45px rgba(33, 30, 73, 0.08);
}

.project-page-ingreso .reto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-page-ingreso .reto-imagen:hover img {
    transform: scale(1.025);
}

.project-page-ingreso .reto-editorial-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    max-width: 620px;
}

.project-page-ingreso .reto-pillar + .reto-pillar {
    border-top: 1px solid rgba(33, 30, 73, 0.12);
    padding-top: 2.5rem;
}

.project-page-ingreso .reto-pillar-header {
    margin-bottom: 1.25rem;
}

.project-page-ingreso .reto-pillar-header h3 {
    font-family: var(--font-main);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--text-dark);
    margin: 0;
}

.project-page-ingreso .reto-pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-page-ingreso .reto-pillar-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(33, 30, 73, 0.8);
    font-weight: 300;
}

.project-page-ingreso .reto-pillar-list li strong {
    font-weight: 600;
    color: var(--text-dark);
}

.project-page-ingreso .reto-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    margin-top: 0.62rem;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .project-page-ingreso .reto-grid {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .project-page-ingreso .reto-imagen {
        min-height: 300px;
        max-height: 420px;
    }

    .project-page-ingreso .reto-editorial-column {
        gap: 2rem;
        max-width: 100%;
    }

    .project-page-ingreso .reto-pillar + .reto-pillar {
        padding-top: 2rem;
    }
}

.candidatos-container {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.candidatos-title {
    font-size: var(--font-size-h3);
    font-weight: 300;
    margin-bottom: 4rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.candidatos-title strong {
    font-weight: 600;
    color: var(--text-dark)
}

.candidatos-grid {
    display: grid;
    grid-template-columns: repeat(3, 5fr);
    column-gap: 9rem;
    row-gap: 10rem;
    align-items: center;
    justify-items: end;
    max-width: 1100px;
}

.candidato-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Wireframes Section */
.project-wireframes {
    padding: 6rem 0;
}

.wireframes-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.wireframes-text h2 {
    margin-bottom: 1rem;
    font-family: var(--font-main);
    font-size: var(--font-size-h2);
    letter-spacing: -0.5px;
}

.wireframes-text p {
    font-size: var(--font-size-p);
    font-weight: 300;
}

/* ==========================================================================
   USER JOURNEY MAP STYLES
   ========================================================================== */

.journey-map-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.journey-grid {
    display: grid;
    grid-template-columns: 120px 1fr 1fr 1fr;
    gap: 12px;
    min-width: 900px;
}

.j-corner-empty {
    background-color: transparent;
}

.section-title {
    font-size: var(--font-size-h2);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.j-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    display: flex;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    padding: 1.2rem;
    font-size: var(--font-size-h5);
    position: relative;
}

.j-header.stage-1 {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}

.j-header.stage-2 {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
    margin-left: -10px;
}

.j-header.stage-3 {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
    margin-left: -10px;
}

.j-row-header {
    background-color: #ddd4fc;
    color: #310c66;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    text-align: center;
}

.j-cell {
    background-color: transparent;
    border: 1px solid #7c689d;
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.j-cell.sintiendo-cell {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem;
}

.j-chip {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
}

.j-chip.green {
    background-color: #c5f1d5;
    color: #15793f;
}

.j-chip.orange {
    background-color: #ff9a00;
    color: #4a2a00;
}

.j-chip.blue {
    background-color: #b7e3fa;
    color: #005a8f;
}

.placeholder-box.tall {
    min-height: 500px;
}

.placeholder-box {
    background: #f0f0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: var(--font-size-h4);
}

/* Responsive adjustments for Journey Map */
@media (max-width: 992px) {
    .journey-map-container {
        overflow-x: auto;
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .journey-map-container::-webkit-scrollbar {
        height: 8px;
    }

    .journey-map-container::-webkit-scrollbar-thumb {
        background-color: rgba(49, 12, 102, 0.3);
        border-radius: 4px;
    }
}

/* ==========================================================================
   WIREFRAMES IMAGES GRID STYLES
   ========================================================================== */

.wireframes-images-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.2rem;
    align-items: stretch;
    width: 100%;
}

.wireframe-left {
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wireframe-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wireframe-right-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
}

.wireframe-top,
.wireframe-bottom {
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.wireframe-top img,
.wireframe-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .wireframes-images-grid {
        grid-template-columns: 1fr;
    }
}