.stage5-container {
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    background-image: url('../assets/img/bg_office.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    padding-bottom: 60px;
    box-sizing: border-box;
}

.stage5-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle at top right, #e0f2fe 0%, transparent 70%);
    border-bottom-left-radius: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.stage5-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle at bottom left, #e0f2fe 0%, transparent 70%);
    border-top-right-radius: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.stage5-dots {
    position: absolute;
    top: 25%;
    left: 5%;
    width: 120px;
    height: 180px;
    background-image: radial-gradient(#cbd5e1 3px, transparent 3px);
    background-size: 15px 15px;
    z-index: 0;
    opacity: 0.6;
}

.stage5-deco-up {
    position: absolute;
    bottom: 0px;
    left: -100px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.stage5-deco-down {
    position: absolute;
    top: -25px;
    right: -100px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.stage5-header {
    position: relative;
    z-index: 10;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.stage5-logo {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.stage5-title {
    font-size: 28px;
    color: #334155;
    font-weight: 500;
    margin: 0;
    margin-left: 40px;
}

.stage5-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 20px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.stage5-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
}

.stage5-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 123, 166, 0.15), 0 8px 10px -6px rgba(0, 123, 166, 0.1);
}

.stage5-card:hover .stage5-card-title {
    color: #007ba6;
}

.stage5-card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stage5-card-icon svg {
    width: 100%;
    height: 100%;
}

.stage5-card-details {
    display: flex;
    flex-direction: column;
}

.stage5-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.stage5-card-subtitle,
.stage5-card-date,
.stage5-card-time {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.stage5-card-arrow {
    margin-left: auto;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.stage5-card:hover .stage5-card-arrow {
    color: #007ba6;
}

.stage5-footer {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-bottom: 40px;
    background: transparent !important;
}

footer.stage5-footer {
    background-color: transparent !important;
    border: none !important;
    color: inherit;
}

.btn-volver-panel {
    background-color: #1e4b5f;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-volver-panel:hover {
    background-color: #163a4a;
}

/* Consolidated Card Styles */
.stage5-card-consolidated {
    border: 2px solid #007ba6;
    background-color: #f0f9ff;
}

.stage5-card-consolidated .stage5-card-title {
    color: #005f80;
    font-weight: 800;
}

.stage5-card-consolidated:hover {
    background-color: #e0f2fe;
    box-shadow: 0 10px 25px -5px rgba(0, 123, 166, 0.25), 0 8px 10px -6px rgba(0, 123, 166, 0.2);
}
